|
-
Nov 21st, 2003, 08:44 AM
#1
Thread Starter
Junior Member
dhtml code problems (solved)
I have uploaded everything to the server and my web page is now running. My only problem is that i recieved some dhtml code from dynamic drive and it deals with fading pictures. In the code i have to put the location of my pictures. What do i put for the location of my pictures?? I can not just put where they are now because they wont show up when i upload the new file on the server.
Last edited by Blackmer; Nov 24th, 2003 at 08:19 AM.
-
Nov 21st, 2003, 11:32 AM
#2
Frenzied Member
lets say that you have a root folder "\" and an images folder "\images\" if you're trying to use images on the root folder, link to them like this:
<img src="images/MyImg.jpg">
Have I helped you? Please Rate my posts. 
-
Nov 21st, 2003, 12:53 PM
#3
Thread Starter
Junior Member
.....
my problem is it is inside a part of a program. it fades 3 images in and out. I have to put my own images in the program. right now i could have say C:\windows\desktop\picture.jpg . Now when i uploaded it to the site the pictures have an error and show the red X. Is there a directory like "C:" that the server has or what?
-
Nov 21st, 2003, 01:20 PM
#4
Frenzied Member
the servers equivelant to c:\ is /
but I'm not sure how to link to a picture is a higher folder than the one with the webpage. maybe /../../pic1.jpg would work.
If you are really stuck, tell me the where the picture is located on the servera dn where the webpage is on the server.
Have I helped you? Please Rate my posts. 
-
Nov 21st, 2003, 01:29 PM
#5
Thread Starter
Junior Member
?
servera dn. Sorry i'm pretty new at this
-
Nov 21st, 2003, 01:42 PM
#6
Frenzied Member
sorry, lol, I can't spell. I meant
server and where the webpage is on the server.
Have I helped you? Please Rate my posts. 
-
Nov 21st, 2003, 02:04 PM
#7
Thread Starter
Junior Member
ok
so if i put my index page into a folder called index on my desktop and then have a folder inside that one called images and want to use nateteach1.jpg as my image it would look like this?
/index\images\nateteach1.jpg ?
right now it looks like this
C:\windows\desktop\index\images\nateteach1.jpg
-
Nov 21st, 2003, 02:15 PM
#8
Frenzied Member
use this:
/images/nateteach1.jpg
Have I helped you? Please Rate my posts. 
-
Nov 21st, 2003, 02:16 PM
#9
Thread Starter
Junior Member
Thank YOu
Hey, Thank you very much.
-
Nov 21st, 2003, 02:22 PM
#10
Frenzied Member
please edit the title of the first post to :
"dhtml code problems [solved]" or similair.
Have I helped you? Please Rate my posts. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|