Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- **Javascript:**
- <!--
- function toggle_visibility(id) {
- var e = document.getElementById(id);
- if(e.style.display == 'block')
- e.style.display = 'none';
- else
- e.style.display = 'block';
- }
- //-->
- **HTML**
- <h4><a data-toggle='irc' style='cursor:cell;' onclick="toggle_visibility('irc');"'>#dorito IRC</a></h4>
- <center><div style='padding:12px;' id='irc' class='irc'>MY IRC IFRAME HERE</div></center>
- **CSS**
- #irc {
- display: block;
- }
- .irc {
- display: block;
- }
Advertisement
Add Comment
Please, Sign In to add comment