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 Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/ 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. Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520655 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? Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520656 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. Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520677 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. Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520678 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 Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520679 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. Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520682 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 Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520684 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? Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520691 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 Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520693 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.. Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520705 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! Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520709 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. Link to comment https://forums.phpfreaks.com/topic/101763-solved-ie-problem-but-not-in-firefox/#findComment-520720 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.