Hi all, I currently have a thumbnail pic on a page as you can see from the script below. How do i get the script to load a javascript pop up window with the larger version of the thumbnail inside of it?
<? if($row['picture_thumb']){ echo "<a href=\"????"><IMG alt=\"{$row['band_name']}\" src=\"bandpics/{$row['picture_thumb']}\" border=\"0\"></a><br><br>\n";
} ?>
Mel
Hi,
There is a basic command:
<SCRIPT LANGUAGE="javascript"> <!-- window.open ("img.jpg") --> </SCRIPT>
But you can of course make it as fancy as you want. check: http://www.htmlgoodies.com/beyond/openwin.html
Jelle
Thanks, but i know how to open windows in JS. The problem is that i dont know how to turn the scrollbar on AFTER i have opend a window.
regards
ali
<A HREF='javascript://void(0)' onClick='window.open("img.jpg","windowname","width=wsize,height=hsize,resizable=yes/no,scrollbars=yes/no")'>Click here to see full picture</A>