Posted on Aug 15, 2006, 12:08 am by Jasper
| |
question about adding show/hide elements
|
I viewed the page source so I know it's toggleTableLayerAndElmt
<td colspan="5" class="maintitle">
<a id="sign_7" href="javascript:toggleTableLayerAndElmt('parentarea_7', 'sign_7');"><img src='http://nextbbs.com/servers/1/templates/1/includes/hide.gif'></a>
<a href='do_main_title_This-Software_level_7'>This Software</a>
</td>
|
If I wanted to add this in other areas, say a show/hide bbcode, what would I use for the two params[i think that's the term] for where it has parentarea_7 and sign_7?
I'm guessing the actual code to use would be something like this:
<table border='1'><tr><td>
<a id="something" href="javascript:toggleTableLayerAndElmt('something', 'something');">show/hide</a>
</td></tr><tr><td>
{the stuff here}
</td></tr></table>
Am I right?
doesn't come here often, cause he has no free time ;_;
|