that breaks the desktop experience (menus don't close on mouseleave; you have to click the menu to close it).
Give this a try?
that breaks the desktop experience (menus don't close on mouseleave; you have to click the menu to close it).
Give this a try?
Adrian ~ facebook | gist/github
['66.215.156.37','208.75.149.97'] // ip,ip array!
"Take that sticker *off* your hat; you look stupid" --Wil Wheaton
that's why we have:
no dice on the jsfiddle unfortunatelyCode:var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase())); if (mobile) {
"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
Anime Views Forums
Bernie
did you use that (I didn't see it), or are you suggesting it now?
I'd be more comfortable using feature detection instead of testing the UA string: checking fortouchevent support would make a lot of sense in this case.
Is your solution "good" for the iPhone (meaning, are you satisfied with the behavior)?
Adrian ~ facebook | gist/github
['66.215.156.37','208.75.149.97'] // ip,ip array!
"Take that sticker *off* your hat; you look stupid" --Wil Wheaton
I'm suggesting that we use it now.
It's far from a perfect solution, but It's also by far the result I've had from anything Ive tried. If you can't find anything else, I'd recommend this.
"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
Anime Views Forums
Bernie
well, like I said, it's kinda hard for me to find any solution, since I don't really know what it is I'm trying to solve : )
zimbo, does this work well enough for you?
Adrian ~ facebook | gist/github
['66.215.156.37','208.75.149.97'] // ip,ip array!
"Take that sticker *off* your hat; you look stupid" --Wil Wheaton
Bookmarks