Quote:
Originally Posted by ryoung
I'd be open to any suggestions. My initial thought was to find a way to make the widget just not appear if a mobile browser user-agent was detected.
|
I like to write pages that display well on anything, but I understand your problem, and here's a quick fix that might work. Make the whole div display:hidden. Then, make a javascript that, onload, queries the browser window size and the agent, and if it's not a mobile and a big enough window, changes that to display:block.
The reverse solution would be to make it display as the default, and have js make it hidden if it detects a mobile browser or small window.
I hope this helps. I expect there are solutions that are more elegant and do more, but this might get you started easily.