There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
help placing animation on page


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
b unit's Avatar
Junior Member with 4 posts.
 
Join Date: May 2006
Experience: Beginner
11-May-2006, 09:53 PM #1
Unhappy help placing animation on page
Hopefully someone can help I'm running out of things to try!! So I put together my first webpage using MS VW Developer Express and I am trying to incorporate an animation that I have created using Corel Photo-Paint. I have it saved as a gif in my app file and have placed it on my default page and it shows up on the design view and animates.......however when I view the page in the browser on the asp.net development server there is a red x where it's supposed to be. Does anyone have any ideas why this would be happening?
thecoalman's Avatar
Computer Specs
Distinguished Member with 2,503 posts.
 
Join Date: Mar 2006
Location: Pennsylvania
Experience: What's the shiny red button for? <click>
11-May-2006, 10:35 PM #2
That's because the image is not where the code says it is. There's no file to display. Either you didn't upload it or uploaded it to the wrong directory and/or the code is pointing to the wrong place.
b unit's Avatar
Junior Member with 4 posts.
 
Join Date: May 2006
Experience: Beginner
11-May-2006, 10:51 PM #3
confused
How do I put the image where the code is, I don't understand
b unit's Avatar
Junior Member with 4 posts.
 
Join Date: May 2006
Experience: Beginner
11-May-2006, 10:53 PM #4
Also, how come it works in the design view of my page if the code is pointing in the wrong direction?
thecoalman's Avatar
Computer Specs
Distinguished Member with 2,503 posts.
 
Join Date: Mar 2006
Location: Pennsylvania
Experience: What's the shiny red button for? <click>
12-May-2006, 02:30 AM #5
I'm not familair with the applications you have mentioned above but.... right click the red X in the webpage and select properties. The properties will tell you where the image is supposed to be according to the code in the webpage.

Another way is open the page in IE or whatever browser you use. In IE click view>source Somewhere depending on where you have placed the animation your going to find code similar to this:

Quote:
<img src="http://www.yoursite.com/yourimage.gif">
Using the above code the image would have to reside in the base public html directory of your site. The code could also look like this:

Quote:
<img src="yourimage.gif">
In that case the image would have to reside within the same folder as the webpage.

As I said above whatever you have is not pointing to where the image is hence the red-ex.
b unit's Avatar
Junior Member with 4 posts.
 
Join Date: May 2006
Experience: Beginner
12-May-2006, 06:58 PM #6
still not working
Ok, since I have not worked with any other software creating webpages i'm not sure how they are set up but in MS VWD you have 2 views: design and source. Source is where the code goes and design is where you can view the results of the code as well as edit your page. And I know that you said that my code must not be pointing to the image, but it shows up in the design view with no errors; the design view will not display if there are errors.

Once again, I have not worked with other programs but in MS VWD all of your files in the webpage are located to the right of your display mode: ie-design or source, I have the image stored in a file called App_GlobalResources and the html that I have on the default page is <img src="App_GlobalResources/rollin'.gif" width="288" height="288" /> . Any thoughts?
thecoalman's Avatar
Computer Specs
Distinguished Member with 2,503 posts.
 
Join Date: Mar 2006
Location: Pennsylvania
Experience: What's the shiny red button for? <click>
12-May-2006, 07:40 PM #7
Quote:
Originally Posted by b unit
image stored in a file called App_GlobalResources and the html that I have on the default page is <img src="App_GlobalResources/rollin'.gif" width="288" height="288" /> . Any thoughts?
App_GlobalResources is a folder and is relative to where the page is. So if your page is located here: Mysite.com/mytestfolder/mytestpage.html the image has to reside in Mysite.com/mytestfolder/App_GlobalResources/rollin'.gif

BTW, remove the ' in rollin. Don't use characters like that in filenames. That may even be the source of your trouble.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:07 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.