The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> My Site's Navigation Links
dsmith530
post Jun 7 2012, 07:37 AM
Post #1


Member
***

Group: Members
Posts: 59
Joined: 11-August 11
Member No.: 15,149



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Christian J
post Jun 7 2012, 09:35 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
dsmith530
post Jun 7 2012, 02:53 PM
Post #3


Member
***

Group: Members
Posts: 59
Joined: 11-August 11
Member No.: 15,149



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 10:28 AM