Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Dreamweaver - Help with drop-down menus
Old 09-14-2004, 07:28 AM Dreamweaver - Help with drop-down menus
Junior Talker

Posts: 2
Trades: 0
This might be a bit basic, but it as got me stumped! Any help would be great.

I am creating a form with drop-down menus for the the date fields.
The problem is the 'Day' menu as 31 opitions, and when you select the drop down menu, this appears as a giant list of 30 numbers, and a scroll bar to select the 31st. What I want is to format the drop down menu to be 6 options high, and you can scroll though the other options.

I have seen this done on numerous sites, so i'm hoping it will be a simple task

Any suggestion would be much appreciated,

Thanks
Webbo
webbo76 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-14-2004, 08:21 AM Scrolling Box?
JohnJ's Avatar
Extreme Talker

Posts: 198
Location: Raleigh, NC
Trades: 0
As far as I can determine you cannot select the depth of your drop down display in a pull-down menu, although I can offer two suggestions.

1) Look at your coding - Each entry in your menu should begin with <option> and end with </option> when I use this coding my menu displays only 10 items.

2) Perhaps you'd rather experiment with a Scrolling Box - if you use the following code <SELECT name="required-state" size="1" maxLength="50" > you get a pull-down menu - however if you change the size attribute to 4 you will get a Scrolling Box that displays only the first four items in your menu.

Personally I'd stay with the pull down.

Hope this helps.
__________________
JohnJ

Please login or register to view this content. Registration is FREE

WebImages Inc. - Raleigh NC
JohnJ is offline
Reply With Quote
View Public Profile Visit JohnJ's homepage!
 
Old 09-14-2004, 09:39 AM
Junior Talker

Posts: 2
Trades: 0
EXAMPLE of what i'm trying to do:

I am using DW4 so this might vary in later versions, but...

If you look at the Reference tool bar, this contain some drop down menus.
The 2 TAG menus will drop down and show 7 options, and the scroll bar lets you search though loads more.


This is the code for the days:

<select name="daysearch">
<option selected>00</option>
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
<option>07</option>
<option>08</option>
<option>09</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
<br>

and the drop down menu is the same lenght!
webbo76 is offline
Reply With Quote
View Public Profile
 
Old 09-14-2004, 12:20 PM
Skilled Talker

Posts: 72
Trades: 0
Does this help?

Code:
<select size="06">
<option selected>00</option>
<option>01</option>
<option>02</option>
<option>03</option>
<option>04</option>
<option>05</option>
<option>06</option>
<option>07</option>
<option>08</option>
<option>09</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
BravoGolf is offline
Reply With Quote
View Public Profile
 
Old 09-14-2004, 12:44 PM Your code displays 10 rows in my form
JohnJ's Avatar
Extreme Talker

Posts: 198
Location: Raleigh, NC
Trades: 0
Webbo76 - -

I pasted your code into my form and it displays 10 rows in a pull down menu. I suggest that you go here: http://www.webimagesinc.com/contact_us.htm and do a save as to your desktop - - You can then open my form in DW4 and compare it to what you have.

Hope this helps.
__________________
JohnJ

Please login or register to view this content. Registration is FREE

WebImages Inc. - Raleigh NC
JohnJ is offline
Reply With Quote
View Public Profile Visit JohnJ's homepage!
 
Reply     « Reply to Dreamweaver - Help with drop-down menus
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21381 seconds with 12 queries