Asheeown Posted April 18, 2008 Share Posted April 18, 2008 Alright, I have a page that in plain HTML works fine in both firefox and internet explorer. The HTML version uses IFrames. Now, in PHP I took it and made it to just a plain "include()" the basic pages. It works perfectly in firefox all the links, login system. However, in IE6 and IE7, when you click ANY link it opens it in a new page, now it only opens one new page. All the rest of the links clicked are opened in that first new page and any links clicked INSIDE the new page opens up fine. Check it out for yourself http://pointcomfort.lhhost.com Check it in firefox and then IE Quote Link to comment Share on other sites More sharing options...
mrdamien Posted April 18, 2008 Share Posted April 18, 2008 I don't get what the problem is. It worked the same for me in both Firefox/IE. Quote Link to comment Share on other sites More sharing options...
phpretard Posted April 18, 2008 Share Posted April 18, 2008 It opens new pages in both browsers for me. Is it suppost to? Quote Link to comment Share on other sites More sharing options...
Asheeown Posted April 18, 2008 Author Share Posted April 18, 2008 No it's not supposed to...firefox doesn't open a new page, nothing is forcing it to open in a new page. Quote Link to comment Share on other sites More sharing options...
thebadbad Posted April 18, 2008 Share Posted April 18, 2008 Remove the <base target="I1" /> from your HTML since you're not using frames anymore. Also remove any other target attribute you may have. Quote Link to comment Share on other sites More sharing options...
dennismonsewicz Posted April 18, 2008 Share Posted April 18, 2008 my question would be why would you want to load the new page in a new tab or new window? That is very annoying Quote Link to comment Share on other sites More sharing options...
thebadbad Posted April 18, 2008 Share Posted April 18, 2008 my question would be why would you want to load the new page in a new tab or new window? That is very annoying He clearly doesn't want it to. But the target attribute in the base tag tells the browser to open all links somewhere called "I1", and that's messing it up. Quote Link to comment Share on other sites More sharing options...
dennismonsewicz Posted April 18, 2008 Share Posted April 18, 2008 ah gotcha, sorry i read the question wrong. Then again I have thought it was saturday all day today Quote Link to comment Share on other sites More sharing options...
thebadbad Posted April 18, 2008 Share Posted April 18, 2008 ah gotcha, sorry i read the question wrong. Then again I have thought it was saturday all day today That's odd, me too. You from Denmark? Quote Link to comment Share on other sites More sharing options...
dennismonsewicz Posted April 18, 2008 Share Posted April 18, 2008 no I live in the United States and for some reason I woke up this and thought it was saturday, I was late for work because of this lol. My boss just laughed at me Quote Link to comment Share on other sites More sharing options...
thebadbad Posted April 18, 2008 Share Posted April 18, 2008 Oh, okay, it's just that we celebrate a 1-day holiday today. But everyday should be a Saturday indeed.. Quote Link to comment Share on other sites More sharing options...
dennismonsewicz Posted April 18, 2008 Share Posted April 18, 2008 Ah you learn something new everyday! And yes it should be Saturday everyday indeed! Quote Link to comment Share on other sites More sharing options...
Asheeown Posted April 18, 2008 Author Share Posted April 18, 2008 Remove the <base target="I1" /> from your HTML since you're not using frames anymore. Also remove any other target attribute you may have. Amazing, that's exactly it, and fixed, thanks very much. Was bugging the hell outta me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.