Bart
Member
Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
|
Ive got a 3 box chained menu, i.e select an item from box one it gives a list of items in box 2, and select another item from box 1 and it gives a different list in box 2 etc etc.
All this info is held in a config.js which ive got working fine.
Except the actual boxes wont show any data whilst its between my <div id=content> tags.
As soon as i remove it from the content and add it to another section it loads the lists fine, otherwise they’re simply blank.
The boxes code is:
quote:
<form name="listmenu0">
<table align="center"><tr>
<td><select name="firstlevel" style="width:150px;"></select></td>
<td><select name="secondlevel" style="width:150px;"></select></td>
<td><select name="thirdlevel" style="width:150px;"></select></td>
<td><input type="button" value="Go" onClick="goListGroup(document.listmenu0.firstlevel, document.listmenu0.secondlevel, document.listmenu0.thirdlevel)">
<input type="button" value="Reset" onClick="resetListGroup('chainedmenu')">
</tr></table>
</form>
And my content code is
quote:
#content {
margin: 0 110px 20px 160px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 0 10px 0 10px;
line-height: 1.6em;
text-align: left;
}
Does anyone have any idea why it might not load?
|
drax
Member
Registered: 5th Feb 05
Location: Sittingbourne, Kent
User status: Offline
|
<select name="" id="">
<option value="value">Option Name</option>
<option value="value">Option Name</option>
</select
Is how u make a dropdown list.
Im not really sure what you are trying to do there?
[Edited on 11-07-2007 by drax]
|
Bart
Member
Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
|
This is what i have.
|
Bart
Member
Registered: 19th Aug 02
Location: Midsomer Norton, Bristol Avon
User status: Offline
|
Anyone have any ideas?
The page in question is:
http://www.emeraldsystemsltd.co.uk/instrumentation.html
As before it works well, but wont load/show data when in a content div?
|