|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
mouseover image display
I have seen this many times but not knowing what its called and now in dire need can't find the script anywhere :
there is a target area on the page with a large photo and as one rolls over the thumbnails the large photo changes . can anyone help please? |
|
#2
|
||||
|
||||
|
Give the center photo a name, something like the following:
Code:
<img src="thesource.jpg" name="thename">
In your mouseover code, simply provide the name and new source of the center image rather than the name of the moused-over image. If it's source to actually do the mouseover you need, just look at the source for any number of sites that have rollovers. Dreamweaver puts together pretty decent mouseover code, if you've got that software. |
|
#3
|
|||
|
|||
|
Thanks - I was looking in Dreamweaver - but I was only seeing rollover swaps - I'm ashamed to say I use version 3
|
|
#4
|
||||
|
||||
|
v3 DW rollover code will work. In the calling function, just specifiy the name of the image to be changed (the large img), rather than the image that you are rolling over.
|
|
#5
|
|||
|
|||
|
After trying a zillion times to install this rollover with DW - I'm thinking it may not work in pages created from a template. I got some whacky error message, even after reinstalling DW twice -
|
|
#6
|
||||
|
||||
|
Why don't you try posting both the code DW has output and the wacky error message. Is it a DW error message or a javascript message in your browser?
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > mouseover image display |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|