HTML - Links Wont Open In Iframe?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <link rel = "stylesheet" type = "text/css" href = "stylesheet.css" /> </head> <body> <div id = "container"> <div id = "left"> <ul> <li><a href = "http://www.freewebs.com/jazzclan/about.htm" target="iframe"><img src="http://www.freewebs.com/jazzclan/nav_about.gif"></a></li> <li><a href = "http://www.freewebs.com/jazzclan/freeboard.htm" target="iframe"><img src="http://www.freewebs.com/jazzclan/nav_freeboard.gif"></a></li> <li><a href = "http://www.freewebs.com/jazzclan/main.htm" target="iframe"><img src="http://www.freewebs.com/jazzclan/nav_main.gif"></a></li> <li><a href = "http://www.freewebs.com/jazzclan/member.htm" target="iframe"><img src="http://www.freewebs.com/jazzclan/nav_member.gif"></a></li> <li><a href = "http://www.freewebs.com/jazzclan/replay.htm" target="iframe"><img src="http://www.freewebs.com/jazzclan/nav_replay.gif"></a></li> </ul> </div> <div id = "right"> <div id = "head"> </div> <div id = "main"> <div id = "headleft"></div> <div id = "headright"></div> <div id = "theleft"> Text to go in the left column....Text to go in the left column....Text to go in the left column....Text to go in the left column....Text to go in the left column.... </div> <div id = "theright"> Text to go in the right column....Text to go in the right column....Text to go in the right column....Text to go in the right column....Text to go in the right column....Text to go in the right column....Text to go in the right column....Text to go in the right column.... </div> </div> <iframe id="iframe" src="http://freewebs.com/jazzclan/intro.htm" style="width:545px; margin:0px;" frameborder="0" hspace="0" vspace="0" scrolling="no"></iframe> </div> </div> </body> </html> The links, main, about, freeboard, ect. don't seem to open in the IFrame. Does anyone have any suggestions? Similar TutorialsI know a little bit of html, but cant figure this out. Probably something dumb. I have this iframe code: (not actual site lol) <iframe src="http://domain.com" width="90%" height="4000" frameborder="0" scrolling="no"></iframe> and i have a blank domain with hosting. What i did to make my domain the iframe is : Went to textedit program pasted that iframe saved it as index.html and made sure it was html filetype Then i went to my ftp program booted up my domain went to public_html and posted the index.html file there Then when i go to my domain it jsut shows the iframe code and not what it should show Any help is hugely appreciated! I get this error message but it doesn't make sense. The scroller works OK. How can this not be open? What do I need to change? -------------------------------------------------------------- error message- Line 54 column 181: end tag for element "IFRAME" which is not open. ...ameborder="1" scrolling="no"></iframe>') ---------------------------------------------------------------- <script type="text/javascript"> //specify path to your external page: var iframesrc="external.htm" //You may change most attributes of iframe tag below, such as width and height: document.write('<iframe id="datamain" src="'+iframesrc+'" width="170px" height="200px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="no"></iframe>') </script> Hello Everybody, I want to create a website which has 1) Header Image 2) Menu and sub menu 3) Content (main data when above menu items are clicked) 5) Footer which should be there for every page. I have created the website using frames and got everything but when window is not 100% then content is not centered. I have done evenything in HTML. I want to re-design the webpage without using frames Please let me know how to display the content in same page when a menu item is clicked. Help me Hi, I have a text link, when a user clicks it, I want multiple URLs to open in a new tab/window. I guess it's a javascript solution, yea? After searching the net for 30 mins I can't find anything. Thx in adv I have some buttons that open new pages in new windows. How do I tell or force the browser to open them in new tabs, instead of in new windows or the same window? On my "main.html" is an iframe. The html opening inside that iframe has a menu. I want to click on menu's links, and html must be opening inside the Iframe from main.html. But, when I click on links INSIDE the Iframe, it will open a new window instead of just opening inside the same Iframe. How do i get the iframe menu links open in the same main.html iframe ? jos I am using iframe on one of my webpages and it contains links to other webpages on my site. Currently when I click on one of those links it opens the new page inside the iframe I declared. I would like it to open on the full page in the browser, like a common link would and not open a whole tab either. I hope this makes sense. If anyone can help I would greatly appreciate it. Thanks! I'm embedding an external website that I do not have control over into my site using an iFrame. My problem is that some of the links inside the iFrame open the iFramed site in the same tab, which takes the user away from my website. What I'm trying to do is influence the links inside the iFrame so they behave similar to target="_blank", so they open in a new tab, leaving my site intact in the original tab. So far in my research its looking like it's impossible to influence the links inside an iFrame in this fashion without having control of the actual iFrame content. If it is in fact not possible, is there another solution for embedding another site within mine that allows this control, that's not an iFrame? Thanks so much for the help! Hello, I inserted another site on my site through IFrame. I can not change this other site and so a I can not change links in that other site, but I would like to open each link of that site in a new window. So far links open in the same window or if they have target=_blank in new window. How can I force all links to open in new window? Thanks in advance for all of your help. I have a couple sites being referenced within a page through iframes. Each seperate frame needs to navigate just inside the frame itself and it works just fine... BUT, when there are javascript links within the iframes, that pulls the entire browser to the linked to page. Is there a way to keep the javascript links confined within the iframe? I never want the actual browser url to change. I know it's a wierd requirement, but it is for a customer. So... I am making a website to learn some web design but I am having trouble. On this wesbite, the main site is composed of a layout, and all the links and whatever get opened in an Iframe. There is a nav bar on the left with links like "Music, Videos, Games" etc... and on the music section there is alot of music files (that I am hosting) to listen to. What I want to do is embed an object on the main frame, the one with the Iframe on it, and when you click one of the songs, instead of downloading it (or playing it in a new page) it plays it in the embed. I have looked for a few sites, most of them arent compatible with IE7 and Firefox at the same time... which is important (Mainly firefox though =] ) I need some help All my music files are stored in ".../Files/Music/" and the iframe is set up in the Index.htm, which links to "Music.htm" which has about 60 links to music, which I dont want people to download, I want them to be there to listen to! *please bear with me this is a simple problem which is sort of hard to explain* I run a very small (15 page) website for myself. The site consists of an image_list page, which is an index of 13 thumbnail images. Each thumbnail links to a single page, each page being a larger image of the respective thumbnail. These 13 individual pages are directed at the same base target window, _ximage. you can find the image_list window he http://www.winslowsmith.com/work/index.html click on any one of these thumbnail links and a new window (_ximage) will open. navigate back to the image_list and click another link, the _ximage window will reload with the new page. Pretty simple, right?, just a <base target=""> command. In safari this all looks swell, and the _ximage window, whether open or not, will always come to the foreground to load. Not the case in Firefox. My problem in Firefox is as follows: opening one of the given links in image_list will load a new window (or tab), with _ximage target, and the first time, that new window/tab with _ximage target will come to focus and be in the foreground. However, if the viewer leaves the _ximage window open, and navigates back to the image_list window and clicks another link, that link will load appropriately but the _ximage window will remain in the background. (and it works the same whether you are using windows or tabs to load your new pages). This is frustrating because it forces the viewer to click twice rather than just once to get to one of these 13 pages, and said pages are the reason people would traffic to the site. Is there any way to have the links to base (_ximage) target always load in the foreground in Firefox(even when the target window _ximage is open)? Is there code to tell the Firefox browser, hey this is an important window load it in the foreground? Is there a way to do it with anchors? any help is appreciated I have a pdf file that is the catalog for my business. Is there a way to make it so that i can create a link that says "view" and if people click on it, then the standard "FILE DOWNLOAD" box does not come up... and it just opens the file in a separate window.... and have a "download" link where if they click that... then it just downloads the file. I know that i am weird... but i think it would be something that not everybody has... and something that would be kinda cool. Thanks in advance.... Mark Hi everyone, I hope I have posted this in the right area. This is my first time posting here. I currently have my main pages listed at the top of my site as graphics (see fussybaby.ca). I would like to potentially remove these graphics and use text links instead - I had the graphics designed for me, so I can't just go in and make new ones, however I'd like to change/rearrange the links and add some new ones. So my question is: How hard is this to do? Is this something I need to hire someone to do for me? Thanks in advance for any advice! I have 2 IFrames on a page. I am going to end up with a long list of shows to catch-up on. Is there a way I can embed an IFrame with the list, and when you click on a show, you it will change the Playing Show http://tiny.cc/catchup <---The page I am referring to. hi, i've a very simple html page, where i have an iframe. The problem is that i want to add some text below the iframe. however, my text keeps showing up on the right hand side of the iframe. i've looked at the tutorials discussing the tags available for iframe, but surprisingly, none seem to relevant to this. Code: <html> <body> <table border="0" cellspacing="10"> <table border="0" cellpadding="0" cellspacing="0" align="left"> <td valign="top"> <iframe src="mySource.jsp" height="700" width="600" frameborder="0" scrolling="auto"></iframe> </td> </table> This should be displayed below the iframe but actually gets displayed on the right </body> </html> any help / guidance in this will be much appreciated. thanks in advance! Well i am creating a website for a college assignment and i need some help please. I want a div (or anything else that might work) to go in the space shown in the pic. I have tryed aligning a div right but it doesnt go into the gap i want it to, also normal text wont go there eithe. Hi! I've been cracking my head trying to solve this: How can I insert a iframe [i.e. 300x200px] inside of another iframe [i.e. 700x500px] and pull different web content n each one? kind of concentric iframes or like a 'Donut iframe' Now here is my problem. I'm not familiar with other laguages then html and a little bit of javascript and I wanted to make a site for me and my brothers photography company. I currently using dreamweaver and have figured out the way I want to make this site. I tried using ordinary frames, but I want the website to be aligned in the middle and I could make that happen. That is why I went into iframes and a regular table on the index page. My problem now is that I have several iFrames and I want a link from one to open in another. http://www.trans4mind.com/personal_d...e/iframes3.htm here is a link for this to happen, and the simple solution is to name the frame and then target the link. but I have tried that and when the link is from one iframe to another it won't work. If the link is on the index page and target the iframe then it works. Do you have any idea why this happens? I know it's possible since the link above does it. |