how can i put random things in my portal??? i have try it but i wont show up can SOMEONE please please tell me ???????????????????????????????????
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
<SCRIPT>url0= "url here";url1= "url here";url2= "url here";url3= "url here";var ran_unrounded=Math.random()*3;var ran_number=Math.round(ran_unrounded);document.write(eval("url"+ran_number));</SCRIPT>
<SCRIPT>url0= "url here";url1= "url here";url2= "url here";url3= "url here";url4= "url here";var ran_unrounded=Math.random()*4;var ran_number=Math.round(ran_unrounded);document.write(eval("url"+ran_number));</SCRIPT>
Decibel wrote:This should do what you want, if i understood correctly..just ad the url of your pic in between the "url here". This will randomize your urls on a refresh.
If you want more pics added, just and extra random url, and change the ran_number. ie..
- Code:
<SCRIPT>url0= "url here";url1= "url here";url2= "url here";url3= "url here";var ran_unrounded=Math.random()*3;var ran_number=Math.round(ran_unrounded);document.write(eval("url"+ran_number));</SCRIPT>
Note: If the random number says 3, this means 4 links, 4=5 links 5=6 links, etc., as it starts at 0.
- Code:
<SCRIPT>url0= "url here";url1= "url here";url2= "url here";url3= "url here";url4= "url here";var ran_unrounded=Math.random()*4;var ran_number=Math.round(ran_unrounded);document.write(eval("url"+ran_number));</SCRIPT>