DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   Site Layout and Usability (http://www.daniweb.com/forums/forum130.html)
-   -   Dreamweaver active image links (http://www.daniweb.com/forums/thread93035.html)

yoshi594 Oct 15th, 2007 3:41 am
Dreamweaver active image links
 
Hey guys,
so yeah, having some problems with dreamweaver, if you can help that's great

anyhoo the problem:

basically i'm makign a website, and i'm using frames to differentiate the button links and the stuff i want the links to go to.

Basically as it stands , i've got the buttons to do some flashy rollover (the buttons change when u place the mouse over them)

The thing i want is to have the buttons change when the user is at the link of the page (active Link).

in other words, the button will change when the user clicks on that link.
The button should reset to it's original image when the user clicks on a different link.

I've googled like mad and all i'm getting is stuff to do with TEXT links (they are easy as hell to configure to do what i want) but nothing to do with image links.

I've even asked my lecturer and he says to make all teh buttons in flash, but that's just too tedious lol.

Is there a way to do this in dreamweaver?!

Thanks for any help

vishesh Oct 15th, 2007 8:59 am
Re: Dreamweaver active image links
 
You need to use JavaScript. I think its your homework(since a teacher is involved) so I won't give direct code. Try yourself. Research on onmouseover and onmouseout. You could search Rollovers using javascript.

yoshi594 Oct 15th, 2007 11:44 am
Re: Dreamweaver active image links
 
Quote:

Originally Posted by vishesh (Post 451416)
You need to use JavaScript. I think its your homework(since a teacher is involved) so I won't give direct code. Try yourself. Research on onmouseover and onmouseout. You could search Rollovers using javascript.



err i already have done the roll over part..

techna Dec 11th, 2007 7:53 am
Re: Dreamweaver active image links
 
In javascript, write a function that changes the image of the button (capture it with id) and call the function in the onmouseover and onmouseout of text.

MidiMagic Dec 17th, 2007 7:46 pm
Re: Dreamweaver active image links
 
Yeeesh!

I hate rollover changes. I wish they had never added that capability. They make me hit my back button.

agnessurijah Dec 25th, 2007 12:09 pm
Re: Dreamweaver active image links
 
Use javascript.
The easiest way for us who do not use (or have time) to write the script, there are many button makers program. Usually there are 4 stages of button: roll out, roll over, down, roll over down.
I use fireworks. If you need the script & sample, I can send you one sample to your email address.

HI2Japan Dec 26th, 2007 5:26 pm
Re: Dreamweaver active image links
 
For starters, I wouldn't use frames or flashy buttons, but that is just me.

Why not use the flash button maker within Dreamweaver? That gives you the options for the up over and down states. Or is that what you have already done?


All times are GMT -4. The time now is 3:38 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC