Click here to Skip to main content
16,017,745 members
Articles / Web Development / HTML
Article

Enhanced XP drop down menu for web developers

Rate me:
Please Sign up or sign in to vote.
1.62/5 (6 votes)
25 Apr 2006 47.5K   981   28   6
A good tool to change your web application interface with more Interactive

Sample Image - menu.jpg

Introduction

My new-found idea on the web interface is just a follow-up of my interest to do something on this platform. My curious searching found an outlet in a basic dropdown menu script by Eric Simmons. I worked on it to enhance something similar to XP style.

 

Finally I could do it!

 

I added the XP  style up and down button with mouse over effect on it.

<IMG id=imgdownarrow onmouseover="Javascript: <BR>tbr<BR>if (this.src.substr(this.src.lastIndexOf('/')+1)=='vo_arrow-down.gif') this.src='images/vo_arrow-down-mo.gif'; <BR>tbr<BR>else this.src='images/vo_arrow-up-mo.gif';" <BR>tbr<BR>onclick="Javascript: if ((this.src.substr(this.src.lastIndexOf('/')+1)=='vo_arrow-down.gif') || (this.src.substr(this.src.lastIndexOf('/')+1)=='vo_arrow-down-mo.gif')) this.src='images/vo_arrow-up.gif'; <BR>tbr<BR>else this.src='images/vo_arrow-down.gif';" <BR>tbr<BR>onmouseout="Javascript: if ((this.src.substr(this.src.lastIndexOf('/')+1)=='vo_arrow-down.gif') || (this.src.substr(this.src.lastIndexOf('/')+1)=='vo_arrow-down-mo.gif')) this.src='images/vo_arrow-down.gif'; <BR>tbr<BR>else if (this.src.substr(this.src.lastIndexOf('/')+1)=='vo_arrow-up-mo.gif') this.src='images/vo_arrow-up.gif'; <BR>tbr<BR>else this.src='images/vo_arrow-up.gif';" src='images/vo_arrow-down.gif' align=absMiddle name=imgdownarrow >

The moving part of the menu code is in the javascript file(menu.js and sddm.css) which is located in the images directory of the project zip file. Hope you will enjoy... commets are welcome and my thanks to Eric Simmons.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer Rogers Cable
India India
Hi,

I am a web consultant working for Microrpo LLC, a leading IT Consulting company in Dubai

Comments and Discussions

 
GeneralDefault mode Expand Pin
amir mortazavi8-Mar-07 16:20
amir mortazavi8-Mar-07 16:20 
GeneralDefault Expand Pin
amir mortazavi8-Mar-07 16:18
amir mortazavi8-Mar-07 16:18 
GeneralVery Nice Pin
usufmca26-Apr-06 23:05
usufmca26-Apr-06 23:05 
GeneralRe: Very Nice Pin
BalaNet27-Apr-06 0:02
BalaNet27-Apr-06 0:02 
GeneralNice work Pin
PurnaS25-Apr-06 19:21
PurnaS25-Apr-06 19:21 
GeneralRe: Nice work Pin
BalaNet25-Apr-06 20:35
BalaNet25-Apr-06 20:35 
Thanks for your comment.Smile | :)

Such encouragements inspire me to write more articles.

Best wishes
Balakrishnan
bala.in@rediffmail.com

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.