Pain
Full Member
Posts: 140
Pain said 0 great things
|
Post by Pain on Jun 5, 2011 7:55:48 GMT -8
<script src="http://www.clocklink.com/embed.js"></script><script type="text/javascript" language="JavaScript">obj=new Object;obj.clockfile="world001-green.swf";obj.TimeZone="PST";obj.width=720;obj.height=375;obj.wmode="transparent";showClock(obj);</script>
I would like to have the above code in the header of a specific thread only. is that possible?
|
|
|
Post by Wormopolis on Jun 5, 2011 11:29:07 GMT -8
<script type="text/javascript"> if (location.href.match(/thread=THREADID($|&)/)) { document.write('<script src="http://www.clocklink.com/embed.js"></scr' + 'ipt><script type="text/javascript" language="JavaScript">obj=new Object; obj.clockfile="world001-green.swf"; obj.TimeZone="PST"; obj.width=720; obj.height=375; obj.wmode="transparent"; showClock(obj);</scr' + 'ipt>'); } </script>
notice the red
|
|
Pain
Full Member
Posts: 140
Pain said 0 great things
|
Post by Pain on Jun 5, 2011 16:09:58 GMT -8
it works =D thank you very much wormo!
|
|
|
Post by Wormopolis on Jun 5, 2011 16:19:31 GMT -8
not a problem
|
|