onMove problem

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

    onMove problem

    Hi,

    For some reason the onMove event handler doesnt seem to work.
    Am I doing it right? The script is in a popup window.


    rgds,
    v

    <html>
    <body onMove="self.mo veTo(250,50)">

    .....

    </body>
    </html>


  • G Roydor

    #2
    Re: onMove problem

    pourquoi pas ? onload="..."
    GR
    v a écrit:[color=blue]
    > Hi,
    >
    > For some reason the onMove event handler doesnt seem to work.
    > Am I doing it right? The script is in a popup window.
    >
    >
    > rgds,
    > v
    >
    > <html>
    > <body onMove="self.mo veTo(250,50)">
    >
    > ....
    >
    > </body>
    > </html>
    >
    >[/color]

    Comment

    • Grant Wagner

      #3
      Re: onMove problem

      v wrote:
      [color=blue]
      > Hi,
      >
      > For some reason the onMove event handler doesnt seem to work.
      > Am I doing it right? The script is in a popup window.
      >
      > rgds,
      > v
      >
      > <html>
      > <body onMove="self.mo veTo(250,50)">
      > </body>
      > </html>[/color]

      Adding an onmove event handler to the <body> simply catches any
      elements that are moved on the page, it doesn't detect when the
      window is moved. Thank goodness, because if it did, it would
      allow such silliness as what you've got above. It's my desktop,
      if I want to put the window in the bottom right corner, or on a
      second monitor, why aren't you letting me?

      Your Web page and the windows the comprise it aren't the only
      thing on my desktop (in fact, I may not even let you open new
      windows on my desktop), or even the desktop of people in a
      corporate environment who might be using your Web-based
      application. Nailing a window to a location that might be
      inconvenient for the user is being actively hostile.

      See <url:
      Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

      /> for an example of how <body onmove="..."> is used.

      --
      Grant Wagner <gwagner@agrico reunited.com>
      comp.lang.javas cript FAQ - http://jibbering.com/faq


      Comment

      Working...