SMF Ads Support Forum

Support => Ad Support => Topic started by: BrocLee on September 21, 2006, 01:57:40 pm

Title: Ads with Firefox
Post by: BrocLee on September 21, 2006, 01:57:40 pm
Hello,

I am having trouble with this code in firefox.

<br><br><!------- AdMentor Ad code ------------->
<script language="JavaScript"> var code = '';
var now = new Date();
var nIndex = now.getTime();
document.write('<s' + 'cript src="http://www.broclee.com/ads/scriptinject.asp?F=7&Z=0&N=1&nocache=' + nIndex + '">');
document.write('</' + 's' + 'cript>');
</script>
<script language="JavaScript">document.write(code);</script>
<noscript><a href="http://www.broclee.com/ads/adclick.asp?F=7&Z=0&N=1">
<img border="0" src="http://www.broclee.com/ads/adserve.asp?F=7&Z=0&N=1"></a></noscript>
<!--------- End AdMentor Ad code --------------->

It will show up in an html page, but not with this Mod.  If I use the lines inbetween the <noscript> tag, it will show, but I lose the bottom text.

Can this be fixed?

See what I mean here.... http://www.broclee.com/forum/  Use IE and Firefox.

Just set it up so it's not all there yet.

Thanks
Title: Re: Ads with Firefox
Post by: BrocLee on September 21, 2006, 02:20:55 pm
Nevermind... I figured it out.  the forum or something didn't like the

<!------- AdMentor Ad code ------------->

and

<!--------- End AdMentor Ad code --------------->

working fine now.

Sorry to bother you.
Title: Re: Ads with Firefox
Post by: bigguy on September 21, 2006, 10:41:14 pm
No problem it's not a bother at all. I was going to suggest all you needed was this:

Code: [Select]
<script language="JavaScript"> var code = '';
var now = new Date();
var nIndex = now.getTime();
document.write('<s' + 'cript src="http://www.broclee.com/ads/scriptinject.asp?F=7&Z=0&N=1&nocache=' + nIndex + '">');
document.write('</' + 's' + 'cript>');
</script>
<script language="JavaScript">document.write(code);</script>
<noscript><a href="http://www.broclee.com/ads/adclick.asp?F=7&Z=0&N=1">
<img border="0" src="http://www.broclee.com/ads/adserve.asp?F=7&Z=0&N=1"></a></noscript>