PDA

View Full Version : Trying to Implement this simple java script...Help?


JC
02-14-2005, 09:38 PM
I'm trying to implement this script so that when users try to access my forums before the actual front page (.com ) they are redirected to it.

It's this:


if(!document.referrer) window.location="http://www.707imports.com";


Where should I place this script in the forum templates for it to work ? I tried putting it into the headinclude, infact I put it into a few places and it's not showing up, can someone tell me where the appropriate place to put it would be ? Or is my script wrong ?

Thanks guys!

JC
02-16-2005, 06:34 AM
Help ? :(