Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #14161

Re: Scrolling Options in a <Select> List

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.swapon.de!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: Scrolling Options in a <Select> List
Date Fri, 25 May 2012 08:39:58 -0600
Lines 37
Message-ID <a29ju4F3q3U1@mid.individual.net> (permalink)
References <a24tjpFi1sU1@mid.individual.net> <4fbe3193$0$21488$ba4acef3@reader.news.orange.fr> <a26va1FjicU1@mid.individual.net> <4fbe505f$0$21482$ba4acef3@reader.news.orange.fr> <a272hcFbq8U1@mid.individual.net> <a2757rFahU1@mid.individual.net> <a2769iF80oU1@mid.individual.net> <4fbf3d67$0$21452$ba4acef3@reader.news.orange.fr>
X-Trace individual.net o6I+dTkFNci/IXFPC/0adA4AJKi5TSQOK7VO2R5Un1v+gFCgNSpMC9OMF9Uh9Vke1C
Cancel-Lock sha1:9Ru8PMvVIdmsXIAP7+qq770wWFk=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-RFC2646 Format=Flowed; Response
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
Xref csiph.com comp.lang.javascript:14161

Show key headers only | View raw


Stephane said:
> I can't add "Gignac, Denis" and all players bellow ...
> (listed in the part not shown that we have to scroll down)

   The list of Members on the Left are from my database of members.  The 
list on the right are those people who have chosen to play in the next golf 
tournament. So, the Left Member list will only be added to by the Draw 
Master on a page which I haven't designed yet.

>
> So ... the list on right has not to be scrolled ...
>
> The selected guy on left (I click on it) isn't shown on right until I 
> leave the left option ... normal ?

    I don't like it that way and I don't know if its 'normal' or not, but 
I'll try to fix it later. I'm under time pressure now to get the actual 
'Draw' completed. Lots to do ! (I'm only about 40% complete)

>> I do not understand how you expect to give a 'selectedIndex' to an 
>> 'option'
> (the selectedIndex is the index in the select's options)
>
> var plroptel = document.getElementById(option.id) ;
> //plroptel.scrollIntoView(false) ;
> plroptel.selectedIndex = plroptlen ;

    I'll look at and fix the above. Thank you !

    Now, this morning I have to include 'Screen Names' in final  Draw Sheet 
instead of formal names (e.g.,, Mel Smith  instead of Smith, Mel)

Thanks again for the comments !

-Mel Smith

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-23 13:54 -0600
  Re: Scrolling Options in a <Select> List "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-05-23 21:18 +0000
    Re: Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-23 17:15 -0600
      Re: Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-23 17:41 -0600
        Re: Scrolling Options in a <Select> List SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-05-24 14:27 +0200
          Re: Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-24 08:33 -0600
            Re: Scrolling Options in a <Select> List SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-05-24 17:15 +0200
        Re: Scrolling Options in a <Select> List "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-05-24 14:44 +0000
  Re: Scrolling Options in a <Select> List SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-05-24 15:03 +0200
    Re: Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-24 08:35 -0600
      Re: Scrolling Options in a <Select> List SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-05-24 17:14 +0200
        Re: Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-24 09:30 -0600
          Re: Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-24 10:16 -0600
            Re: Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-24 10:34 -0600
              Re: Scrolling Options in a <Select> List Scott Sauyet <scott.sauyet@gmail.com> - 2012-05-24 09:47 -0700
              Re: Scrolling Options in a <Select> List SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-05-25 10:05 +0200
                Re: Scrolling Options in a <Select> List "Mel Smith" <med_cutout_syntel@aol.com> - 2012-05-25 08:39 -0600

csiph-web