swap behavior

They have: 406 posts

Joined: Feb 2000

Hey,

Im trying to do a swap image deal..what i want to do is this...i want to roll over a link and have it change colors, and have a picture or image appear somewhere else on the page. I know you can do this with Dreamweaver which i have but i am having problems. I can only get one thing to swap and not both. Any ideas?

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

...onMouseover="func1();func2()">

...onMouseover="allFuncs()">

function allFuncs()
{
func1();
func2();
}

Vinny

They have: 406 posts

Joined: Feb 2000

Hey,

I am kinda confused on what you mean by that. Where do i put that in my html?
For instance, if i have the following files, what would it be?

aboutus_up.gif
aboutus_down.gif
aboutusphoto.gif

When ya mouseover aboutus_up, aboutus_down will show up plus aboutusphoto will appear somewhere else...

Does this make sense? Whats the code for that? Thanks

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi adam,

I thought you were asking how to write 2 functions at the same time.
Where is your code? (If you need a mouseover script -- javascript city has one)

Vinny

Where the world once stood
the blades of grass cut me still

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.