Deactivate below certain width instead of blanket tablet/phone disabling
-
Hi Max,
This is a good plugin – thank you.
The present approach to being ‘responsive’ is to deploy user-agent sniffing, and at page initialisation not output the q2w3_sidebar() JavaScript call if a mobile user-agent is detected.
This provides limited responsiveness; it doesn’t cope if the user resizes their browser window.
How about instead detecting the width in q2w3_sidebar(), and having a configurable width, such that if you go below the width, the widget is return to its normal position? (And when you go above it again, it becomes floating again)?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Deactivate below certain width instead of blanket tablet/phone disabling’ is closed to new replies.