2011-01-25, 08:35 PM
2011-01-25, 08:37 PM
That's awesome, can I have teh code?
2011-01-25, 09:01 PM
Thats easy lol, just use this:
<script language="JavaScript">
images = new Array(4);
images[0] = "<a href = 'link'><img src='image link'></a>";
images[1] = "<a href = 'link'><img src='image link'></a>";
images[2] = "<a href = 'link'><img src='image link'></a>";
images[3] = "<a href = 'link'><img src='image link'></a>";
index = Math.floor(Math.random() * images.length);
document.write(images[index]);
</script>
2011-01-25, 09:10 PM
So, a Banner rotator?
2011-01-25, 09:34 PM
Yes that would work
2011-01-25, 09:35 PM
Awesome, great job!
2011-01-25, 09:51 PM
(2011-01-25, 09:01 PM)Janota Wrote: [ -> ]Thats easy lol, just use this:
<script language="JavaScript"> images = new Array(4); images[0] = "<a href = 'link'><img src='image link'></a>"; images[1] = "<a href = 'link'><img src='image link'></a>"; images[2] = "<a href = 'link'><img src='image link'></a>"; images[3] = "<a href = 'link'><img src='image link'></a>"; index = Math.floor(Math.random() * images.length); document.write(images[index]); </script>
But that doesn't work for MyCode.
EDIT: I forgot to mention it's for signatures.
2011-01-25, 10:12 PM
But you can't use that in most forums?
2011-01-25, 10:14 PM
(2011-01-25, 09:51 PM)Zack Magee Wrote: [ -> ](2011-01-25, 09:01 PM)Janota Wrote: [ -> ]Thats easy lol, just use this:
<script language="JavaScript"> images = new Array(4); images[0] = "<a href = 'link'><img src='image link'></a>"; images[1] = "<a href = 'link'><img src='image link'></a>"; images[2] = "<a href = 'link'><img src='image link'></a>"; images[3] = "<a href = 'link'><img src='image link'></a>"; index = Math.floor(Math.random() * images.length); document.write(images[index]); </script>
But that doesn't work for MyCode.
EDIT: I forgot to mention it's for signatures.
I dont you why you post boasting about your new script lol
Why dont you post and share it lol ?
2011-01-25, 10:42 PM
I had it up, but someone said it was too big :O
And yes I can use it on most forums? It almost works like a captcha. the Image is randomized, and the associated URL is set to a cookie. The image is linked to a page that checks the cookie and redirects to it.
And yes I can use it on most forums? It almost works like a captcha. the Image is randomized, and the associated URL is set to a cookie. The image is linked to a page that checks the cookie and redirects to it.