onResize + IE = torture

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • The Plankmeister

    onResize + IE = torture

    Hi...

    Is there a way of preventing the second firing of the onResize event in IE?
    It's an absolute bast. In the past few weeks I've come to realise how
    completely and utterly pants IE is. Shame a million percent of people use
    it. : (


  • rf

    #2
    Re: onResize + IE = torture


    "The Plankmeister" <plankmeister_N OSPAM_@hotmail. com> wrote in message
    news:3f6acbb6$0 $24689$edfadb0f @dread14.news.t ele.dk...[color=blue]
    > Hi...
    >
    > Is there a way of preventing the second firing of the onResize event in[/color]
    IE?

    Why do you want to hook the onResize event? Just interested :-)

    Cheers
    Richard.


    Comment

    • The Plankmeister

      #3
      Re: onResize + IE = torture

      > Why do you want to hook the onResize event? Just interested :-)

      I have some divs that are different heights when the page initially loads.
      It's not too bad to look at, but I'm implementing a javascript method to
      change the height of all the divs so their bottom edges are all on the same
      level.
      It looks perfectly fine with javascript turned off, I am merely doing it as
      a refinement for those people who have javascript turned on.

      I've had to hack it to get it working in IE... Any advice on how to prevent
      the 2nd firing would be greatly appreciated!

      P.


      Comment

      • rf

        #4
        Re: onResize + IE = torture


        "The Plankmeister" <plankmeister_N OSPAM_@hotmail. com> wrote in message
        news:3f6ae08a$0 $24692$edfadb0f @dread14.news.t ele.dk...[color=blue][color=green]
        > > Why do you want to hook the onResize event? Just interested :-)[/color]
        >
        > I have some divs that are different heights when the page initially loads.
        > It's not too bad to look at, but I'm implementing a javascript method to
        > change the height of all the divs so their bottom edges are all on the[/color]
        same[color=blue]
        > level.
        > It looks perfectly fine with javascript turned off, I am merely doing it[/color]
        as[color=blue]
        > a refinement for those people who have javascript turned on.[/color]

        Hmmm. IHMO you should be concentrating on refining your content instead of
        trying to defeat what the browser has just decided for its layout.

        Cheers
        Richard.


        Comment

        • Csaba2000

          #5
          Re: onResize + IE = torture

          It's hard to say about the double firing without seeing your code.
          I use onresize in certain situations (for when the user alters font
          size), and haven't noticed your problem.

          However, in situations where I get unwanted event firings, I will
          usually designate a variable that I set, so the unwanted events
          may be ignored depending on the true or falseness of the variable.

          Csaba Gabor

          "The Plankmeister" <plankmeister_N OSPAM_@hotmail. com> wrote in message
          news:3f6ae08a$0 $24692$edfadb0f @dread14.news.t ele.dk...[color=blue][color=green]
          > > Why do you want to hook the onResize event? Just interested :-)[/color]
          >
          > I have some divs that are different heights when the page initially loads.
          > It's not too bad to look at, but I'm implementing a javascript method to
          > change the height of all the divs so their bottom edges are all on the same
          > level.
          > It looks perfectly fine with javascript turned off, I am merely doing it as
          > a refinement for those people who have javascript turned on.
          >
          > I've had to hack it to get it working in IE... Any advice on how to prevent
          > the 2nd firing would be greatly appreciated!
          >
          > P.[/color]



          Comment

          • The Plankmeister

            #6
            Re: onResize + IE = torture

            [color=blue]
            > Hmmm. IHMO you should be concentrating on refining your content instead of
            > trying to defeat what the browser has just decided for its layout.[/color]


            IMHO you should either answer the question I asked or not answer at all.

            Cheers,
            P.


            Comment

            • The Plankmeister

              #7
              Re: onResize + IE = torture

              [color=blue]
              > However, in situations where I get unwanted event firings, I will
              > usually designate a variable that I set, so the unwanted events
              > may be ignored depending on the true or falseness of the variable.[/color]

              That's what I've done in this case. I suppose it'll have to do... I've
              Googled 'til I'm blue in the face regarding this quirk of IE and it seems
              it's a behaviour that cannot be altered. Oh well... Maybe one day Micro$haft
              will release a good browser : )

              Thanks for the advice, anyway.

              P.


              Comment

              Working...