Welcome Guest, Not a member yet? Register   Sign In
Assets 1.0.0
#8

[eluser]Boris Strahija[/eluser]
[quote author="theshiftexchange" date="1333951552"]Thanks Boris,

For now I'm doing a workaround until the new (stable) version is released

Code:
<?php if ($this->agent->is_browser('Internet Explorer'))
    {
           Assets::js_group('ie', array('ie.js'));
     }
?>


Meanwhile - one more question:

How can I append media="screen" onto the css?

i.e. from this:

Code:
<link rel="stylesheet" href="http://localhost/public_html/assets/cache/20120403103709.css">

to this:

Code:
<link rel="stylesheet" href="http://localhost/public_html/assets/cache/20120403103709.css" media="screen">
[/quote]

For now the media parameter is not supported, If you need it you can open a new ticket on Github and I'll consider adding it.

In my opinion it's better to use media queries inside the main CSS files:

Code:
@media screen{
    #main { width: 960px; }
}


Messages In This Thread
Assets 1.0.0 - by El Forum - 04-03-2012, 02:59 AM
Assets 1.0.0 - by El Forum - 04-06-2012, 02:52 PM
Assets 1.0.0 - by El Forum - 04-06-2012, 09:43 PM
Assets 1.0.0 - by El Forum - 04-06-2012, 11:30 PM
Assets 1.0.0 - by El Forum - 04-07-2012, 12:16 AM
Assets 1.0.0 - by El Forum - 04-07-2012, 12:18 AM
Assets 1.0.0 - by El Forum - 04-08-2012, 11:05 PM
Assets 1.0.0 - by El Forum - 04-09-2012, 02:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB