homepage Welcome to WebmasterWorld Guest from 174.129.103.100
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Persistent Site Navigation Help?
redjak




msg:4170957
 6:55 pm on Jul 15, 2010 (gmt 0)

I don't know that this is the right place to ask but I hope someone can direct me. I'm administrating a game site that has until now just been a set of forums. Recently I was requested to add a statitistics package on to the site which I did. The forums and the stats both use php have their own index files in seperate subdirectories within the root of the site. I created a frameset at the root which is essentially a little navbar in the top frame and the bottom frame for displaying the content. It works well enough but the problem is that anytime an internal link is opened in a new tab or window, no more frameset.

I have seen java script solutions for forcing framesets but that seems to be potentially more problematic. I considered just modifying the headers of the themes to include the navbar but that means changing a lot of themes. Can anyone suggest a solution that won't require me modifying a bunch of existing theme files or some precarious hacked coding? THANKS!

[underworldgaming2.com...] is the site address.

 

tedster




msg:4170979
 7:17 pm on Jul 15, 2010 (gmt 0)

Hello redjak - welcome to the forums.

Your description of the problem is excellent. We prefer verbal descriptions and code to visiting the site itself, which will change in the near future as you fix things.

I've faced the same issue and IMO some kind of scripted solution is really the best way to deal with all the issues faced by opening a framed URL in its own window or tab. The solution I used is explained here: [webmasterworld.com...] in the post with a blue title
FORCE MANY PAGES INTO FRAMES

As far as I know, you need to force the page to have a new frameset built around it somehow and there's no easier way than javascript (although there are some more difficult ways with server-side scripting.)

Maybe someone else has another solution. I've been out of the frameset business for quite a few years ;)

redjak




msg:4171573
 3:06 pm on Jul 16, 2010 (gmt 0)

Thanks for your response Tedster! I want to make sure I understand correctly.

With this script I would replace the contents of my frameset (index.htm) with the html and then I would put the passpage piece into the header of my ../Forums/index.php and my ../stats/index.php?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved