Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Feature Discussion > Toggle Content Box View
Sadia (Guild Admin) 1/25/2005 4:16 AM EST : Toggle Content Box View

Posts: 1484
Zomgawsh Poster


Is it possible to somehow include script so that I can set up toggle view on content boxes by clicking on the title. I've seen this script used and I used another on my personal site, but I've lost that code.

var lastTab = new Array();
function toggleView(sID, szDivID, iState) // 1 visible, 0 hidden, 2 toggle
   if (document.getElementById){
  if(sID != 'notab' && window.lastTab[sID]) {
   document.getElementById( lastTab[sID] ).style.display = "none";
  lastTab[sID] = szDivID;
  var obj = document.getElementById( szDivID ); = ((iState == 2) && == "none" || iState == 1) ? "inline" : "none";
// -->

However trying to plug it into guildportal has proved useless. I cannot seem to put these sort of html codes in the title (display options.) Is there an easy way to include this?


Admins Online
There are   members online.
So-and-so has logged on!