By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,028 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,028 IT Pros & Developers. It's quick & easy.

Is it possible to open two frames with one URL?

P: n/a
...consider a framed set of windows. Menu items replace the content frame
preserving the menu frame. Easy peasy.

One menu item would ideally replace the content frame AND the menu frame
as well, to allow access to a new set of menus,.

Can you have a URL with two targets? or is it down to a javascript
onclick() handler to replace two windows using a hand crafted function?
Dec 14 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
The Natural Philosopher said the following on 12/14/2007 11:03 AM:
..consider a framed set of windows. Menu items replace the content frame
preserving the menu frame. Easy peasy.

One menu item would ideally replace the content frame AND the menu frame
as well, to allow access to a new set of menus,.

Can you have a URL with two targets?
No.
or is it down to a javascript onclick()
Pretty much.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 14 '07 #2

P: n/a
Randy Webb wrote:
The Natural Philosopher said the following on 12/14/2007 11:03 AM:
>..consider a framed set of windows. Menu items replace the content
frame preserving the menu frame. Easy peasy.

One menu item would ideally replace the content frame AND the menu
frame as well, to allow access to a new set of menus,.

Can you have a URL with two targets?

No.
>or is it down to a javascript onclick()

Pretty much.
TVM.

Dec 14 '07 #3

P: n/a
rf

"The Natural Philosopher" <a@b.cwrote in message
news:11****************@demeter.uk.clara.net...
..consider a framed set of windows. Menu items replace the content frame
preserving the menu frame. Easy peasy.

One menu item would ideally replace the content frame AND the menu frame
as well, to allow access to a new set of menus,.

Can you have a URL with two targets?
No, but a URL can point to an entirely new frameset, target="top",
specifying a new "menu" and a new "content".
or is it down to a javascript onclick() handler to replace two windows
using a hand crafted function?
Not a javascript problem.

--
Richard.
Dec 15 '07 #4

P: n/a
rf wrote:
"The Natural Philosopher" <a@b.cwrote in message
news:11****************@demeter.uk.clara.net...
>..consider a framed set of windows. Menu items replace the content frame
preserving the menu frame. Easy peasy.

One menu item would ideally replace the content frame AND the menu frame
as well, to allow access to a new set of menus,.

Can you have a URL with two targets?

No, but a URL can point to an entirely new frameset, target="top",
specifying a new "menu" and a new "content".
Ah..I hadn't thought of that..
>or is it down to a javascript onclick() handler to replace two windows
using a hand crafted function?

Not a javascript problem.
No,. but a javascript solution..one could do two window.opens in a function?
Dec 15 '07 #5

P: n/a
The Natural Philosopher said the following on 12/15/2007 4:39 AM:
rf wrote:
>"The Natural Philosopher" <a@b.cwrote in message
news:11****************@demeter.uk.clara.net...
>>..consider a framed set of windows. Menu items replace the content
frame preserving the menu frame. Easy peasy.

One menu item would ideally replace the content frame AND the menu
frame as well, to allow access to a new set of menus,.

Can you have a URL with two targets?

No, but a URL can point to an entirely new frameset, target="top",
specifying a new "menu" and a new "content".

Ah..I hadn't thought of that..
If you have server side processing, that is the best solution. You could
have each link point to the frameset and have two parameters. The menu
page and the content page file names. Then the server can return the
appropriate source for the frameset.
>>or is it down to a javascript onclick() handler to replace two
windows using a hand crafted function?

Not a javascript problem.
No,. but a javascript solution..one could do two window.opens in a
function?
You can do 100 in a function if you wanted. The limit would be when you
crashed the system from too many open windows. The error message I got
from IE7 when opening 100 new windows was:

Not enough storage is available to complete this operation

window.open won't help you with frames though.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 15 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.