Volfirefighter
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by Volfirefighter
-
-
I am using lightbox for a photogallery and I want to add comments to it I have it showing the comments but it only shows comments from the First Pic in the albums..
in the javascript page i added this script to pull the comment script:
this.commentDisplay.update(document.getElementById('commentdisplay').innerHTML).show();
also on the gallery.php page I added a span tag with all the stuff for the comments..
can someone help me please?
Thank you
Volfirefighter
-
Deamon1767 just to let you know if you would look at UrbanDweller second post on here you would have noticed he added alittle code in his quotes.. so if you would copy and paste this it should work like you want it to..
<script type="text/javascript"> window.onload = function(){ var text = document.getElementById("getH1").innerHTML; alert(text); } </script> <h4 id="getH1"> <?php echo JHTML::link($product->link, $product->product_name); ?></h4>
Add comments to Photogallery
in Javascript Help
Posted
here is the lightbox.js file
and on the photogallery.php i have a <span> something like this: