I want to write a JQuery-Script that measures the width of the browser-window (viewpoint size). If it is less than 1250px wide then it should hide a certain div and display another one which is smaller instead. It’s because of a rightfloating div on a leftfloating page. The div looks like a toolbar at the right edge of the window. But if the window is too small, things get overlapping. I am quite new with JQuery, I can let thing fading, but I don’t know how to code window.width > 1250px and putting is in an if-condition.
May anyone help me?
Viewing 1 post (of 1 total)