473,473 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Is it possible to open two frames with one URL?

...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
5 1409
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ck388 | last post by:
I am trying to open a frameset in a new window......where the frame called "main" shows the file called customerGeneral.aspx. I can't get it to work though...i always get something like...
2
by: W. | last post by:
Hi all ... I have a page with 4 frames in it. If I click on a button in the 4th frame, a new window has to be opened and the value of the listbox in the 3rd frame hoas to be passed .... My code...
3
by: Jennifer | last post by:
I have a page with three divs (top, left and center). I want to place hyperlinks in the left column (div), where each link calls a separate page. I want each separate page to open in the center...
14
by: Alex Molochnikov | last post by:
Is there any way to embed the HTML code inside FRAMESET? Something like this: <frameset cols="50%,*"> <frame src=" ... HTML code for the frame ... "> <frame src="Frame2.html" name="main">...
1
by: Ajar | last post by:
Hi, Using urllib2,ClinetForm and ClinetCookie modules I have logged into my ISPs web site and managed to fetch the first page. Now, on this page there is this link: <a href="#" ...
5
by: Kojak | last post by:
I have a own search engine in a intranet. It can be opened by the search button or with the target="_search". On the page is a Textbox and a button. The page works well, but just opens in the...
4
by: Amir Eshterayeh | last post by:
Dear Friends My asp hyperlink goes to relative address instead of absolute. I like navigate url goes to outsite link like www.asp.net but now, it goes to www.mysite/www.asp.net please help....
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
5
by: GS | last post by:
Guys: I have a question, Is it possible to implement pop-up window without Java script, we don't want to use java script since it might get blocked by pop-up blocker. Thanks in advance. GS.
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.