Want to run a lightbox image viewer when users get to a certain page.
I have it setup currently so an Alert pops up when the page is activated so all I need to do is insert the correct details to do what I want.
Standard Lightbox requires an Href link with a rel attrbute set to 'lightbox'.
How can I make this fire up in my function?
D.
I have it setup currently so an Alert pops up when the page is activated so all I need to do is insert the correct details to do what I want.
Standard Lightbox requires an Href link with a rel attrbute set to 'lightbox'.
How can I make this fire up in my function?
Code:
<body onload="runLightbox();"> ... <script type="text/javascript"> //<![CDATA[ function runLightbox(){ alert('here'); // replace above with code to open lightbox Image } //]]> </script>