Spoiler Code

blze

New Member
for BBCode, these frenchies put up posts with gifs and shit and it looks like blank space but when you click it, the gif appears. Any ideas on what this code looks like? mew.
 
Werbung:

RaNcid

New Member
the way i would do it is using the java. i dont know how they did it.

Code:
<script language="JavaScript"><!--
function flip() {
    if (document.images)
        document.images['image1'].src = 'image2.gif';
}
//--></script>

<a href="#" onClick="flip();return false"><img src="image1.gif" name="image1" width="100" height="100" border="0"></a>

give me the site and i'll tell you how they did it. nevermind you just did. I'll post and let you know.
 

RaNcid

New Member
ah i see it.

here's the actual code they used.

Code:
<div class="container"><table class="spoiler" onclick="javascript:montrer_spoiler('spoiler1')" style="cursor:pointer;"><tr class="none"><td><b class="s1Topic">Spoiler :</b><br /><br /><div class="Topic masque" id="spoiler1"><p>easy <img src="http://forum-images.hardware.fr/icones/ohwell.gif" alt=":/" title=":/" /> </div>

it's a custom code (aka mod like how amx is a mod for counter strike) put in the forums that allows people to not see things when on public forums that they dont want to. It's called the spolier code.

here's a link so you can read more about it. Spolier Code w/pic and text
 
Werbung:
Top