private function loadAllJsScript() {
$this->populateJsarrayScripts();
foreach ($this->scripts as $filename)
Yii::app()->getClientScript()->registerScriptFile($this->baseUrl . $filename);
}
lightbox css is in the assets folder. When I use the script all work fine. But javascript files override the dom like you can see in the attachment. Can someone help to do something like that:
I like your extension a lot but want to propose some improvements to make a code generated by your extension XHTML compliant. I don’t know whether everything I propose is possible with lightbox2 but I will be very thankful if you will try to implement it.
My issue is based on response of w3.org’s validator (unfortunatelly, I can’t post a link due to it’s my first post). A single photo’s link element generated by your extension looks like this:
"character "[" is not allowed in the value of attribute "rel"" (in "a" tag) - probably, it would be possible to introduce some separator character (e.g "-") between "lightbox" and a name of a gallery;
“there is no attribute “border”” (in “img” tag) - one can customize image’s look using CSS;
“required attribute “alt” not specified” (in “img” tag) - picture’s description could be used here.
If you will try to fix this, of course, XHTML compliant code can be an optional parameter of the widget.
Thank you for attention.
Have a nice day!
P.S. I’ve also created an issue at your github page.