Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Animation

Reply
Thread Tools

Animation

 
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      11-07-2006
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
 
Reply With Quote
 
 
 
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      11-07-2006
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



 
Reply With Quote
 
 
 
 
=?Utf-8?B?QmFkaXM=?=
Guest
Posts: n/a
 
      11-08-2006
how can I specify the path knowing that the JS file is in the same folder as
the asp web page!!!? because when I tried to put the src file as:<script
src="DS_BGFade.js"></script>
but it didn't find it and when I put the whole path it did find it and it's
running but the images are not loaded!!!?


"bruce barker (sqlwork.com)" wrote:

> 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

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thunderbird: what is possible for HTML-mails with animation and sound? fbag@gmx.net Firefox 6 01-26-2006 03:44 PM
upload animation on web page Brian Henry ASP .Net 4 03-22-2005 04:46 AM
Animation and Wav =?Utf-8?B?dmlvbGE=?= Microsoft Certification 0 03-11-2005 04:39 PM
Animation in Online Help Files rbruno@csc.com Microsoft Certification 1 08-26-2004 11:28 PM
Off subject - Know of an Gif Animation Program? Axl Firefox 1 09-08-2003 08:39 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57