Click here to Skip to main content
Click here to Skip to main content

Change DropDown Text on MouseMove

, 28 Nov 2004
Rate this:
Please Sign up or sign in to vote.
Change text on mouse move in dropdown.

Introduction

This article shows how to change the text in a dropdown on mouse move, in a plain HTML.

Using the code

There is no JavaScript nor any coding need to be done, just a simple style sheet will solve the problem. Below is the source code for the style sheet. Just copy and paste this in your stylesheet, and download the image file and point it to the right folder.

<html>
<head>
<style>
SELECT
{
    LIST-STYLE: lower-roman url(bullet2.gif) outside;
}

</style>
</head>
<body>
    <select>
        <option>Test1</option>
        <option>Test2</option>
        <option>Test3</option>
        <option>Test4</option>
    </select>
</body>
</html>

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

Share

About the Author

Jay Kulaindevelu
Web Developer
United States United States
I'm a .Net Programmer/Web Developer, mostly working on ASP.Net C# and VB.Net,Oracle,SQL server 2000.

Comments and Discussions

 
Generalit is superb! PinmemberRamesh Ramalingam10-Aug-06 2:17 
GeneralAhaaah Pinmemberquitchat30-Mar-06 3:39 
GeneralClever PinmemberSimon Capewell26-Nov-04 0:26 
GeneralRe: Clever PinsussJay KS26-Nov-04 14:32 
GeneralRe: Clever PinmemberKenny Lu24-Oct-07 18:02 
QuestionMouseMove? Pinmemberjdevons24-Nov-04 5:22 
AnswerRe: MouseMove? Pinmemberattackweasel24-Nov-04 6:27 
GeneralRe: MouseMove? PinsussJay KS24-Nov-04 7:24 
GeneralRe: MouseMove? PinmemberWoutL24-Nov-04 12:19 
GeneralRe: MouseMove? PinsussJay KS25-Nov-04 3:26 
GeneralRe: MouseMove? PinmemberWoutL26-Nov-04 1:37 
GeneralRe: MouseMove? PinsussJay KS26-Nov-04 14:33 
AnswerRe: MouseMove? PinsussJay KS24-Nov-04 7:21 
GeneralRe: MouseMove? Pinmemberattackweasel24-Nov-04 10:58 
GeneralRe: MouseMove? PinsussJay KS25-Nov-04 3:23 
GeneralRe: MouseMove? PinsussJay KS25-Nov-04 3:53 
GeneralRe: MouseMove? Pinmemberattackweasel25-Nov-04 4:56 
GeneralRe: MouseMove? PinsussJay KS25-Nov-04 5:48 

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

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

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150327.1 | Last Updated 29 Nov 2004
Article Copyright 2004 by Jay Kulaindevelu
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid