| Author |
Reverting OnClick image after another click.
|
|
| ClaytonWaverly 2004-08-13, 4:16 am |
| Good afternoon all,
Wondering if anyone could shed some light on a query of mine. Here's the
scenario:
I have a frames page with image links that open pages in the main frame. What
I'm trying to do is make the images change when they're clicked - then revert
to normal when another image is clicked. I've added "Swap Image" behaviours for
the OnClick part, but realise there's no equivalent for reverting the image
once another link has been clicked.
Is this something that can be resolved in Dreamweaver, or will it require a
foray in to the dreaded JavaScript? Any thoughts on this would be greatly
appreciated.
Clayton.
| |
| judas2 2004-08-13, 12:15 pm |
| You need a Navigation Bar not a Swap Image. Look for it in the behaviours? and choose the image you need to insert them the way you need (if you don't want a rollover effect just don't change image)
| |
| judas2 2004-08-13, 12:15 pm |
| (if you don't want a rollover effect just don't change image) I meant to say to use the same and change only the images you need to change
| |
| vetalavalo 2004-08-13, 12:15 pm |
| that is exactly the same problem I am having....PLEASE SOMEONE HELP!
-->vetala
| |
| vetalavalo 2004-08-13, 12:15 pm |
| so funny that you say that....
i actually pulled my head out of my XXX about 5 mins ago and did just that....
thanks for the super quick reply though!
-->vetala
| |
| judas2 2004-08-13, 12:16 pm |
| Many members of this forum are very expert (but not me) and they can be very helpful in a very quick time.
Anyway glad to help you?
| |
| Murray *TMM* 2004-08-13, 12:16 pm |
| It's too simple.
On any given image use the Swap image behavior WITHOUT the restore. So - if
you have three images,
image1 - onClick swap image1 to image1b, image2 to image2, image3 to image3
image2 - onClick swap image2 to image2b, image1 to image1, image3 to image3
image3 - onClick swap image3 to image3b, image1 to image1, image2 to image2
Geddit?
You don't need to use any navbar. And you probably don't need to use
frames, either -
http://apptools.com/rants/framesevil.php
--
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
==================
"vetalavalo" <webforumsuser@macromedia.com> wrote in message
news:cfi44b$i6c$1@forums.macromedia.com...
> that is exactly the same problem I am having....PLEASE SOMEONE HELP!
>
> -->vetala
| |
| ClaytonWaverly 2004-08-13, 12:16 pm |
| Thanks for that, all. It's been driving me mad for... well, at least a few hours now.
Clayton.
| |
| Murray *TMM* 2004-08-13, 12:16 pm |
| You're welcome. Please read that link on frames. You may be in for a
shock....
--
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
==================
"ClaytonWaverly" <webforumsuser@macromedia.com> wrote in message
news:cfibqk$psr$1@forums.macromedia.com...
> Thanks for that, all. It's been driving me mad for... well, at least a few
hours now.
>
> Clayton.
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |