473,947 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
+ 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 1436
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.javas cript 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******** ********@demete r.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******** ********@demete r.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******* *********@demet er.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.javas cript 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
3950
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 frames.main.location is null....seems like the frameset is not loaded before wnd.frames.location.replace(URL) is called. If i add an alert("TEST") between the window open and the frame replacement....then it works. The alert("TEST") seems to ensure that...
2
2188
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 works fine in IE, but doesn't in Netscape ..... First, the value of the listbox .... I try to get it with parent.frame3.form.listbox.value ... But an alert of this (as a test) does nothing .... I tried several combinations like parent.frames...
3
23900
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 div, leaving the contents of the other two divs unchanged. But I don't know how to set the "target" property to open in the center div. I would prefer to do this without using frames. Does anybody know how to set the "target" property of each...
14
6557
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"> </frameset><noframes></noframes> I tried using a Javascript function that returns the HTML text, as in the following code:
1
2263
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="#" onclick="check(4);return false;" class="zi01">Service Records</a> I need to click this link from python code. How do I do it? check(4) is
5
4049
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 wrong frame. I know the frame name I have to use is "_main" but I dont know how to use it with Javascript. function search( strKey ) { var strSearch= document.forms(0).txtSearch.value; document ??? .location.href='ViewPage.aspx?SrchKey=' + strKey...
4
8964
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. I create the navigatURL from database dynamically. I see the same question mentioned here but the response is not souitable for me: http://www.dotnet247.com/247reference/msgs/11/57708.aspx
18
3369
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 the image. The desired behavior is that when the pop-up is invoked, I want the underlying window to stay put. I don't have this problem when I run the code on my local computer but I do have it when I run the code on geocities.
5
17218
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
11173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11352
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10694
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8256
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7431
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6118
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6336
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4948
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 we have to send another system
2
4540
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.