HTML - Iframe: Select Which Frame To Load Page In
Hi, I have an html page with the following structu
Code: <html> <head> </head> <body> <iframe> //some links here </iframe> <div> //something here </div> </body> </html> Now when I click on a link to a webpage inside the iframe, it loads the webpage inside that frame. How do I specify: 1) to load webpage in a different iframe from the one that contains the link 2) to load webpage in the "frame" that contains the iframe with the link, i.e. in this case: load the linked webpage instead of the page that contains the iframe with the link. I realise this is probably quite straightforward, but I'm new to this stuff. Could someone please help me out? Thanks! Similar Tutorialsi have a frames website ... inside an iframe ... inside a table! i know that sounds crazy, but tought myself from scratch and solved problems as they arose. my problem now is that in some ie browsers, my banner frame, and main content frame will not display. (error message page cannot be found) however the navigation frame (left hand side) displays fine. i use a mac running safari 3.2.1 and i have no problem i also have another pc system running xp and internet explorer 6.0.2900.5512.xpsp_sp3_gdr.090206-1234 on this system the problem occurs. some other users visiting the site have encountered the same error, however not everyone. and being a newbie (who has probably taught himself all the wrong things) i have NO idea where to start. the site adress is www.shooteverything.com.au if anyone is able to help, that would be much much much apreciated. if i need to post further information please let me know. cheers ben <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> <html> <head> <title>Untitled Page</title> </head> <frameset rows="15%,85%"> <frame src="framesTop.html" name="homeBtn"> <frame src="framesTop.html" name="honeBtn"> </frameset> </html> Firefox won't load the second frame (IE will). I started out with a more complicated layout, but FF wouldn't load anything but the first frame. So I started pruning. This is about as simple as you can get, but it still won't load that second frame. Can anyone tell me why? When I view the source of the first frame it shows me the source, but when I view the source of the second frame, it shows me the source for a blank page. Hi, I want to hide contents of html page when certain frame is loaed. By hide I mean when The frame get loaded at that time other HTML contents should be hidded with some semitransparent image & only loaded frame should be clickabel. All the other HTML content needs to be inactive. For example <html> <head> <script language=JavaScript> </script> </head> <frameset rows="40%,*"> <frame id="frame1" name="frame1" src="two.htm" /> <frame id="frame1" name="frame2" src="three.htm" /> <frame id="frame2" name="frame3" src="one.htm" onafterload="check()"/> </frameset> </html> when check function is called only frame3 should be visible & rest of the frames & their contents should be hidded with a semitransparent colour shade. & these contents should be unreachable by any means by user! Help me We just started using an frame within an iFrame on many of our new applications, but once we changed to this format the normal frame became static (not resizable) only within IE. Firefox works fine. Anyone have any suggestions to fix this issue? Before we started using iFrames everything was resizable, but I believe IE has a bug where it doesn't allow resizing within an iFrame. Ok so im working on building this "anti-blocker" site for my school... hey its against the rules but its alotta fun to do.. im using proxies... Anyway, I have an iframe on the page and in there i have some quick links and the form for the proxy. You type the url into the form and hit "GO!!!!!" and it takes you through a proxy to your destination. I have recently uploaded my own proxy and it finally is working for me so I stuck it in the iframe like i have for the rest of the proxies i've used but theres a problem. When you type in the URL and hit "GO!!!!!!" it reloads the entire page with the index.php website instead of staying in the iFrame like I want it to. I have tried putting it in 2 iframes (just a spur of the moment idea) and I've tried putting target="index.php" codes everywhere i could think but it still didn't work. Maybe I shouldn't use iFrames but in the end I need it to be some information at the top and then in a square/frame thing I need the proxy website. I've looked into Ajax's browser within a browser thing but it needs to be less hightech and that looks REALLY confusing.. I hope someone can help me with this and here's the script for the index.php: http://erxz.com/pb/1949 I'm not sure if this is more of a CSS or a HTML qustion I am building a interface for an on demand radio station (so just an FYI when you visit the link below the sound will start up) page in question: http://www.lcc.edu/radio/indexPlayer.aspx The problem that I'm having is that in IE 7/8 there is a strange and quite visible white border appearing around the iframe that is pulling in the radio player interface. This white border is not displaying in any other browser that I've tested thus far. Only IE Thank you for the assist. John I am trying to detect a change in an iframe (to a different particular source) and when this happens refresh the outer ( top ?) frame that contains the iframe. Do I need to do this via javascript? both frames are actually php thanks in advance on my website's main page, http://flyerflies.com , i have an embedded remotely hosted iframe video player. the iframe loads up fine, but the trouble is that when the iframe loads up in IE, the browser window automatically scrolls downward to include the entire iframe. that wouldnt be a problem except for the fact that it scrolls so far that my main banner is skipped over and not seen unless the user manually scrolls back up. is there something i can do either with IE or with the iframe code itself to stop this from happening? here is the code... Code: <iframe width="480" height="360" frameborder="0" src="http://flyers.nhl.tv/team/embed?hlg=20072008,3,132"></iframe> thanks in advance! EDIT: ive also noticed that this auto-scroll does not seem to happen with some text-only iframes that i have included on this page. http://flyerflies.com/main/fansearch/assets.html I have an option list and an iframe. My goal is to change the target source for the iFrame when I select and option from the list. I'm able to do this with normal links like this Code: <a href="video/video-page.html" target="VideoFrame">Video Page</a> But how can I do this with a option list? If i didn't plan on having 50+ different options I would just use normal links however this is not the case. Is it possible to do this? I've been working on a website and I recently decided to change it around. I accidently deleted a target I need and I can't seem to find anywhere online. I want to be able to open a new page and have it displayed on the same page in a frame. to view my current site go he http://www.geocities.com/pintpunker/CRPB/frame.htm You can see the contents on the left and I want the pages to open on the right. What's the target? I'm dyin' here! Lol. I have a form with data (check boxes) in main page. second page point to 3 frames. data from main page should be displayed in one frame of the second page. Is this possible? and how? I am using php. Thank you. First let me apologize if this post has been made and/or belongs in another area but I'm not too sure even sure how to ask this. My humble site is set up like such using HTML and CSS: As of right now I have it such that when a navigation link is clicked it loads a whole new page. How can I do this such that only the "main text" area (which sits inside a table) is loaded? I hope that makes sense! if i have a frameset with two frames (frame1 and frame2). would there be any html or javascript code that would be able to take the url from frame2 (which has a url that is variable and i have no control over) and display it or return it as a variable on frame1? thanks Hi guys, I've inherited a very old site that runs in a frameset. We're getting ready to rebuild it (sans frames) but in the meantime I still need to maintain it. The need has come up recently for an information page that will be linked to from within a Flash tutorial. The problem is that when the link goes directly to the page, it doesn't surround it with the frame and so there is no navigation or any way of finding your way back into the site. It's been many, many years since I've worked with frames, so I'm hoping someone can tell me if there's a trick to linking to the base frameset and then loading a specific page into one of the frames. Cheers, Seona. I'm setting up an online scheduling calendar, but for people to set appointments they have to click a link that takes them out of my site. Is it possible to frame in the other site so they stay on my page? I have a table on my website that doesn't quite fit horizontally, so I want a scrollbar for the user to scroll across. Is this an i-frame? thanks hi everyone... I have divided a html page in two frames.one is header another is the main page. In main frame there is login form, when i am submitting form it calls the next page in the same frame by default and address in the address bar is not changing because page in the address bar is not changing only main frame is changing. I want that when i submit the form, page containing the header and main frame get vanished and next page should be called without these frames. thanks in advance I'm really stuck on this one. So, I'm on a page, let's call it index1 and I need to open index2 with index3 displayed in a frame on index2 (All from just clicking one link). The problem is on index1 there are many links that will all take us to index2, but with different pages (index4, index5 etc.) needing to be displayed in the frame on index2. How can I achieve this? Hi, I'm kind of new to HTML and I've been trying to make a website that has 3 frames in it. One frame extends across the entire top of the page and has about a 100 pixel height. The second frame extends the entire length of the page, but only has a width of about 200 pixels. Which leaves the rest for the thrid frame. I'm doing this so that frames one and two don't change and all of the content changes in the third frame. I'm running into an issue, because I cannot figure out how to get one frame extend across the top and one fram extend the length of the page. I can do one or the other but not both. is there any way that I can configure the columns and rows so that the page takes on this look? Thank you. here is a visual of what I'm trying to do: Code: ____________________ | 1 | |__________________| | | | | | | | 2 | 3 | | | | -------------------- I'm fairly new to html, so if it's something obvious, give me a break. I have a background image with blank sections where I want to put stuff in to, and in one of the sections I want to put a frame or a table so I can have a list of links which you can scroll through, but I don't know how to put it anywhere I want on the page. Any help would be great, thanks. |