As requested by [b]Sprongky[/b]
Want a to have different JS files load everytime someone views your profile?
Well, now you [i]CAN~!![/i]
Here's the code:
[quote]//This is a shakiro214 production
//In cooperation with friendsterTalk forum
lagann = new Array();
lagann[0]="[b]JS_URL_1[/b]";
lagann[1]="[b]JS_URL_2[/b]";
toppa=Math.floor(Math.random() * lagann.length);
var JS = document.createElement("script");
JS.type = "text/javascripe";
JS.src=lagann[toppa];
document.getElementsByTagName("head")[0].appendChild(JS);[/quote]
To add more js files, simply add more arrays, like so
[quote]lagann[2]="[b]JS_URL_3[/b]";
lagann[3]="[b]JS_URL_4[/b]";
lagann[4]="[b]JS_URL_5[/b]";[/quote]
and so on...
If you want to have random JS files in IE & FF as separate, here's a full example of what a combined code would look like:
<">[b]That's it. You're done![/b]
[b]no preview available[/b]
I currently use 1 js file for my profiles. Besides you would usually know what's already going to happen if you have more than 1 JS file and set it to random