Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Menu Effect



5:32 pm on Sep 12, 2009 (gmt 0)

5+ Year Member

Hey Guys,

I am working on a navigation and I got the idea from a site I saw. It was a simple menu but when mouseover was done the one button would have a fade effect and the background color would change. He did not use images, just simply two background colors.

I have been searching to get an idea on the source code but everything about images. If someone can help me out on how I can create this effect with bgcolor and possibly have a source code I can see I would appreciate it.



12:39 am on Sep 15, 2009 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

You could use one of the popular JavaScript libraries like jQuery, Yahoo UI Library, or Scriptaculous+Prototype.

If you want to try and recreate that functionality on your own, the best place to look would be to see how one of those libraries did it (or how the site that you were looking at did it). It probably involves using the setTimeout method to change the background color every x number of milliseconds.


Featured Threads

Hot Threads This Week

Hot Threads This Month