Lightbox2 does not work -


i running lightbox v2.03.3 in standard html document. actually, file has .php extension, because using php includes. anyway, of images on page setup use lightbox display them.

i verified lightbox files uploaded, called correct folder, , working. every image being called there.

i have following code in head section of web page.

<link rel="stylesheet" href="/scripts/lightbox/css/lightbox.css" type="text/css" media="screen" /> <script type="text/javascript" src="/scripts/lightbox/js/prototype.js"></script> <script type="text/javascript" src="/scripts/lightbox/js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="/scripts/lightbox/js/lightbox.js"></script>  <script>     lightbox.option({       'resizeduration': 200,       'wraparound': true     }) </script> 

and code attached each of images on page.

<a href="images/silverspur2015/earlholliman.jpg" rel="lightbox[closeup]" title="earl holliman"> 

the problem when click on image, shows picture if did not have lightbox commands in code.

you can see actual page @ http://www.reelcowboys.org/index_new.php

ideas?

you need add data-lightbox attribute element.

<a href="images/silverspur2015/earlholliman.jpg" data-lightbox="insert-set-name-here" rel="lightbox[closeup]" title="earl holliman">  

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -