![]() |
Spoiler BBcode
We have a TV show/movie forum. However, some users have not seen some tv shows or movies and don't want to see what happens in the episode or movie. So, is there a bbcode that allows the poster to enclose certain text but it's not viewable until the viewer clicks something. For example, lets say the post says this:
Poster: In episode 2 of lost this is what happened: [spoiler]Jack dies[/spoiler] The viewer of this would see: In episode 2 of lost this is what happened: Click to see the spoiler Anyone know of this? Thanks! Jordan |
well one thing you can do is something like
<span id="postidmaybe?" style="display:none" onclick="showspolier(this)">Spoiler text goes here</span> Then using javascript you can make a function called showspolier and set the display to display: block http://www.scriptygoddess.com/archiv...de-javascript/ heres an example of that. Basically you just want to open it. So you dont need the close script. Only thing is this will always be hidden until you click it unless you get into cookies or saving info to a database. Besides that you can get a reply to view this thread hack. Im pretty sure there is one. |
There's a hack for this. Search is your friend.
|
Quote:
|
Look and you will find...
http://www.ncode.nl/vbulletinplugins/ |
Thanks!
|
All times are GMT. The time now is 11:42 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:
|