Moving photos

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

    Moving photos

    What I want to have happen is a photo float above the page moving across it.
    I tried to set the z-index to "0" and to "10" to force the floating, but
    neither worked.

    To do the moving, I understand I have to use different methods depending on
    IE (pixelLeft and pixelTop) or NS (moveTo). I'm hoping for the rare Opera,
    etc user that one or the other will work. I think I recall that you have to
    use different properties to determine the window width and height, but it's
    been too long ago for me to remember clearly.

    I will have a timer to move the object and it will disappear when it reaches
    the end of the page. I might even have a chase between two pictures so I'd
    need multiple variables.

    Any ideas?

    TIA, Lee


  • RobB

    #2
    Re: Moving photos

    Lee David wrote:[color=blue]
    > What I want to have happen is a photo float above the page moving[/color]
    across it.[color=blue]
    > I tried to set the z-index to "0" and to "10" to force the floating,[/color]
    but[color=blue]
    > neither worked.
    >
    > To do the moving, I understand I have to use different methods[/color]
    depending on[color=blue]
    > IE (pixelLeft and pixelTop) or NS (moveTo). I'm hoping for the rare[/color]
    Opera,[color=blue]
    > etc user that one or the other will work. I think I recall that you[/color]
    have to[color=blue]
    > use different properties to determine the window width and height,[/color]
    but it's[color=blue]
    > been too long ago for me to remember clearly.
    >
    > I will have a timer to move the object and it will disappear when it[/color]
    reaches[color=blue]
    > the end of the page. I might even have a chase between two pictures[/color]
    so I'd[color=blue]
    > need multiple variables.
    >
    > Any ideas?
    >
    > TIA, Lee[/color]

    IE vs. NS was years ago, things have changed. Take a look here:



    ....and view source to get an idea what's involved. It's a bit more
    involved than simply knowing the appropriate property names (not trying
    to discourage you).

    Comment

    • Lee David

      #3
      Re: Moving photos

      Thanks for the pointer. I'm on my way there right now. Appreciate the
      help.

      Lee


      Comment

      Working...