![]() |
Quote:
|
find:
Code:
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> <div style="display: none;"> Hide Text </div> </div> </div> replace with: Code:
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> <div style="display: none;">{param}</div> </div> </div> HTH |
Works like a charm with agitated's edit. :D
|
Quote:
Certainly is one reason why {param} is missing as it would not show on the page source. |
this won't work for firefox 3, am I the only to realise?
|
Easy to follow, successfully installed.
My members will enjoy having this feature. Thanks so much for creating easy to follow steps! |
tx for the fix,, the param at the end needs to be closed to work missing a } at the end of param. else works fine,
marked installed |
This is the fixed replacement code:
HTML Code:
<div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px"> <u>Spoiler</u>: <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }"> </div> <div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> <div style="display: none;">{param}</div> </div> </div> |
Can I hide spoiler content from being viewed by visitors?
|
Nice modification...
Anyway, how about if I want to add a custom header? The code: Quote:
Quote:
|
All times are GMT. The time now is 10:15 AM. |
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:
|