Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 21, 2012, 04:51:35 AM

Pages: [1]   Go Down
  Print  
Author Topic: Linking to home page of section  (Read 1030 times)
Daisy24
Trekkie
**
Offline Offline

Posts: 11


WWW
« on: May 22, 2004, 12:27:38 PM »

My site is http://ekinc.net but I'm having problems with http://ekinc.net/kim.html

The second address is the home page for that section of the site.  There are also pages for Editing and Design, which have "Home" buttons on them, which lead to the section home page.  My problem is that I can't get any of the home buttons to go to the section home.  The only way they will go to the section home is if I put a copy of the page under the directory and have the address as kim/kim.html, since that is what the home button is looking for, but then all the links need the extra kim in the addres and it's a vicious cycle.  I can't seem to find a way to get the home buttons to link to something not in the same directory, since kim.html is on the same level as the ekinc.net home page.

Any help would be greatly appreciated.  If you need me to explain the problem better, let me know.

Thanks:)
Logged
TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #1 on: May 22, 2004, 12:37:36 PM »

Use this:
Code:
a href="/kim.html"

The slash in front of the filename indicates to look at the top level.
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
Daisy24
Trekkie
**
Offline Offline

Posts: 11


WWW
« Reply #2 on: May 22, 2004, 12:59:39 PM »

I tried that, but It still isn't working.  I made sure the code is exactly like you said, and it still is looking for /kim/kim.html

Thanks for trying.
Logged
TranzNDance
Princess of Naboo
Berserker Poster
*****
Offline Offline

Posts: 11809



WWW
« Reply #3 on: May 22, 2004, 01:03:10 PM »

I looked at the code and it hadn't changed:
Code:
<a href="kim.html" onClick="MM_nbGroup('down','group1','Home','../HomeButtonD.gif',1)" onMouseOver="MM_nbGroup('over','Home','../HomeButtonL.gif','',1)" onMouseOut="MM_nbGroup('out')"><a href="kim.html" onClick="MM_nbGroup('down','group1','Home','../HomeButtonD.gif',1)" onMouseOver="MM_nbGroup('over','Home','../HomeButtonL.gif','',1)" onMouseOut="MM_nbGroup('out')"><img name="Home" src="../HomeButton.gif" border="0" onLoad=""></a>

Did you upload the changed file?
Logged

Grr..!! Luff Ya Grr..!! Luff Ya Grr..!! Luff Ya
Danielle
Guest
« Reply #4 on: May 22, 2004, 01:03:17 PM »

Hi,

Is the page in the same directory? I apologize if I'm misunderstanding, but if the kim.html page is in the same folder as the home page, you would just have:

href="kim.html"

Alternatively, you can use the absolute url to the page.  If it is http://ekinc.net/kim.html you can use:

href="http://ekinc.net/kim.html"

A "/kim.html" path would make the page go up a directory, while "kim.html" looks for the file in the same folder.

Thanks
Logged
TigerCardeo
Spaceship Captain
*****
Offline Offline

Posts: 123


WWW
« Reply #5 on: May 27, 2004, 04:30:58 PM »

Hey Danielle: (and anyone else Razz )

Checkout to make sure that you don't have a sort of base-href in the body or heading. If you do...sometime dream weaver adds that TO ALL LINKS in the document. Doesn't matter if they link outside your site.

hope this helps.
Logged

BlueTop Media[/url]
THE Community for Avid Gamers & Computer Gurus!
Daisy24
Trekkie
**
Offline Offline

Posts: 11


WWW
« Reply #6 on: May 30, 2004, 08:12:52 PM »

Thanks everyone for responding.  TranzNDance was right with her original suggestion, but I was uploading it to the wrong folder on my site Embarassed
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: