Announcement

Collapse
No announcement yet.

Safari toggle_collapse issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Safari toggle_collapse issue

    I modified my forumdisplay template so the stickies are in their own collapsible table, as you can see below. This works fine in MSIE 6, Firefox 1.0.4 and Opera 7.1, but there are problems with Safari. Unfortunately I don't have Safari so I can't troubleshoot it. The user who mentioned the issue said that the table collapses fine but it overwrites the other threads when when she expands it.

    Any ideas?

    HTML Code:
    <!-- Start Collapsible Sticky Table -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <if condition="$show['stickies']">
    	<thead width="100%">
    		$announcebits
    		<tr>
    		<if condition="$show['threadicons']">
    			<td class="thead" colspan="2">&nbsp;</td>
    		<else />
    			<td class="thead">&nbsp;</td>
    		</if> 	
    			<td class="thead" width="100%">
    				<if condition="$show['threadratings']">
    				<span style="float:$stylevar[right]">
    		 		<a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]
    				</span>
    				</if>
    		 		<a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a> $sortarrow[title] /
    		 		<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
    			</td>
    	
    			<td class="thead" width="150" align="center" nowrap="nowrap">
    				<span style="white-space:nowrap">
    		 		<a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]
    				</span>
    			</td>
    			<td class="thead" align="center" nowrap="nowrap">
    				<span style="white-space:nowrap">
    		 		<a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]
    				</span>
    			</td>
    			<td class="thead" align="center" nowrap="nowrap">
    				<span style="white-space:nowrap">
    		 		<a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]
    				</span>
    			</td>
    		</tr>
    		<tr>
    			<td class="tcat" colspan="6">
    		 	<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumdisplay_stickies')"><img id="collapseimg_forumdisplay_stickies" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumdisplay_stickies].gif" alt="" border="0"/></a>
    			</td>
    		</tr>
    	</thead>
    <tbody id="collapseobj_forumdisplay_stickies" style="$vbcollapse[collapseobj_forumdisplay_stickies]">
    	<tr>$threadbits_sticky</tr>
    	<tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr>
    </tbody>
    <!-- End Collapsible Sticky Table -->
    
    <else />
    
    $announcebits
    <tr>
    	<if condition="$show['threadicons']">
    		<td class="thead" colspan="2">&nbsp;</td>
    	<else />
    		<td class="thead">&nbsp;</td>
    	</if>	
    	<td class="thead" width="100%">
    		<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
    		<a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a> $sortarrow[title] /
    		<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
    	</td>
    	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
    	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
    	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</span></td>
    </tr>
    </if>
    
    <if condition="$show['threads']">
    	<!-- show threads -->
    	$threadbits	
    	<!-- end show threads -->
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X