The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I am using on my forum a function to expand / collapse some information relatated to some games ...
Anyway, not clicked, it looks like that : ![]() When clicked : I am using this code : Code:
<div class="smallfont" style="margin-bottom:2px"><b>Arcade:</b> <input type="button" value="Show Highscore" style="width:93px;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 Highscore'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show Highscore'; }"> </div> <div class="alt2" > <div style="display: none;"> $post[crowns]$post[champtext] </div> </div> </div> Code:
<INPUT type = "image" src ="gif file" ![]() Does someone has ANY ideas whats going on ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|