View Single Post
Old 06-11-2010, 11:43 AM  
dready
Confirmed User
 
dready's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Toronto, ON
Posts: 5,247
Javascript to alternate between two sources

Anyone have a code handy that would allow you to alternate between two javascript sources with each page load? Right now I have:

<SCRIPT LANGUAGE="JavaScript" SRC="1.js">
</SCRIPT>

And

<SCRIPT LANGUAGE="JavaScript" SRC="2.js">
</SCRIPT>

I'd like to only load one, and make it 50/50 between 1.js and 2.js
__________________
ICQ: 91139591
dready is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote