View Full Version : JS, webpage directory...

06-25-2010, 07:35 PM
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. :)

06-25-2010, 07:49 PM
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:

<!-- 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>

06-25-2010, 07:50 PM
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.

06-25-2010, 08:23 PM
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.

06-26-2010, 01:41 AM
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.

06-26-2010, 03:59 PM
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.

06-26-2010, 07:42 PM
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.