如果这样写的话就只有最后一个CSS被加载,别的JS文件都不写,请问要怎么写才行呢,谢谢
function show()
{
// $str = '';
if ($this->isEnabled())
{
$rg = $this->blogInfo->getBlogRequestGenerator();
$str = '<script type="text/javascript" src="' . $rg->blogLink() . '/plugins/reflightbox/class/js/prototype.js"></script>';
$str = '<script type="text/javascript" src="' . $rg->blogLink() . '/plugins/reflightbox/class/js/lightbox.js"></script>';
$str = '<script type="text/javascript" src="' . $rg->blogLink() . '/plugins/reflightbox/class/js/scriptaculous.js?load=effects"></script>';
$str = '<link type="text/css" rel="stylesheet" title="Style" href="' . $rg->blogLink() . '/plugins/reflightbox/class/css/lightbox.css" />';
}
return $str;
}