Results 1 to 7 of 7

Thread: JS, webpage directory...

  1. #1
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation JS, webpage directory...

    Hello everyone, I'm new to DD. I can not speak so very advanced in english so I hope you could help me out here.
    My computer is swedish and I do not know what "webpage directory" is?
    JS, is a file?

    Well, here is my problem. http://www.dynamicdrive.com/dynamicindex11/abox.htm

    I understand this, and have followed the steps but I do not get it with the X icon-image-thing to save below.
    How do I upload this to my "webpage directory"? Where is it? How do I do this?

    If you could print show me the images OF examples/steps/pages/where it is located and insert it in your comment THAT would be excellent! If there is anything else more important I should know, please let me know.

    Thank you, i'm waiting for your response.

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    That just refers to the directory (folder) on your web host where you are using the script.

    By default, upload the image to the same place you upload your page with the script. If you upload the image to a different location, be sure to change this line in the script to the correct location:
    HTML Code:
    <!-- make sure the src="" attribute matches the correct location of the image -->
    <!-- by default it should go in the same location/folder/directory as the page that uses the script -->
    <img src="close.gif" width="16px" height="14px" border=0>

  3. #3
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    A directory is just a folder on your server. Depending on the structure of your web page it could be dynamicindex11/ or public_html/dynamicindex11/ or something else...


    JS is an extension, and an abbreviation for javascript, a coding language.


    via http://translate.google.com/


    En katalog är bara en mapp på din server. Beroende på strukturen på din hemsida kan det vara dynamicindex11 / eller public_html/dynamicindex11 / eller något annat ...


    JS är en förlängning och en förkortning för javascript, ett kodspråk.
    Corrections to my coding/thoughts welcome.

  4. #4
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    So for example, if i right click an image in my folder and open it on mozilla, that's the code I will be taking?...If I understood it right?
    I am looking for the X image in my popup folder now... I have no idea where to find the image code & have no idea where to place the code.
    Last edited by diskmaskin.; 06-25-2010 at 08:43 PM.

  5. #5
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    is your page online? if so, please post a link.

    The image tag is already written in the script. If you uploaded the image to the same folder you uploaded your webpage to, you don't need to change anything. You only need to change it if you upload the image to a different folder.

  6. #6
    Join Date
    Jun 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, it's not my page really. I'm editing my aunts page, she says it's really private, i'm sorry.
    There is just something that isn't going well, i think i've done everything right? The only thing I did was saving the popup folder & I have copied the link code I have posted above. When I saw the page, the close button image appears as an white image like it's not really loaded yet. When I click this button, it doesn't close. When I try to move it around, it doesn't move.

    Have I done anything wrong in this code?
    I'm just having problems with X button image/& moving part, nothing else.

    I haven't changed anything in my folder, haven't made any changes, I just left it like that.

  7. #7
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    I'm sorry, but I can't be of any more help without seeing your page. It would just be a wild guess, and be just as likely to break something as to fix it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •