Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - scrollbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

scrollbar

 Post Reply Post Reply
Author
gayathri View Drop Down
Newbie
Newbie


Joined: 06 August 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote gayathri Quote  Post ReplyReply Direct Link To This Post Topic: scrollbar
    Posted: 09 August 2005 at 5:30am
how can i set scroll bar to selection list.i have given onchange=page.submit(); so  when i press down arrow key it selects the next item in list. i wan to display all items. can u pls help me.how can i solve this.
Back to Top
theSCIENTIST View Drop Down
Senior Member
Senior Member


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 440
Post Options Post Options   Thanks (0) Thanks(0)   Quote theSCIENTIST Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2005 at 1:52am
WTH are you talking about? I dind't understant anything of your query! Please re-phrase.

By the way, please don't use this [onchange=page.submit();] it submits a form on selection change without having a submit button, so those with scriting disabled can't use this kinds of things, always use a button to submit your forms.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2005 at 2:24am
I think he wants to display an input dropdown with all the elements displayed at once rather than having the scroll bar. Without the elements displayed at once, using the arrow keys to navigate the dropdown is firing his onchange event.

try using the size attribute to set the number of lines in the select
    <select size="5" name="dd1">
    <option value="a">a</option>
    <option value="b">b</option>

The example will display 2 options in a 5 line select.
IE won't have scrollbars, FF will have scrollbars but they'll be non-functional, it will also display the 5 lines like ie.

Like theScientist said though, put the button in too. No sense limiting the functionlity of the page to only one group of surfers.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
theSCIENTIST View Drop Down
Senior Member
Senior Member


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 440
Post Options Post Options   Thanks (0) Thanks(0)   Quote theSCIENTIST Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2005 at 5:51am
Yeah, if he wants to extend the view of how many items show on the drop down list, the size par should do it, however if he's getting the list dinamicaly, then he has to count first and to set the size also dinamicaly.

Yes, please put atleast a 1x1 pixel img to submit a form, gives us a change here.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.