954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

FX in JS

Hello everyone,
I've visited a lot of websites, like Daniweb, and found effects on the sites pages that are really of a considerable design. I know it's becoming common, but I really get impressed at seeing such things. When you put the mouse cursor on some button it becomes highlighted immediately without the need to replace the image of the button with another one.
Also, there are the menus that appear on the top of each page.
So, I just wanna know... Is it done using Javascript or what?
Thank you.

Hani1991
Junior Poster
197 posts since May 2011
Reputation Points: 22
Solved Threads: 6
 

Some mouseover effects are achieved with javascript but many with Cascading Style Sheet (CSS).

Menus can be manually coded on each page but a better way is to get a server-side scripting language such as php to dynamically insert them as each page is served. Javascript can insert menus after a page has been served but this approach is not common.

Airshow

Airshow
WiFi Lounge Lizard
Moderator
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
 

Thank you so much.

Hani1991
Junior Poster
197 posts since May 2011
Reputation Points: 22
Solved Threads: 6
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: