|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
changing display properties of a child element
my page has a layer where the <ul>'s are hidden/unhidden by an onclick event. i'd like it to hide all <ul>'s onload. i can get an individual <ul> to do it based off of the id but can't do it for multiple id's....
any thoughts? rkt |
|
#2
|
|||
|
|||
|
RE: changing display properties of a child element
|
|
#3
|
|||
|
|||
|
RE: changing display properties of a child element
that'd work fine but i have multiple <ul>'s in different locations within one parent <div>. for example the basic html is like this:
<div id="layer1"> <dl> <dt>test</dt> <ul> <li>test li</li> </ul> <dt> test</dt> <ul> <li>test li</li> </ul> </dl> i'm looking for a way to execute a function while only calling one item rather than a whole bunch of div or ul id's - rkt |
|
#4
|
|||
|
|||
|
RE: changing display properties of a child element
If they are all within one parent div you can hide them all at once. If there is another content, which has to stay visible, you must hide them separately.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > changing display properties of a child element |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|