![]() |
Spoiler Tag: Visibility
I'm trying to make a spoiler tag similar to one that I used back in the UBB days.. I've succeeded to an extent, but maybe someone will be able to help me.
This is my Replacement HTML: HTML Code:
<div style="margin:20px; margin-top:5px; "> HTML Code:
.spoiler { visibility: hidden; } Ideally, I'd like to click the link once to display the spoiler and then once again to hide it. The main issue that I'm having with Internet Explorer is when more than one post on a page uses the spoiler tag, it then ceases to function.. I imagine that I'd have to use some kind of $post[postid] variable with it? Firefox just never displays the spoiler in the first place after clicking the link.. |
i released one of bf2 that may help
|
Cheers for the heads up..
Just viewed a demo with someone using your code and it worked perfectly in both browsers, so I'll have another crack at it tonight. It shouldn't be too hard to replace the button with a link instead.. :) |
All times are GMT. The time now is 09:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|