opening individual java new window ..
Hihi
I have a page that have a few thumbnails on it , what i wanted to do is to make it when some1 clicks on the small thumbnails , a new java window pops-up and opening the larger picture . so far on my search i can only come up with this ..
------------------------------------------------------------
<script type="text/javascript">
function openwindow()
{
window.open("http://www.mysite.com","my_new_window","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400")
}
</script>
------------------------------------------------------------
How do i go about assigning each individual pics?
Many thx
Busy posted this at 20:19 — 21st October 2003.
He has: 6,151 posts
Joined: May 2001
where the mysite.com is, replace that with a html page or the image name, just remember if you use just the image to make the window slightly bigger than the image as some browsers add the default margins to it, if you use a html file you can set margins to zero and even have a 'close window' option
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.