IE7 RTM CSS/Javascript bug onbeforeunload body.scroll = 'no'

Discussion in 'Internet Explorer' started by BobbyRich, Oct 25, 2006.

  1. BobbyRich

    BobbyRich Guest

    I believe this is an IE7 bug:

    My problem deals with using the 'onbeforeunload' event. On this event, I'm
    calling document.body.scroll = 'no', but it has no effect on the vertical
    scrollbar. I've also tried = 'hidden' - still
    no effect. Funny enough, while a new page is loading (before the 'unload'
    event has been fired) , if I move my mouse over the vertical scrollbar, then
    it suddenly dissapears and then prevents me from scrolling.

    My code worked fine in IE6, Firefox, and all IE7 Beta and RC builds - but
    now suddenly does not work in IE7 RTM. Why??? Anybody else?

    This post is a suggestion for Microsoft, and Microsoft responds to the
    suggestions with the most votes. To vote for this suggestion, click the "I
    Agree" button in the message pane. If you do not see the button, follow this
    link to open the suggestion in the Microsoft Web-based Newsreader and then
    click "I Agree" in the message pane.
    BobbyRich, Oct 25, 2006
    1. Advertisements

  2. BobbyRich

    Bubsche Guest

    The body tag: scroll="no" is beeing ignored by IE 7 !!!
    Bubsche, Nov 23, 2006
    1. Advertisements

  3. BobbyRich

    OmegaJunior Guest

    Why would you want to keep the visitor from scrolling?

    What are you hiding?
    OmegaJunior, Dec 4, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.