PDA

View Full Version : <select> drop down styles (again!)


stv
04-02-2003, 11:41 AM
Does anyone know if it is possible to cange the cursor when a user rolls over a <select> drop down menu?

this code works to change other style elements

onmouseover="this.style.backgroundColor='#6699FF';" onmouseout="this.style.backgroundColor='#66CCFF'"

but the cursor object will only work in netscape 6+ at them mement and not ie

any takers??

thanks
Steve

Mhtml
04-02-2003, 01:11 PM
Who told you that cursor will only work in NN6 and not IE? They deserve a royal kick in the pants!

Cursor is supported in NN6.0+ and IE 4.0+.

stv
04-02-2003, 01:22 PM
well actually no one told me - i have been experimenting and cannot get it to work on the drop down <select> object.

It works in ie.for other objects such as layers or table cells!!

steve

Mhtml
04-02-2003, 01:25 PM
Question: Do you mean cursor:url("mycursor.cur") ??? If so you are correct! You didn't say that in your post though.

stv
04-02-2003, 01:36 PM
no just the cursor style

as in cursor:hand

Catman
04-02-2003, 02:22 PM
Use cursor : pointer instead.

cg9com
04-02-2003, 09:06 PM
I thought hand and pointer were for IE and NS ...

anyway, i believe you can simply add something like:

select {
cursor:hand;
}

in your CSS, correct? :)

stv
04-03-2003, 09:28 AM
well you would think, but i did try that to no avail - i think i am going to give up with it! - the only way i got it to work (only on Ns6+) was by adding an onmouseover handler within the <select> code!!

never mind - different approach needed!

thanks anyway
stv