Might as well use classes & jquery if we're already using it for something else. Why go through all this hassle when you can have a far more elegant and safe solution...
Dave told me a couple weeks ago that a Spoiler Tag would be coming with VB4. Was wondering if you guys could go ahead and implement one, because I need it to make a clean thread for some packets I'm posting in the MapleStory section (it's a very big list).
@Dave84311Code:<div style="margin: 5px;"> <div class="smallfont" style="margin-bottom: 2px;"> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElements ByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline'){ this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }else{ this.parentNode.parentNode.getElementsByTagName('d iv')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button"> </div> <div class="alt2" style="border: 1px inset ; padding: 6px;"> <div class="spoiler" style="display: none;"></div> </div> </div>
Might as well use classes & jquery if we're already using it for something else. Why go through all this hassle when you can have a far more elegant and safe solution...
I'm Alen on Steam. RIP Skype Friday nights.
I'm Navi's lover 💖
Dave84311: God I've always wanted to eat crayons, with their vibrant colors. Only if they had taste.
Mr. Lonely: @Alen I like making you wet, it makes me hard.
I'm sure Dave will manage to write 3/4 lines of html, 3/4 lines of css and a couple of lines of JS. It ain't hard to make
I'm Alen on Steam. RIP Skype Friday nights.
I'm Navi's lover 💖
Dave84311: God I've always wanted to eat crayons, with their vibrant colors. Only if they had taste.
Mr. Lonely: @Alen I like making you wet, it makes me hard.
Testing spoiler.
THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE
"First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311
HAVING VIRTUAL DETOX
Blitz (10-31-2011),Ian (10-31-2011),iFacebook-Backup (11-11-2011)
Nice new tag
do want
So the SPOILER=___ is the title, and the ]___[ is the body of it.