Connecting Tech Pros Worldwide Help | Site Map

Moving photos

  #1  
Old July 23rd, 2005, 08:06 PM
Lee David
Guest
 
Posts: n/a
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


  #2  
Old July 23rd, 2005, 08:06 PM
RobB
Guest
 
Posts: n/a

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:

http://www.dyn-web.com/dhtml/

....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).

  #3  
Old July 23rd, 2005, 08:07 PM
Lee David
Guest
 
Posts: n/a

re: Moving photos


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

Lee


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving to new form of usenet ideas? Jon Slaughter answers 113 October 18th, 2007 12:35 AM
Moving to new form of usenet ideas? Jon Slaughter answers 224 October 18th, 2007 12:35 AM
Moving a database between servers Michael . answers 3 November 12th, 2005 01:06 AM
Moving to 4.01 strict: problem with hidden fields et al. Mark McLellan answers 10 July 24th, 2005 12:14 AM