Thread
:
Javascript to alternate between two sources
View Single Post
06-11-2010, 12:14 PM
dready
Confirmed User
Industry Role:
Join Date: Oct 2002
Location: Toronto, ON
Posts: 5,247
Would this do it?
<script type="text/javascript">
<!--
var rand = Math.floor(Math.random()*2)+1;
document.write('<script type="text/javascript" src="'+rand+'.js");</script>');
</script>
__________________
ICQ: 91139591
dready
View Public Profile
Visit dready's homepage!
Find More Posts by dready