Closed trante closed 11 years ago
I want my content opened default if user came with his desktop/tablet. I want my content to collapsed default, if user came with his smartphone.
I use "hidden-phone" and "visible-phone" classes of Twiter Bootstrap to serve different behavioured pages to my visitors.
How can I integrate this with jQuery-Collapse plugin? I don't prefer to fire it from JS, I need to do it from CSS. Thank you very much.
There isn't really any good way to do it from CSS; you'll have to do it from JS, sorry.
I want my content opened default if user came with his desktop/tablet. I want my content to collapsed default, if user came with his smartphone.
I use "hidden-phone" and "visible-phone" classes of Twiter Bootstrap to serve different behavioured pages to my visitors.
How can I integrate this with jQuery-Collapse plugin? I don't prefer to fire it from JS, I need to do it from CSS. Thank you very much.