The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
"If table is collapsed"
I posted this question in the Design and Graphics discussions but I think this is the right forum for my question.
I've provided some Google Gadgets http://www.google.com/ig/directory?synd=open on my vB 3.6.8 forum in a collapse table. I've got everything working, but would like to prevent the gadgets from downloading if the table is collapsed. So far it isn't a problem since there are only two but if I add more it will slow the page down when it loads. So how do I make a query that will prevent the gadgets from downloading when the table is collapsed ? Here's the code I'm using for the collapse table: Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <tbody> <tr> <td class="tcat" colspan="2"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('table_12')"><img id="collapseimg_table_12" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_table_12].gif" alt="" border="0" /></a>Search Links </td> </tr> </tbody> <tbody id="collapseobj_table_12" style="$vbcollapse[collapseobj_table_12]"> <tr> <td class="alt1" width="50%"><center>############## Google Gadget 1 ##############</center></td> <td class="alt1" width="100%"><center>############## Google Gadget 2 ##############</center> </td> </tr> </tbody> </table> So what I need is the code for "If table 12 is collapsed" and "If table 12 is expanded" |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|