one the second page, the script url is a file path, which is not allowed on
a web page unless you modify your security settings
-- bruce (sqlwork.com)
"Mike" <> wrote in message
news:530E2AA8-DB1F-405D-9FC5-...
> Hi guys,
>
> I'm using this simple code for animation and it's working in an HTML page
> like this:
> <html><body>
> <script language="JavaScript">
> var author="www.dseffects.com";
> var image1="pic1.gif";
> var image2="pic2.gif";
> var image3="pic3.gif";
> var image4="";
> var image5="";
> var image6="";
> var speed="4";
> var pause="2";
> var regkey="";
> </script>
> <script src="DS_BGFade.js"></script>
> Hello badis
> </body></html>
> but when doing the same code in an asp.net page located at the same folder
> as the HTML file, the javascript is running but the picture animation is
> not
> showing..!!?
> this is the code:
> <html xmlns="http://www.w3.org/1999/xhtml" >
> <head runat="server">
> <title>Untitled Page</title>
> </head>
> <body>
> <script language="JavaScript">
> var author="www.dseffects.com";
> var image1="pic1.gif";
> var image2="pic2.gif";
> var image3="pic3.gif";
> var image4="";
> var image5="";
> var image6="";
> var speed="4";
> var pause="2";
> var regkey="";
> </script>
> <script src="C:\Documents and Settings\Rochdi\My Documents\Visual Studio
> 2005\Projects\WebSite1\DS_BGFade.js"></script>
>
> </body>
> </html>
> --
> Regards,
> M.Rochdi
|