You are not enjoying the benefits offered by registering. To register click here...
  
Forums | Prefs | Your Messages | Members | Recent | Search
Quick Search


Advanced Search
| Calendar | Doc | Dev' Blog! |
Chat (Alpha Version)

Guest, do not forget to login ( Register )
 Top > Forums > This Software > Support, FAQ, How-to's
 question about adding show/hide elements

Skin Selection:
 (1 pages) 1  
Jasper

Public Speaker
Group: Testers
Posts: 561
Reputation: 10


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


html Code:
  1. <td colspan="5" class="maintitle">
  2.  <a id="sign_7" href="javascript:toggleTableLayerAndElmt('parentarea_7', 'sign_7');"><img src='http://nextbbs.com/servers/1/templates/1/includes/hide.gif'></a>
  3.  <a href='do_main_title_This-Software_level_7'>This Software</a>
  4. </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 ;_;
 
Top

 (1 pages) 1 - Flat Mode | Threaded Mode  
Quick Jump:

         
Page generated in 0.03 seconds (Queries: 0.00) - Cpu: 0.25
Total DB [adodb:mysql] queries: 14
Total Strings Translated: 12
Powered by NextBBS SE v0.4.5 - Copyright © 2007 CFR & The NextBBS Team
Chatbox powered by smiletag