G
Guest
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>
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>