Fireworks Frame Image Swapping
Hey yall. I'm a newb. Period.
Fireworks Rollover button question:
Instead of having the image swap in onMouseOver, I put it into onClick, so that the frame image is changed when someone clicks instead of just rolling over the button.
here's the code in a button (with the image names changed for ease of reading):
onClick="MM_nbGroup('down','navbar1','x2','x2-3.gif',1);MM_swapImage('x20','','x20-3',1);"><img name="x2" src="x2.gif" width="150" height="56" border="0" alt="">
This above code works properly, swapping the image WITHOUT reloading the page, which is what I want! (You can check it out, functioning online at www.maccru.com All the buttons have the same code essentially, as I showed above)
Any help? Suggestions? Professional Advice?
I can try to break down your code for you, which might help lend some understanding.
I think what you have here:
Is referencing your "mm_menu.js" file, which is loaded here:
Then I believe you reference a function within that .js file by initializing the function here:
Last but not least, this activates your menu:
If you'd open your .js file, you'll probably see a function in there called MM_nbGroup('out'); which is doing the mouse out switch.
Anyway, just a stab in the dark, I don't have or use Fireworks, but that's what seems to be happening.
Nice site, btw. Very tactile.
This is probably counting how many people are coming to your site, at least it seems like that by the way it's implemented at the bottom of your page:
what is this?
Last edited by Chipley; 09-22-2005 at 02:46 PM.
P.S. Yes, the statcounter is there for that very purpose.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)