HTML - How To Open Child Window From Another Child Window
Hi,
I have a java script function like this to open one child window form main window. Its working properly. function billingMain() { top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/billing/billingMain.jsf','window1', 'width=950,height=400' +',menubar=0' +',toolbar=0' +',status=0' +',scrollbars=1' +',resizable=0' +',location=0') top.consoleRef.document.close() } But when my child window opened, i want to open another child window from previous child window. and here is the script follows for this, function UB92Main() { top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/billing/claimInformation.jsf','UB92', 'width=450,height=250' +',menubar=0' +',toolbar=0' +',status=0' +',scrollbars=1' +',resizable=0' +',location=0') top.consoleRef.document.close() } here the second child window is not opening. How to resolve this. Thanks, Vinutha. Similar TutorialsI'm trying to set up html links in a parent window that update content in the same child window(rather than opening successive new windows with each click). Having the same target name in the anchor tag looks to be the easiest way to do this but it's not working in conjunction with a servlet mapping. This works: Code: <a href="test.html" TARGET="targetWindow">Click Here</a><BR> This doesn't work. This link will open a new window every time it's clicked Code: <a href="someURLmapping" TARGET="targetWindow">Click Here</a><BR> What is it about the servlet URL mapping that causes the links to not return to the child window? Is there another way to solve this issue? Thanks! Shawn I have main window and child window opened by child = window.open(adr, name, "height=200, width=600,resizable=1"); Both pages have <title>title</title> But whereas main widow has in title bar "title - Microsoft Internet Explorer" ,the child window has "http://<ip address> - title - Microsoft Internet Explorer" Why that difference? I want the ip address in child window to disappear, but don't know how. It does the same in IE6 and Mozilla. Thanks. Hi, I have a table in which some entries open a new window with the required information. when a new window is opened, my parent page scrolls to the top, and again I have to search for the row where I had been previously, What property should I set as to avoid this? Please reply.. hiii all, i am making 2 html pages. one is parent window and another is child window but i want, when i click on a link of child window , parent page will load but with diff frame on parent page i am able to reload the parent pag but the same form will appear so how can i load diff form when parent page is reload?? please mention code for both child and parent page and i am using html e\with java script please reply thanks Hi all, I am wondering if anyone know how to have a link, once clicked, open a popup window WHILE also changing the page in the existing window. I know how to code them separately, but I do not know how to combine the two actions. HTML Code: <A HREF="javascript:popUp('popup.html')">link name</A> My site currently uses the above code to open popup windows. Any help would be much appreciated, David Here is the case. I have an HTML page that opens a pop-up. Within the popup I need upon click to open a new window. The code is as it should be according to all references: <a href="some url" target="_blank">text</a> Everything is ok with IE6 and IE7 - a new window is being opened. What happens in Firefox is very strange - tabs are shown and the currently opened popup becomes one of the tabs and the new window opens in a new tab of the pop-up window instead in a new normal window. Did anybody encounter the same problem? Any solutions? I have a site that opens a new window to this link: http://www.myvira.com/part_reg/part_...this_event=154 If you click the "Pay Fee" button link, I want it to open the payment window in a new one but it either keeps it in the current window or back to the main window that this all started from (http://www.myvira.com and then click on the "Register for Race" item). Any help would be much appreciated!!! Hello everyone, I've been stuck on this for a good few hours trying to figure it out. At which i have to come to a conclusion that it's a User Browser preference. I was using the target="_blank", and it just keeps opening in a new tab. Anyone have a simple quick solution to make sure it opens in a new window? Hi, can any one show me how to change this HTML to make the link open in a new window? I am new to HTML and cant see which part selects how it opens. HTML Code: <!--- begin Howdens.com dropdown ---><form action=" " method=" GET " id=form3 name=form3><table border=" 0" cellpadding=" 1 " cellspacing=" 0 " width=244><tr><td bgcolor="#ffffff" align=" center " ><a href=" http://www.Howdens.com "> <img src=" http://www.howdens.com/i/link2us/small-howdens-stack.jpg " width=244 height=76 border=0 alt="link to Howdens.com"></a><br clear=all><SELECT NAME="URL " SIZE=1 onChange="window.open(this.options[this.selectedIndex].value,'_top')"><OPTION selected="choose one " >choose one<br><option value="http://www.Howdens.com ">Howdens.com</option><option value="http://www.howdens.com/kitchens/">Kitchens </option><option value="http://www.howdens.com/appliances/">Appliances</option><option value="http://www.howdens.com/joinery/">Joinery</option><option value="http://www.howdens.com/bathroom-cabinets/">Bathroom Cabinets</option></select></td></tr></table></form><!--- end Howdens.com dropdown ---> Thanks for any help. Hi All, Is there any posibility to open a window with some default html code. Example : In a page dropdown changes i will launch a new window using window.open() as soon as the window opens i want to display default content to the user until the the browser get the response from the server. Thanks in Advance. I need to attach a link to another page, but this opens up in the current page, how do i open up another new window....? <a href="V:\INFORMATION\\Access to Reporting Services_demo.htm">Show me how!</a> i got a problem i cant figure out. in dreamweaver when i add the behavior "open new browser window" to a link that is not external....but like a small pop up page.....when the user clicks on the link, the window opens, but the main window resets....meaning if the link was at the bottom of the page and the user scrolled down to get there....they then have to rescroll on the page to get back to the bottom. how can i get the new window to open without changing the view of the main page. many thanks! hi there, I wonder how to open a new window from a link, set the size and remove the toolbar? In my application the user can click on a car model, and I would like to open a new window (smaller) with only the relevant info. the window should be a new one (so he can simply close it and stay in the main page). thanks for any pointers. Hi guys. I was hoping somebody can help me with this problem. I have an image that I would click on and it would open in another window, in a larger size. The only way I can presently do this is by using the target="_blank" code but this opens a window with scrollbars and the address bar. I would like just the image. Also with this method I have to use 2 images, a small pic, and a larger version. Is there any way to use just one size image, and have it open in a new window in a bigger size? Please look at this page to see what I would like to do, i.e. clicking on an image and have a pop-up window open up with a larger version of that image. http://www.currys.co.uk/martprd/product/seo/733683 I would appreciate any help with this. Thank you. how do i create a hyperlink that opens a new window Hi Guys, I have recently changed over to DOC TYPE "HTML 4 strict" My page is validating fine apart from where i have used target="_blank" on one of my links. Is there a way around this or do i haev to go back to transitional? The page is here www.creativecogs.com/final Link to the validation error http://validator.w3.org/check?uri=ht...doctype=Inline CC_DESIGN Hi, I have a hyperlink in one of my application as: a href="/servername/application/Folderjsp/link_to.jsp?person=USERNAME"target="new_sc_window" >Test Link</a> When a Superuser click on one of the Subusers it opens a New window with the Current Username parameter passed.(Via the jsp page). But the problem is when the SUperuser is coming back to his own window, he is being logged out. I know i will not have this problem (in my application ) if clickin on that link opens a NEW Internet Explorer browser window; and then pass the parameters. Is there any workaround. Please suggest. Thanks, JJ Hi Guys! Me again with a noob question... On this page : http://kunstler.ca/Coordonnees.html I have a GoogleMap image that is a link... But how do I make it open in a new tab or new window? I've tried some stuff on tutorial sites but can't get it to work. Thanks for the help... Maybe some day I'll be the one helping others! Dominick http://kunstler.ca Hello, How do I make a window.open method to open an html file and make it NOT resizable. Below is the code I have: onclick="window.open('img_1440.html', '','width=600px,height=550px resizable=0');" This window is going to be a small popup window and we want to make it not resizable. Thanks, Ruchir Hello! i'm using this commands : <a href="#" onclick="window.open('http://www.google.com','mywindow','menubar=0');return false;">Haga Click Aqui para ver Presentacion</a> and i want to know if it is possible to give the size of the new window and if this command is ok for all kind of browsers or if it has an specific requiererment for users. Thank you very much for your help!!! |