Hello, I am using the following code on my homepage: <a href="files/kennedy_vergroeszerung.jpg" rel="lightbox-page" title=""><img alt="" src="files/100/kennedy_BildergalerieThumbnailHochformat.jpg" style="width: 70px; height: 52px;" /> </a> to show a thumbnail and after clicking the thumb the whole picture. Unfortunately lightbox does not work, the full picture will be displayed in same screen - means homepage is gone and full picture is displayed.
When checking the page with Firebug, I can see that <script src="core/litebox-1.0.js" type="text/javascript"> is included, so from my understanding lightbox should work.
AddOnLoad(initLightbox) is also present? The script tags, you quoted above are closed with </script>? If AddOnLoad(initLightbox) is there, do any other calls exist under it?
Hello, have checked again my source code for this - on other pages lightbox was working fine.
I have added a counter on this page - based on a javascript: <script type="text/javascript"> dateFuture1 = new Date(2011,11,23,18,00,00); dateFuture2 = new Date(2016,9,15,18,00,00); function GetCount(ddate,iid){ dateNow = new Date(); //grab current date ..... }; </script>
When deleting this script, lightbox is working fine.
So, it is not allowed to use something like above ?
I have "outsourced" the whole function to countdown.js, added this file to container.tpl and put only the result in the page source. Now it is working.