Connecting Tech Pros Worldwide Help | Site Map

Moving photos

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 07:06 PM
Lee David
Guest
 
Posts: n/a
Default 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



  #2  
Old July 23rd, 2005, 07:06 PM
RobB
Guest
 
Posts: n/a
Default 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, 07:07 PM
Lee David
Guest
 
Posts: n/a
Default Re: Moving photos

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

Lee


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.