Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hi!

I think back when you published version 1.3 of couch you used one of html5up.net's designs as a basis, which runs with skel (http://getskel.com). So I hope you know what I'm talking about next ;)... What I would like to do is a "bridge", with which I can get the variables set by skel in couch and then use them there. Now I don't have a real clue about java but if I could somehow get the skel breakpoints in couch that would be awesome!
So I hope you know what I'm talking about next
Well, as it happens, I really don't, I'm afraid.
@cheesypoof is the goto man for all things JavaScript :)
The problem here is that Skel is executed client-side, after Couch is already out of the picture. Additionally, the size of a viewport is variable, even within a single page visit. Think of rotating your mobile/tablet from portrait to landscape, or resizing the browser window on your desktop/laptop... Storing/accessing this data from within Couch would require constant updating of session variables with AJAX. If you are not conversant with JavaScript, as you stated, then I wouldn't suggest proceeding further on the matter.

Furthermore, the breakpoint manager should be perfectly capable of handling whatever use case you have in mind...

If you still require some basic device detection, then perhaps server-side user agent sniffing would be a better avenue to pursue - http://mobiledetect.net/.
3 posts Page 1 of 1
cron