HTML - Pop-up Window: Link That Targets Parent And Closes On Click
Currently, I have a link that pops up.
My issue is that within that popup, I have a link that I want to: - target the parent window - close on click I can get the link to either target the parent window or close on click, but I can't get it to do both. Help? Similar TutorialsI have a page containing 3 frames as follows; Code: <frameset rows="130,*" border="0"> <frame src="project01_head.htm" name="header" scrolling="no"c/> <frameset cols="150,*"> <frame src="project01_links.htm" name="links" frameborder="0"/> <frame src="project01_home.htm" name="content" frameborder="0"/> </frameset> </frameset> When the user clicks any link except the "home" link in the "links" frame, I want the page selected to be displayed in such a way that it takes up the "links" AND "content" frames. How do I do this? I can make the target frame "content" easily enough, I do this for the "home" page only. How do I make the target frame for a link page the "links+content" frame? I want the "links" frame to disappear when all links (except home) are selected and reappear only when the user returns home. I've got a photo gallery set up for my site, each gallery pops up in a new window. Within each gallery there are various thumbnails. Is there anyway I can link the thumbnails to open in a specified area of the window? (while still showing the other thumbnails) This is what I do have: <img src="images/Thumb/dress/dress3.jpg"> <img src="images/Thumb/dress/dress4.jpg"> <img src="images/Thumb/dress/dress5.jpg"> <img src="images/Thumb/dress/dress6.jpg"> --I haven't added the link html yet because I'm not sure if it will be different from the norm..please help Hello, I was told it's better to use <object> to nest an html file inside another html file, rather than using iframes. My question is, how do I via a link target the <object> to make it switch html files? Hi all, I have two html file (first.html and second.html) i called the first.html from batch Command file, then the batch file calls the second.html file. what i want is that while loading the second.html it will close the first.html using script. If its a parent then i can use top.close() or parent.close() but its not a parent window. Here no parent file. please help me to do this. Thanks Jay 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 ok.. well.. im making a control panel.. that updates the parent window... this is the code in the parent window to pop up the child: <img src="g2cpanel.jpg" onClick="window.open ('cpanel.html', 'newWin', 'width=255, height=255')"> and this is the whole page of my child window: <html> <head> <title>boyo productions::control panel</title> <style type="text/css"> body {background-color: black; text-color: yellow; } .maintitle {background-color: yellow; text-align: center; }</style> <script language="JavaScript"> function updateParent(newURL){ opener.document.location = new URL } </script> </head> <body><center> <img src="cpanel.jpg"><br> <div class="maintitle">welcome to the control panel!</div> <a href="javascript: updateParent('index.html')">**home**</a><br><br> <a href="javascript: updateParent('codes.html')">**get the codes!**</a><br><br> <a href="javascript: updateParent('forum.html')">**forum(coming soon)**</a><br><br> <div class="maintitle">© boyo productions 2007-2008</div> </body> </html> my problem is that i can get the control panel to pop up once the image is clicked on, but, in that child window of a control panel, the links wont update the parent window.. whats wrong with my code? plz help me.. ty all Hi Everyone, Please refer to attached test.zip. Open a.htm, tested under IE, Safari, Firefox no problem, but ONLY google chrome fail, seems cannot use call parent javascript function under the child iframe. Please advice. Thanks Hello, I can't seem to find the syntax which allows users to download a file by clicking on a link. For example, a user would click on a "Download" link which would pop up the download dialog box which prompts the user to save the file to their hard drive. Simply doing an a href link opens up and plays the file instead. Just to note, the file they would be downloading would be an mpg file. Thanks in advance for your help! I've got a page of results, and at the bottom it has page numbers and a link for next page etc all head in a div. Sometimes it is display correctly with 20px margin-top, but other times, it has no margin-top, but will move down to its correct position when you try click on it. Anyone had this sort of thing before? Thanks Hey guys, I want to click a button that is behind an image (set in absolute position). The button that I am trying to click is within an iframe so I cant use any sort of javascript to click it. The click must be real and not faken. Iframe containing button ----> Image over it Is there anyway I can setup the image so I would be able to click thru it (add transparency setting or something like that)? The image must remain visible but I want to be able to click the button that is under it. The goal is to make the visitor click the image but it would actually click the button in the iframe behind it. Thanks alot guys, I need to create a link on my company's website. Once the users click the link, it should download an excel file. the file is dynamic and it should change according to the person that logs in.. I am new to html. can you guys provide me ideas to do this... Thanks Ragha Hello all, i created a link & made it non underlined, & i need to make it underline after i clicked on it can anyone tell me how i can do this? the code for my link is <a href="frontpage.view.php" style=text-decoration>Home</a> Hey I have some music (mp3) on my site. I want to make a link so when someone clicks the link it will download the file. I don't want them to have to right click and click save target as or anything like that. Can this be done? if not in just html can you use other code to do it? Thanks SkaFreaks I have a form and instead of clicking on a "Submit Button". I would like to have a text link that can be clicked to submit the action. Any ideas. Does anyone know if there is an HTML code, were when you click at a certain point on the screen, it is a link to another document? Im not sure if this is posted in the right place but anywho im just wondering if this is possible (note:im a total noob) i have a table HTML Code: <table border="0"> <tr> <!--the embed code of a youtube video--> </tr> <tr> <p> video #1<br /> video#2 <br /> video#3 <br/ > and so on </p> </tr> and im wondering if its possible to click on one of the video #1,2 or 3 and set a javascript variable to a certain amount and change the embed code of the youtube video corresponding to the video # you selected. Is this possible or am i dreaming?? Thank You, why789 Hello, I have a trouble with my web site , all my hyper links i created are opened in the same windows..... Can anyone give me the code or help on how to make another window out when the hyper link is been clicked? Thanks Regards Steve Ladies and gentlemen, I'm just a beginner to HTML. I'm trying to develop my own web page but there is still lots of things under construction. Now just the home page and some of hyperlinks are finished and available. Most of other hyperlinks are unavailable and under construction, that's why when I click over these unavail. hyperlink, the browser always tell me "the page can not be displayed"... My idea is that I would like to know how to displayed a specific page which has the message "Sorry, this page is currently under construction". So everytime I cick over any link that is unavailable, it will show me this particular page with the message on... Does anynbody know how to do this, could you please advise me how to write code to get this done. Please help me, your help is highly appreciated... Many thanks & best regards, Hao. hi. i'm trying to make a simple site for my artwork, and i'm putting on a link to a page i'm working on. in the blank area, i want to put an image map of thumbnails, and i want them to target to the right, where the girl is so there aren't any new windows popping up or anything. so i don't know how to make the girl into a frame without the scrollbars so i can target the thumbnails. if that makes sense, any help would be VERY appreciated. here's the link - http://www.hotheadcrafts.com/x2.html Hi, i am trying to create a link that will take the user to a new window that doesnt have a url text box, so the user wont know where he/she is going. i think it would be like a pop up window, but i am not able to do it. i tried different targets like: <a href="http://www.google.com" target="_blank">Haga Click Aqui para ver Presentacion</a> i dont want the person that clicks on it, to see the on the top of his/her window http://www.google.com ANY ADVISE WILL BE REALLY APPRECIATED... Thank you Avi |