The browser could not find animate.js
when I changed source to "/animate.js" then it found it in my docs directory.
Thanks anyway.
>Date: Fri, 12 Oct 2001 15:36:19 -0400
>To: [EMAIL PROTECTED]
>From: Webmaster <[EMAIL PROTECTED]>
>Subject: Generating html/javascript from Perl on Sambar server.
>
>I use ActiveState perl to dynamically generate some of my html pages but
>can't seem to get inbedded javascript to work in my browser. The page is
>just blank. The word "test" is supposed to fly in from the right side.
>
>But here's the weird part. If when in Internet Explorer, I click view,
>then source, then copy and paste the source
>in to an html file, it works fine!!! "Plain" html generated by perl also
>works fine. It's
>just when I try to use Javascript (which front page wrote for me)
>
>Thanks for any help.
>
>Jack
>
>Here is my source code:
>#!/perl/bin
>
>$| = 1;
>
>print "Content-type: text/html\n\n";
>
>print qq^<html>
><head>
><script language="JavaScript" fptype="dynamicanimation">
><!--
>function dynAnimation() {}
>function clickSwapImg() {}
>//-->
></script>
><script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
></script>
></head>
><body onload="dynAnimation()" language="Javascript1.2">
><h1 dynamicanimation="fpAnimflyRightFP1" id="fpAnimflyRightFP1"
>style="position: relative !important; visibility: hidden"
>language="Javascript1.2">TEST</h1>
></body>
></html>^;
>exit;
>
--------------------------------------------------------------------------------
For unsubscription of this list send an email to [EMAIL PROTECTED] with email
data containing unsubscribe emailadd sambar