![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,359
|
loading css3 media queries on ie9 and below
css3media queries js library is used for on ie9 or below, anyone know if I load it for all ie, it will interfere with ie10.
normally i would do something like this in wordpress Code:
wp_enqueue_style( 'customcss', get_template_directory_uri() . "/css/ie9.css"); $wp_styles->add_data( 'customcss', 'conditional', 'lt IE 9' ); Code:
<!--[if lt IE 9]> ... <![endif]--> so im using the global is_IE, so it loads on all ie's. Code:
global $is_IE; if ($is_IE) { wp_enqueue_script('css3_mediaqueries', 'http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js'); }
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |