Welcome, Guest. Please Login or Register.
July 06, 2025, 08:41:11 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Please Help! need to get Javascript to work in the board. how? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Please Help! need to get Javascript to work in the board. how?  (Read 466 times)
Purple Raine
Beta Tester
Full Member
***
Posts: 141


Who's Yo Daddy?

WWW
Please Help! need to get Javascript to work in the board. how?
« on: March 02, 2002, 04:02:38 AM »
Reply with quote

OK, so I want to stick this ad script on my board, but can't seem to get it to work... as Jeff suggested, I put it in my template.html, which shows up on my desktop, but it does not work on the net ...

Where else can I put the script?

the script is this ::

Quote<!-- FASTCLICK.COM v1.2 for eldaronline.com -->
            <script language="Javascript"><!--
var a=b=c=d=e=h=i=j=l=n=p=s=t=u=v=w=x=y=z=dc='';
var id=o=k=f=0;  var jar=new Date(); var f=jar.getSeconds() * jar.getMinutes();
dc=document;  n=navigator;  v=parseFloat(n.appVersion);  e=escape(dc.referrer);
dc.cookie='mc=y'; j=(n.javaEnabled()? 'Y':'N'); c=(dc.cookie.length>0?'Y':'N');
if(v>=4){x=screen; } if(n.appName.indexOf('Mic')>=0) {o=1; } if(v>=4){ id=6630;
if(o==1){s=x.colorDepth}w=x.width;h=x.height;}x='|';p=w+x+h+x+s+'||||'+j+x+c+x;
u='ht'+'tp://media.fastclick.net/w'; c=' alt="Click"></a>'; x='/get.media?t=s';
l=' width=468 height=60 border=0 ';t=l+'marginheight=0 marginwidth=';b='&sid=';
i=u+x+b+id+'&m=1&f=a&v=1.2&c='+f+'&j='+p+'&r='+e;d='ameborder=0 scrolling=no>';
u = '<a  hr'+'ef="'+u+'/cli'+'ck.here?sid='+id+'&m=1&c='+f+'"  target="_top">';
dc.writeln('<ifr'+'ame src="'+i+'&d=f"'+t+'0 hspace=0 vspace=0 fr'+d);if(o!=1){
dc.writeln(u+'<i'+'mg sr'+'c="'+i+'&d=n"'+l+c);}dc.writeln('</iframe>'); // -->
                </script>
            <noscript>
            <a
href="http://media.fastclick.net/w/click.here?sid=6630&m=1&c=1"  target="_top">
<img src="http://media.fastclick.net/w/get.media?sid=6630&m=1&d=s&c=1&f=a&v=1.2
" width=468 height=60 border=1></a></noscript>
            <!-- FASTCLICK.COM v1.2 for eldaronline.com -->




any ideas?
« Last Edit: March 02, 2002, 05:42:30 AM by Alex Rolko » Logged
Mr.Looney
Noobie
*
Posts: 22


I am a Newbie big time

ICQ - 32616789 WWW
Re:Please Help! need to get Javascript to work in the board. how?
« Reply #1 on: March 02, 2002, 07:58:45 PM »
Reply with quote

I got it to work at the bottom of my template.php

Look here
Logged
Purple Raine
Beta Tester
Full Member
***
Posts: 141


Who's Yo Daddy?

WWW
Re:Please Help! need to get Javascript to work in the board. how?
« Reply #2 on: March 03, 2002, 09:25:32 AM »
Reply with quote

Could you possibly tell me step-by-step what you did? my e-mail [email protected]

please and thank you
Logged
Mr.Looney
Noobie
*
Posts: 22


I am a Newbie big time

ICQ - 32616789 WWW
Re:Please Help! need to get Javascript to work in the board. how?
« Reply #3 on: March 03, 2002, 05:42:11 PM »
Reply with quote

I e-mailed you with the template and a small explaination on how I did it...
Logged
Purple Raine
Beta Tester
Full Member
***
Posts: 141


Who's Yo Daddy?

WWW
Re:Please Help! need to get Javascript to work in the board. how?
« Reply #4 on: March 03, 2002, 06:17:02 PM »
Reply with quote

Thanks!

I think the problem I may have is because I'm using template.html and not template.php - is there a difference?

Is there a benefit from using the php version?  Also, what do I do to switch over to the php version?  just copy and paste the html file to the php one?

Logged
Mr.Looney
Noobie
*
Posts: 22


I am a Newbie big time

ICQ - 32616789 WWW
Re:Please Help! need to get Javascript to work in the board. how?
« Reply #5 on: March 03, 2002, 06:32:32 PM »
Reply with quote

To change a fill to php just rename it.  In notepad or dreamweaver...

I am only using the .php I deleted the html ones. that is how I got it to use php but I think you have to be using YaBB SE v1.1.0 to do that (not sure).

Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Please Help! need to get Javascript to work in the board. how? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.104 seconds with 21 queries.