pop up windows
Does anyone know a javascript that would allow me to have thumbnails on a page but on mouseover opens a new window that has the bigger image in it & closes on mouseout ??
Thanks in advance
Mika
Does anyone know a javascript that would allow me to have thumbnails on a page but on mouseover opens a new window that has the bigger image in it & closes on mouseout ??
Thanks in advance
Mika
The Webmistress posted this at 16:13 — 18th December 2001.
She has: 5,586 posts
Joined: Feb 2001
This is one I use (I actually use it as an extension on Dreamweaver)
To go in head part
<script language="JavaScript">
'+alt+'');
newWindow.document.write('');
newWindow.document.write('');
newWindow.document.close();
newWindow.focus();
}
//-->
</script>
This is the actual part for the thumbnail image
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
yabber posted this at 17:48 — 18th December 2001.
They have: 93 posts
Joined: Dec 2001
Thanks,
Being new to all this WHat are the benefits of using it as a Dreamweaver extension & how do you do that ??
Thanks
Mika
Busy posted this at 19:51 — 18th December 2001.
He has: 6,151 posts
Joined: May 2001
Just be careful using onmouseover and mouseout for displaying images in pop ups, especially if they are bigish in file size, people hate to wait but if they do have to wait perfer to do something while they wait, so a pop up (which has to be closed manualy) could benifit you/your readers better
yabber posted this at 19:54 — 18th December 2001.
They have: 93 posts
Joined: Dec 2001
Is it possible to put in any kind of preloader for the images that will appear in pop-ups ??
Mika
The Webmistress posted this at 08:28 — 19th December 2001.
She has: 5,586 posts
Joined: Feb 2001
If you use Dreamweaver to build your sites then extensions are easier ways of doing things like this as you just click a button and enter information rather than having to input all the code manually.
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
detox posted this at 13:28 — 19th December 2001.
They have: 571 posts
Joined: Feb 2001
just concerning wanting to close whilst on mouseover. Have you ever looked at where your cursor goes when you are waiting for a window to load?
Mine goes all over the place....
thereby negating the effect you want.
by just returning to the active page (the one with the thumbnail) you would cut out the window.
best to give them the chance to close the window themselves.
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.