Help - Search - Members - Calendar
Full Version: My Site's Navigation Links
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
dsmith530
I recently changed the links in my navigation bar and now none of them work. Can someone test this for me and tell me what I did wrong? My site is: http://duncansphotos.com

Each link (map, gallery, blog, etc) should take you to http://duncansphotos.com/map, http://duncansphotos.com/blog, etc
but it doesn't seem to work.

Suggestions?
Christian J
The links load a complete frameset (such as http://duncansphotos.com/about/ ) inside the top frame.

I recommend not using frames. If you must use them, make sure the (currently missing) link TARGETs open the links in the proper place (you probably want the new frameset to replace the previous one with TARGET="_top").

Also you should use frameset Doctypes in frameset files, and ordinary Doctypes only for the normal framed pages.
dsmith530
QUOTE(Christian J @ Jun 7 2012, 07:35 AM) *

The links load a complete frameset (such as http://duncansphotos.com/about/ ) inside the top frame.

I recommend not using frames. If you must use them, make sure the (currently missing) link TARGETs open the links in the proper place (you probably want the new frameset to replace the previous one with TARGET="_top").

Also you should use frameset Doctypes in frameset files, and ordinary Doctypes only for the normal framed pages.


Thanks. I changed the target to "_top" and got the desired effect.

Although it would be more efficient if it didn't reload the top frame every time you click a link but still changed to duncansphotos.com/gallery or shop, etc.

I've been thinking of redoing the navigation/banner with php. Would that be possible/easy to do?

I would still have to use frames for the shop portion of my site, so I might not be able to use php
Christian J
QUOTE(dsmith530 @ Jun 7 2012, 09:53 PM) *

Although it would be more efficient if it didn't reload the top frame every time you click a link but still changed to duncansphotos.com/gallery or shop, etc.

You can link directly to http://duncansphotos.com/about.html and let it load in the bottom frame of http://duncansphotos.com/. A disadvantage is that users can't bookmark the framed page as easily that way.

QUOTE
I've been thinking of redoing the navigation/banner with php. Would that be possible/easy to do?

Yes it's very easy with the include statement.

QUOTE
I would still have to use frames for the shop portion of my site, so I might not be able to use php

You can use e.g. an iframe for the shop page, even if the rest of the site is done in PHP.
Brian Chandler
QUOTE
I would still have to use frames for the shop portion of my site, so I might not be able to use php


Why do you "have" to use frames?

(PHP is a programming language, so it can produce any pages you can generate with an editor.)
dsmith530
RE: Christian J & Brian Chandler...
I would have to use frames for the shop portion of my site because if I remember correctly iframes are not supported by etsy, but I'll give it a shot.
Christian J
I just meant you could load the Etsy page in an iframe instead of using a frameset.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.