...

View Full Version : Is this a browser issue?



parallon
04-10-2007, 10:24 PM
Hello all. I am using the following code to automatically widen a select box, but in some cases a user has to click on it up to three times to get it to stay open. At first I thought it was a monitor resolution issue, but determined that it wasn't. Could it be the browser version?

Here is the code:


<select name="selCase" id="selCase" style="width: 100px; font:12px;" onmousedown="this.style.width='' " onchange="this.style.width='100px' " >

Thanks in advance,

Parallon

Daemonspyre
04-11-2007, 10:17 PM
Yes, it is.

This works fine in Firefox, but badly in IE (6 and 7).

Thought you should know!

parallon
04-11-2007, 10:28 PM
That's odd. I know it works fine in some versions of IE6 and not in others, and so far it is working fine in IE7 (for me at least). Either way, I just rearranged my tables to avoid the problems.

Thanks,

Parallon

_Aerospace_Eng_
04-12-2007, 10:30 AM
Try using onfocus instead of onmousedown or even maybe onclick.

parallon
04-12-2007, 05:41 PM
Been there, done that. :) Nothing seemed to work, and since they are on a restricted network, I can't assume that they will upgrade anytime soon.

Thanks anyway,

Parallon



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum