TinyPortal

Development => Support => Topic started by: scott1008 on June 19, 2007, 02:02:13 PM

Title: Javascript?
Post by: scott1008 on June 19, 2007, 02:02:13 PM
Hi,

I'm trying to use javascript within a block, but I can never see it.. Ideas? Here is the script:

<script language="javascript">
var guSiteId='8a553';
var guDomain='//http://www.goingup.com';
var guTrackPath = guDomain+'/track/default.php?';
var guTrackMode='default';
var guCode=1;
var guBadge='2';
</script>
<script type="text/javascript" src="//http://www.goingup.com/track/js/tracker.js"></script>
<noscript>
<a href="//http://www.goingup.com" title="Free Web Site Stats"><img src="//http://www.goingup.com/track/default.php?st=8a553&b=2" border="0" alt=""></a>
</noscript>

I've also tried using the 'Global Headers and Footers' and see nothing there either.. Help!
Title: Re: Javascript?
Post by: scott1008 on June 19, 2007, 02:07:32 PM
Here is the forum, if you want to see it:

http://www.calendarscript.com/support/forum/index.php
Title: Re: Javascript?
Post by: IchBin on June 19, 2007, 02:16:27 PM
What type of block are you putting that code into?
Title: Re: Javascript?
Post by: scott1008 on June 19, 2007, 02:21:13 PM
I've tried just about all of them.. do you know the type that should be used?
Title: Re: Javascript?
Post by: IchBin on June 19, 2007, 02:23:28 PM
scriptblock

By looking at your block it also appears you have some bbc code that shouldn't be in there. [/url] should be < /a> <-- without the space in it.
Title: Re: Javascript?
Post by: scott1008 on June 19, 2007, 02:27:36 PM
Can you tell me what kind of bloc it should be?
Title: Re: Javascript?
Post by: IchBin on June 19, 2007, 02:28:55 PM
scriptbox
Title: Re: Javascript?
Post by: scott1008 on June 19, 2007, 02:34:53 PM
Well, it seems that my copy and paste messed up my code, so all is well.

Thanks for your time and assistance.