Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Windows width > ???px then …

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #23949
    runa
    Member

    Hi!
    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?
    Thanks!
    Runa

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.