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/