HighDots Forums  

Scrolling a Selection Box Onload

Javascript JavaScript language (comp.lang.javascript)


Discuss Scrolling a Selection Box Onload in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roger
 
Posts: n/a

Default Scrolling a Selection Box Onload - 06-01-2008 , 05:01 PM






I have page that is generated with a selection box with a size=7 clause
that contains some 30 options. When the selection box is generated with
the 10th option selected, the default display is to show options 4
through 10.

I want the box to appear with the selected option in the middle -- I
want it to display options 7 through 13 when option 10 is selected.

Is there a way to create a function that can be executed onload that
will "click" the down arrow in the selection control box 3 times? Are
there alternative methods to effect the default display?

Roger

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.