Results 1 to 10 of 10

Thread: dhtml code problems (solved)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Location
    michigan
    Posts
    28

    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.

  2. #2
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Location
    michigan
    Posts
    28

    .....

    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?

  4. #4
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    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.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Location
    michigan
    Posts
    28

    ?

    servera dn. Sorry i'm pretty new at this

  6. #6
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    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.

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Location
    michigan
    Posts
    28

    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

  8. #8
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    use this:
    /images/nateteach1.jpg
    Have I helped you? Please Rate my posts.

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Oct 2003
    Location
    michigan
    Posts
    28

    Thank YOu

    Hey, Thank you very much.

  10. #10
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    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
  •  



Click Here to Expand Forum to Full Width