View Full Version : Sub menu link
Hi all,
It is me again....
I have a main navigation bar right below header and just made sub menu on the left side of column but for some reason it doesn't open file.
http://www.cookingkorean.com/cooking101.html
If you double click my sub menu (Pantry, Korean market,..etc), it goes no where.......of course I uploaded link files to cureFTP ...(pantry.html, koreanmarket.html..etc)
What happened ? What did I do wrong this time?:smack:
Jo
Terminator1138
06-08-2007, 05:51 AM
make your you placed them in the correct folder of cooking 101, there is where they are pointing too
Terminator1138,
I found out today that I don't even have a folder called "cooking101" but tried to direct my file to the folder that doesn't exist. :smack:
I can understand people put files in different folders because it is efficient to manage contents.
However, is there any other difference between
<a href="pantry.html">Pantry</a>
and
<a href="http://www.cookingkorean.com/cooking10/pantry.html">Pantry</a>
?
Can I just put all files under one folder?
Thank you
Jo
Terminator1138
06-08-2007, 10:28 AM
Well You had the files pointing to an non-existent folder if you have everything in the root you can have pantry.html and will work just fine :), however the longer url is not needed.
There is absolute and relative... and you are showing both..
relative would be something like images/pic.gif etc whereas absolute would be site url plus file location like mysite.com/images/pic.gif
Since they are in the root you do not need the full absolute url
Hope this helps. I see you must have fixed it..
Spock
06-08-2007, 11:17 AM
I keep most of my additional content in a folder called pages I also try to give each new page file a name that matches its function.
My index.html is in the root folder. One of the links on that page is called links. I get to the page using the relative address "pages/links.htm".
In my pages folder I have a file called links.htm. Part of the contents of that file are links to other pages. One of those pages if called Freeware. The relative link I use to access it is simply "links_freeware.htm" as it is in the same pages folder as the calling program.
I have a separate folder for pictures that I call images. If I have a picture (say pic1.jpg) that I wanted to display on the links.htm page, I would have to "navigate" to the folder to display it. "../" moves up the folder structure and "./" could be used to indicate the same folder but is usually redundant.
My folder structure is partially like this:
public_html
.
.--images
.
.--pages
inside the links page then, I would use the relative link "../images/pic1.jpg" to indicate that the picture I want to use is in a folder in the same folder as pages. I must go up to the root folder (public_html) and then go into the images folder before I can access the picture I want.
I keep things separated this way so that any one folder doesn't have too many items to conveniently find quickly. Also, all my program (oops, sorry html!) files are in the same folder without any of the extra files that would tend to confuse the issue.
How big is my website? I just ran a properties request against the main folder on my computer and it came back with:
Size: 759 MB (796,452,167 bytes)
Size on disk: 800 MB (838,918,144 bytes)
Contains: 16,670 Files. 955 Folders
Hmm, I think I might want to prune that down some ... then again, perhaps not. I don't think I will run out of space any time soon as my host gives me 50,000 MB storage. ;)
[Added]
Oops, I just did a partial backup of my website and, thought I deleted an entire main folder I found my site has grown since the last backup!
Size: 1.02 GB (1,147,867,136 bytes)
Size on disk: 1.06 GB (1,147,867,136 bytes)
Contains: 16,886 Files, 913 Folders
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.