Advertisement

10.09.2008 at 02:19PM PDT, ID: 23802536 | Points: 500
[x]
Attachment Details

<select></select> - Additional question

Asked by aarch1 in JavaScript, Web Languages/Standards, Dynamic HTML (DHTML)

===============================
simonet:
Actually this line is a bit better:

<select name="abc" style="width:200px" id=abc onfocus="JavaScript:MakeLarge(this);" onblur="JavaScript:MakeSmall(this);">

(much better actually)

when the use clicks on the SELECT, it resizes to anything you want (I put 500x, but it can also be 'auto' or anything). when the control loses focus (by TAB key, or clicking out of it) the control is resized to 200px (set in the javascript code).
======================================================

simonet,

Above works great. But I have to click TWICE to see the drop down values.

Is there a way, just in one click, expand the size of drop down and show the drop down values.

ThanksStart Free Trial
Related Solutions: <select></select>
[+][-]10.09.2008 at 02:22PM PDT, ID: 22682578

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.09.2008 at 04:13PM PDT, ID: 22683286

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.10.2008 at 09:13AM PDT, ID: 22688136

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.10.2008 at 10:42AM PDT, ID: 22688941

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.12.2008 at 08:36PM PDT, ID: 22700067

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 - Hierarchy / EE_QW_Related_20080208