Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Feedback/Suggestions
Author Message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Sat Jan 31, 2009 8:13 am Reply with quote

If your site works in IE7 and 8, to remove the Compatibility View option from Internet Explorer, open includes/meta.php and add the following line to your meta tags.


$metastring .= "\n".'<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />';




It will work for IE7 and IE8.
 
View user's profile Send private message Send e-mail Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Jan 31, 2009 12:27 pm Reply with quote

Thanks. Can you explain this a bit more? If the sites work under the 2 IE versions, why would you add the tags?
 
View user's profile Send private message
nuken







PostPosted: Sat Jan 31, 2009 2:30 pm Reply with quote

In IE 8, you get a button beside the navigation window that gives the viewers of your site an option to view your site in compatibility mode and than goes on to say some sites use older code and this option is to be able to view them correctly. Kind of like saying the site is old and needs updating. IE 8 uses the meta tag to know the site is compatible with IE 8 and the option is not shown in viewers browsers.
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sat Jan 31, 2009 2:49 pm Reply with quote

Interesting. Just so I understand this right.

If you are sure your site is completely IE 8 compatible you would add this to remove this option? Well at least remove the viewable option?

I don't see us adding something like this until after IE 8 is officially released. Even then it it kind of iffy because what if a user has an old module?

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
nuken







PostPosted: Sat Jan 31, 2009 3:00 pm Reply with quote

Correct. IE8 does not know if your site is compatible or not, it relies on the meta tag to determine the compatibility.

Image


I agree it's not something you would want to add to RN. I was just giving a heads up.

If your site does not view well in IE8 you can also force IE7 view by default.
To force it to view in IE7 mode, use this.

$metastring .= "\n".'<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />';
 
Raven







PostPosted: Sat Jan 31, 2009 8:50 pm Reply with quote

I get it! This Microsoft's way of saying that in 7 past incarnations they chose not to be standards compliant but since they are now making an effort in IE8, since they're still playing catch-up, they have broken all their non standard code. killing me
 
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Sun Feb 01, 2009 6:11 pm Reply with quote

All modern major browser are almost reaching 100/100 in the browser standards compliance acid3 test. Development versions of Opera are flawless, i think they already reached 100/100, the others are in beyond the 70's and the infamous IE8 only get a shameful 20/100, far beyond IE7 that gets only 11/100 Razz . Now that's what a call a standards compliant browser.

IE is a pain in the ... (put you favorite nasty word here) ROTFL

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella
http://about.me/jestrella04 
View user's profile Send private message Visit poster's website
nuken







PostPosted: Sun Feb 01, 2009 7:14 pm Reply with quote

I totally agree. The only time I use IE is when I am testing my sites to make sure IE doesn't do something stupid.
 
nuken







PostPosted: Sun Feb 01, 2009 7:25 pm Reply with quote

Anytime you see a site that say's best viewed with IE, all that means is they are too lazy to close their tags and could care less about being html compliant. Check out http://www.anybrowser.org/campaign/ they are all about sites being cross browser viewable.
 
jestrella







PostPosted: Sun Feb 01, 2009 7:43 pm Reply with quote

H3ll yeah!!
I have heard/read about that campaign but i have never put the button on my site :S but all websites must look the same with the same code under any browser, that's why standards were born... Kind of a utopia, doesn't it???
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Feb 08, 2009 8:26 am Reply with quote

Only problem is that it probably should read "Viewable with Any Browser Except IE" because as stated above, even IE8 isn't anywhere close to standards compatible.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
nuken







PostPosted: Sun Feb 08, 2009 8:45 am Reply with quote

So true. So many websites rely on the low standards of IE to design their sites. Standards should not be used as optional. They should be a must.
 
jestrella







PostPosted: Sun Feb 08, 2009 11:46 am Reply with quote

The real problem comes when the lead browser (around 60% of market share) is the one with the lowest degree of standards compliance... Sad but true
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Feedback/Suggestions

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©