I am trying to insert a javascript into site_html.pl under the Home Page portion, when i build pages then look my page i keep getting JS Alerts. Any suggestions? Thanks, Chris
Joey is right.
You might want to use a rel/link to include
the javascript, much like they way a *.css
file is used. Then just ad the code
in your page that where it would have been
used. Try http://www.webreference.com/js . It has a great JS resource, or www.docjavascript.com . Those two should get you going.
------------------
The Crowe crowe@darkspiral.com
http://www.darkspiral.com
You might want to use a rel/link to include
the javascript, much like they way a *.css
file is used. Then just ad the code
in your page that where it would have been
used. Try http://www.webreference.com/js . It has a great JS resource, or www.docjavascript.com . Those two should get you going.
------------------
The Crowe crowe@darkspiral.com
http://www.darkspiral.com
I goofed.
That second site should have been
http://www.infohiway.com/javascript/indexf.htm The Cut-N-Paste Java Script site
OOps
------------------
The Crowe crowe@darkspiral.com
http://www.darkspiral.com
That second site should have been
http://www.infohiway.com/javascript/indexf.htm The Cut-N-Paste Java Script site
OOps
------------------
The Crowe crowe@darkspiral.com
http://www.darkspiral.com
Jan 1, 1999, 12:18 PM
Novice (30 posts)
Jan 1, 1999, 12:18 PM
Post #5 of 5
Views: 2974
Ok, i have no idea what to look for in the script that will confilct w/ perl. It is a script i am going to use for tracking visitors and stuff, if anybody could tell me what i need to change, it would be greatly appreciated. Btw, Does this have anything to do w/ building pages w/ the links script? anyways, here's the js:
<font size=1 color=white>
<a target="_top" href="http://z.extreme-dm.com/s/?tag=webres">
<img name=im src="http://z0.extreme-dm.com/i/" height=38 border=0
width=41 alt=""></a><script language="javascript"><!--
an=navigator.appName;d=document;function
pr(){d.write("<img src=\"http://z1.extreme-dm.com",
"/z/?tag=webres&j=y&srw="+srw+"&srb="+srb+"&",
"rs="+r+"&l="+escape(d.referrer)+"\" height=1 ",
"width=1>");}srb="na";srw="na";//-->
</script><script language="javascript1.2"><!--
s=screen;srw=s.width;an!="Netscape"?
srb=s.colorDepth:srb=s.pixelDepth;//-->
</script><script language="javascript"><!--
r=41;d.images?r=d.im.width:z=0;pr();//-->
</script><noscript><img height=1 width=1 alt=""
src="http://z1.extreme-dm.com/z/?tag=webres&j=n"></noscript>
</font>
<font size=1 color=white>
<a target="_top" href="http://z.extreme-dm.com/s/?tag=webres">
<img name=im src="http://z0.extreme-dm.com/i/" height=38 border=0
width=41 alt=""></a><script language="javascript"><!--
an=navigator.appName;d=document;function
pr(){d.write("<img src=\"http://z1.extreme-dm.com",
"/z/?tag=webres&j=y&srw="+srw+"&srb="+srb+"&",
"rs="+r+"&l="+escape(d.referrer)+"\" height=1 ",
"width=1>");}srb="na";srw="na";//-->
</script><script language="javascript1.2"><!--
s=screen;srw=s.width;an!="Netscape"?
srb=s.colorDepth:srb=s.pixelDepth;//-->
</script><script language="javascript"><!--
r=41;d.images?r=d.im.width:z=0;pr();//-->
</script><noscript><img height=1 width=1 alt=""
src="http://z1.extreme-dm.com/z/?tag=webres&j=n"></noscript>
</font>