HighDots Forums  

swap image question

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss swap image question in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
A.H.O.
 
Posts: n/a

Default swap image question - 08-05-2004 , 12:31 AM






Hey again everyone....

Im seeing that DW has a swap image tool that inputs two images that swap and
link. I would like to use a swap image function, but I want to go between
three (3) images not two. Ive worked out how to use the swap image tool in the
behaviors menu attaching the behavior to the tag but how can I make the third
image a link? In other words Ive got it set so that the first image is always
up and showing...onmouseover the new image appears (its actually just a
lightened version of the same button image to make it look like the button
lights up on mouseover), and then onclick the third image appears...my question
is....is there a way to make the page link to a new page onclick or on the
appearance of the third image? (the third image is the same as the first two,
just darker to make it look like the button is pushed down)

www.americanheritageoutdoors.com/100104stats.htm

If there is an easier way to do this, Im all ears...Im SURE someone will
say....CSS, so lets hear it. =-)

Thanks a lot


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: swap image question - 08-05-2004 , 08:00 AM






Apply two swap images -

1. with onMouseOver as the event
2. with onClick as the event

Simple? Yes. Coincidence? I don't think so! 8)

--
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
==================

"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hey again everyone....

Im seeing that DW has a swap image tool that inputs two images that swap
and
link. I would like to use a swap image function, but I want to go between
three (3) images not two. Ive worked out how to use the swap image tool
in the
behaviors menu attaching the behavior to the tag but how can I make the
third
image a link? In other words Ive got it set so that the first image is
always
up and showing...onmouseover the new image appears (its actually just a
lightened version of the same button image to make it look like the button
lights up on mouseover), and then onclick the third image appears...my
question
is....is there a way to make the page link to a new page onclick or on the
appearance of the third image? (the third image is the same as the first
two,
just darker to make it look like the button is pushed down)

www.americanheritageoutdoors.com/100104stats.htm

If there is an easier way to do this, Im all ears...Im SURE someone will
say....CSS, so lets hear it. =-)

Thanks a lot




Reply With Quote
  #3  
Old   
A.H.O.
 
Posts: n/a

Default Re: swap image question - 08-05-2004 , 09:47 AM



Sorry, I guess I didnt expalin that very well....
Ive got the image swapping issue handled. They are swapping fine. The
problem I would like to solve is how to link the third image (the onclick
behavior image) to a new page. I tried a hot spot above the original image but
that wont show the 3rd onclick image when clicked.

Any suggestions?


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: swap image question - 08-05-2004 , 09:55 AM



If you want the link to happen onClick, then your image swap is unneeded.
The page will change. Why do you need an image swap on the page you just
left?

--
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
==================

"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Sorry, I guess I didnt expalin that very well....
Ive got the image swapping issue handled. They are swapping fine. The
problem I would like to solve is how to link the third image (the onclick
behavior image) to a new page. I tried a hot spot above the original
image but
that wont show the 3rd onclick image when clicked.

Any suggestions?




Reply With Quote
  #5  
Old   
A.H.O.
 
Posts: n/a

Default Re: swap image question - 08-05-2004 , 10:13 AM



I want there to be an image swap because in that very short delay when the new
window is about to open I would like my button to show that it has been
clicked.

IOW I want the main button image to sit there and look pretty. On mouseover
the iamge swaps to a 2nd button image that makes the button appear ot have lit
up. Onclick a third image appears making the button appear to have been
pressed down and at the same time start loading a new page. There is a very
brief gap between on click and page load.

You can see this work at www.americanheritageoutdoors.com on a navbar. But I
cant use a navbar in this situation. The particular buttons Im talking about
in this thread are at www.americanheritageoutdoors.com/100104stats.htm

I dont really NEED it and no one would probabaly know the difference. But I
would like to do it, and whats more at this point I would like to know HOW to
do it so that I can do it in the future if there ever is a need.

Thanks everyone


Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: swap image question - 08-05-2004 , 10:58 AM



Then the method I describe will work.

The link has two swap image behaviors applied to it. One is triggered with
onMouseOver, and the other is triggered with onClick.

--
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
==================

"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I want there to be an image swap because in that very short delay when the
new
window is about to open I would like my button to show that it has been
clicked.

IOW I want the main button image to sit there and look pretty. On
mouseover
the iamge swaps to a 2nd button image that makes the button appear ot have
lit
up. Onclick a third image appears making the button appear to have been
pressed down and at the same time start loading a new page. There is a
very
brief gap between on click and page load.

You can see this work at www.americanheritageoutdoors.com on a navbar.
But I
cant use a navbar in this situation. The particular buttons Im talking
about
in this thread are at www.americanheritageoutdoors.com/100104stats.htm

I dont really NEED it and no one would probabaly know the difference.
But I
would like to do it, and whats more at this point I would like to know HOW
to
do it so that I can do it in the future if there ever is a need.

Thanks everyone




Reply With Quote
  #7  
Old   
A.H.O.
 
Posts: n/a

Default Re: swap image question - 08-05-2004 , 08:37 PM



Not sure why I didnt think of that. It makes sense now. I was thinking for some reason that I had to link to the swapped image instead of the top image. duh

Thanks

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.