Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18423
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Mel Smith" <med_cutout_syntel@aol.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: <select> Drop-Down List not 'dropping' |
| Date | Sat, 9 Feb 2013 18:49:32 -0700 |
| Lines | 57 |
| Message-ID | <anoclhFq1t6U1@mid.individual.net> (permalink) |
| References | <anl4rnF3retU1@mid.individual.net> <XnsA161E8264E964eejj99@194.109.133.133> <anlfe4F66ohU1@mid.individual.net> |
| X-Trace | individual.net 5F704v+3pt097c40wGIeUAp0I0eSCQslJjqQGSHA6Z8TcgBsJrJYf+mqjm722Nokvr |
| Cancel-Lock | sha1:1rxj72dahtDtjB5sA+Jk0sGglDE= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-RFC2646 | Format=Flowed; Response |
| Xref | csiph.com comp.lang.javascript:18423 |
Show key headers only | View raw
Evertjan:
I managed to get the <select> list to drop down on focus. However (as
the example below shows), the set of inputs on the same line as the select
get 'pushed down' and destrop the screen layout.
Can you give further guidance please ??
Thank you.
-Mel Smith
********************************
<!DOCTYPE html>
<head>
<title></title>
<script type="text/javascript">
function setFocusSize(selobj) {
if (selobj.id == "imth") selobj.size = "13" ;
}
function resetFocusSize(selobj) {
if (selobj.id == "imth") selobj.size="1" ;
}
</script>
</head>
<body>
<input type="text" size="4" maxlength="4" value="1234" />
<select id="imth" size="1" onfocus="setFocusSize(this);"
onblur="resetFocusSize(this);">
<option value="XXX" disabled="disabled">Pick Month</option>
<option value="Jan">January</option>
<option value="Feb">February</option>
<option value="Mar">March</option>
<option value="Apr">April</option>
<option value="May">May</option>
<option value="Jun">June</option>
<option value="Jul">July</option>
<option value="Aug">August</option>
<option value="Sep">September</option>
<option value="Oct">October</option>
<option value="Nov">November</option>
<option value="Dec">December</option>
</select>
<input type="text" size="10" maxlength="10" value="abcdefghij" />
</body>
</html>
***************************
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
<select> Drop-Down List not 'dropping' "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-08 13:17 -0700
Re: <select> Drop-Down List not 'dropping' "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-02-08 22:49 +0100
Re: <select> Drop-Down List not 'dropping' "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-08 16:18 -0700
Re: <select> Drop-Down List not 'dropping' "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-09 18:49 -0700
Re: <select> Drop-Down List not 'dropping' Gregor Kofler <usenet@gregorkofler.com> - 2013-02-10 09:36 +0100
Re: <select> Drop-Down List not 'dropping' "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-02-10 10:08 +0100
Re: <select> Drop-Down List not 'dropping' "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-02-10 10:05 +0100
Re: <select> Drop-Down List not 'dropping' "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-10 08:17 -0700
Re: <select> Drop-Down List not 'dropping' "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-10 10:06 -0700
Re: <select> Drop-Down List not 'dropping' SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2013-02-10 18:59 +0100
Re: <select> Drop-Down List not 'dropping' "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-02-10 19:40 +0100
Re: <select> Drop-Down List not 'dropping' SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2013-02-11 02:59 +0100
Re: <select> Drop-Down List not 'dropping' "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-10 12:03 -0700
Re: <select> Drop-Down List not 'dropping' SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2013-02-11 02:39 +0100
Re: <select> Drop-Down List not 'dropping' "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-02-10 19:31 +0100
Re: <select> Drop-Down List not 'dropping' "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-10 11:45 -0700
Re: <select> Drop-Down List not 'dropping' "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-10 17:50 -0700
Drop Down Works ! , But .... "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-12 10:44 -0700
Re: Drop Down Works ! , But .... "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-02-12 19:46 +0100
Re: [CSS] Drop Down Works ! , But .... SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2013-02-13 01:57 +0100
Re: [CSS] Drop Down Works ! , But .... "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-12 18:23 -0700
Re: [CSS] Drop Down Works ! , But .... SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2013-02-13 15:37 +0100
Re: [CSS] Drop Down Works ! , But .... "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-13 09:35 -0700
csiph-web