The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Благодарность от: | ||
Digital Jedi |
Comments |
#22
|
|||
|
|||
thanks. installed
|
#23
|
||||
|
||||
Quote:
To change to a different color add a background color to the style attribute... such as: Code:
<div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px; width:852; height:26"><right><font color="red"><b> </b></font></right> <input type="button" value="Show Spoiler" style="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 style="margin: 0px; padding: 6px; border: 1px inset; background: red;"> <div style="display: none;"> {param} </div> </div> </div> <div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;"> to: <div style="margin: 0px; padding: 6px; border: 1px inset; background: red;"> |
#24
|
|||
|
|||
We've been using this for some time without problem, but it has recently it has stopped working, possibly due to the latest update of vB(4.0.5)
Code:
<div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px; width:852; height:26"><right><font color=#bb0000><b> </b></font></right> <input type="button" value="Show Spoiler" style="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> |
#25
|
||||
|
||||
BB Code is just HTML, as long as {param} is there it should work in any VB version... I would try deleting the code and re-adding it, maybe something got corrupted along the way but it should work just fine.
|
#26
|
||||
|
||||
Spoiler tag is not working in Firefox browser, any solution?
|
#27
|
|||
|
|||
So it's not just us then ...
|
#28
|
||||
|
||||
It's working fine for me in Firefox-
http://www.juot.net/forums/showpost....36&postcount=2 Does it work for you guys on my site/link? |
#29
|
|||
|
|||
Code:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET CLR 1.1.4322) Timestamp: Sun, 15 Aug 2010 12:07:38 UTC Message: 'this.parentNode.parentNode.getElementsByTagName(. ..).1' is null or not an object Line: 1344 Char: 1 Code: 0 URI: http://www.dbc-forum.net/showthread....topped-working Message: 'this.parentNode.parentNode.getElementsByTagName(. ..).1' is null or not an object Line: 1344 Char: 1 Code: 0 URI: http://www.dbc-forum.net/showthread....topped-working @BirdofPrey; Your using an old version(v3.8.6) of vB not v4.0.6, that is the difference dude =\ |
#30
|
|||
|
|||
Quote:
|
#31
|
||||
|
||||
Quote:
2) I have a test install of 4.0.4 and it also works fine with FF on that Can you try it with the default style- maybe something in a custom style is conflicting Also can you post line 1344 (and neighboring lines) from the page source that generated that error? (or whatever lines around the error the next time you go to that page). |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|