This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > November 2004 > swap image AND swap link (of the said image when clicked on)
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
swap image AND swap link (of the said image when clicked on)
|
|
| (_seb_) 2004-11-30, 12:17 pm |
| Hi all
situation:
a list of text links, and a thumbnail next to it.
When you mouse Over each link, the thumbnail swaps to another image.
There is no onRollOut function, so the thumbnail stays where it is as
long as you don't mouse over another link.
Now, what if I want the thumbnail to link to the appropriate page if
clicked (i.e. to link to a different page according to what link was
moused over last?)
How would I do that?
Thanks for your help.
| |
| Murray *TMM* 2004-11-30, 12:17 pm |
| You cannot 'swap a link' onto an image without using some custom javascript
trickery. The easiest way to do that would be to not do an image swap at
all. Instead, you would put each swapped image into its own 'layer', and
link each of these thumbnails to the desired location. Then superimpose all
of the layers, and hide them. Now make your mouseover show the desired
layer and hide the rest of them.
Using this method, the link will depend on the layer that is revealed.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"(_seb_)" <sebnewyork@earhlinkREMOVE-THIS.net> wrote in message
news:coi3in$arb$1@forums.macromedia.com...
> Hi all
>
> situation:
>
> a list of text links, and a thumbnail next to it.
> When you mouse Over each link, the thumbnail swaps to another image. There
> is no onRollOut function, so the thumbnail stays where it is as long as
> you don't mouse over another link.
>
> Now, what if I want the thumbnail to link to the appropriate page if
> clicked (i.e. to link to a different page according to what link was
> moused over last?)
>
> How would I do that?
>
> Thanks for your help.
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|