Conditionals (<!--[if lte IE 8]>....)

Antworten
Benutzeravatar
shadowcat
Administrator
Beiträge: 5283
Registriert: Di 5. Feb 2013, 10:36
Kontaktdaten:

Conditionals (<!--[if lte IE 8]>....)

Beitrag von shadowcat »

Wo ich grad mal wieder so ein Template in den Fingern habe, das conditionals braucht, fiel mir wieder ein, daß ich in v1.1 doch sowas eingebaut habe. :lol: Natürlich wie immer in der headers.inc.php des Templates unterzubringen und mit {get_page_headers()} im <head> ist alles gut.

Code: Alles auswählen

$mod_headers = array(
    ....
            array(
                'media'        => 'all',
                'file'        => 'http://yui.yahooapis.com/pure/0.5.0/pure-min.css',
                'conditional' => 'lte IE 8'
            ), 
    ....
);
My software never has bugs, it just develops random features.
If it’s not broken, keep fixing it until it is
Antworten