473,385 Members | 1,337 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Frames - Opening a child with the frameset

Here's my problem: It is necessary to have people enter in direct
links to pages on my site, which is frame-based, but when they go to
any page that isn't the home page, the frameset doesn't load, so
they're only presented with the content of the main frame, not the top
logo or sidebar frames.

Is there a quick Javascript fix for this? I tried to Google search for
a solution, but couldn't come up with the right search terms.

Also, when navigating to sub-pages from the main page via links in the
frames, is there a way to get the address bar to show the direct-link
address to the sub-page, instead of only showing the top-level
address?

Thanks.

Jul 12 '07 #1
1 1484
On Jul 12, 9:55 am, mark.martin...@gmail.com wrote:
Here's my problem: It is necessary to have people enter in direct
links to pages on my site, which is frame-based, but when they go to
any page that isn't the home page, the frameset doesn't load, so
they're only presented with the content of the main frame, not the top
logo or sidebar frames.
Consider losing the frames.
>
Is there a quick Javascript fix for this? I tried to Google search for
a solution, but couldn't come up with the right search terms.
It's been a while, but something like this:

if (top === self) location.replace("myframeset.html?frame=mypage");

You will need a script on the server side to populate the frameset
according to the "frame" parameter.
>
Also, when navigating to sub-pages from the main page via links in the
frames, is there a way to get the address bar to show the direct-link
address to the sub-page, instead of only showing the top-level
address?
Not unless you want to re-run the frameset script on the server, which
would be a waste. I assume you are worried about bookmarks and you
should be. Frames are not worth the trouble and have been out of
fashion for at least ten years.

Jul 12 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bart Plessers \(artabel\) | last post by:
Hello, Currently developping a site, where I use some session variables. The site is located at my home computer. Because I have a dynamic IP adress, I use no-ip (www.no-ip.org) to have my...
1
by: JP | last post by:
Hi, How can I create a dynamic frameset whose content changes based on user inputs? Specifically, how do I toggle a frame within a frameset? How can I allow a user to "close" or "dock" a...
1
by: moon | last post by:
Wondering if this is possible? Situation: I have a frameset with a few frames in it that loads side graphics, main navigation, subnavigation and content. Everything works fine. Now, I decided...
13
by: elad | last post by:
Hi The Menu doesn't work properly when I have 2 frame and the Menu popup frame=document target frame, when I choose item in the menu the doc opened and the menu get stuck. Here is the code...
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
2
by: Pat Sheen | last post by:
In IE6 I'm using the following html to have three frames. One of the frames is to open a locally stored MS Word document. <frameset rows="100,1*"> <frame name=SiteHdr...
14
by: Mark | last post by:
Hi Guys, I am very new to ASP.NET world. I need to create three frames. One at the top, one on the left and another on the right side. I don't know how to do it. So please help me with it. ...
5
by: Yun | last post by:
I have a frameset initially loaded to a page <frameset id=SV name=SV></frameset> Now I want to use JavaScript to dynamically add frames to this frameset. I have tried to use code like...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.