|
||||||
| JavaScript and CSS Extensible Markup Language, Java Script, and CSS questions here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Add this to your header:
HTML Code:
<script type="text/javascript"> <!-- function toggle_visibility(id) { var e = document.getElementById(id); if(e.style.display == 'none') e.style.display = 'block'; else e.style.display = 'none'; } //--> </script> Add this in your code: HTML Code:
<a href="#" onclick="toggle_visibility('foo');">Toggle Visibility</a><div id="foo">This is foo</div>
__________________
Hi >> Saint |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JavaScript: Hide link from Statusbar | TcM | Javascript | 31 | 09-24-2008 03:32 PM |
| Get installed software information | IUnknown | Software Development Tools | 5 | 10-15-2007 06:29 PM |
| Hide web address | pcdctr | Java Help | 4 | 06-02-2007 06:38 AM |
| Getting Hardware Information | Guitar22891 | Visual Basic Programming | 1 | 05-09-2007 02:08 PM |
| Hide form on startup? | NeedHelp | C# Programming | 7 | 09-02-2006 05:28 PM |
| Xav | ........ | 1333.07 |
| MeTh0Dz|Reb0rn | ........ | 1059.52 |
| John | ........ | 887.37 |
| morefood2001 | ........ | 879.43 |
| marwex89 | ........ | 869.98 |
| WingedPanther | ........ | 851.68 |
| Brandon W | ........ | 764.23 |
| chili5 | ........ | 312.39 |
| Steve.L | ........ | 254.16 |
| dcs | ........ | 225.25 |
Goal: 100,000 Posts
Complete: 82%