473,386 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Jul 23 '05 #1
2 1355
Lee David wrote:
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


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

Jul 23 '05 #2
Thanks for the pointer. I'm on my way there right now. Appreciate the
help.

Lee
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Michael . | last post by:
I am trying to move a postgresql database from one server to another. The original server is 7.1.3, and the new one is 7.3.4. I went on the old and used the command: pg_dumpall > dump On...
2
by: Ross | last post by:
Hi I have an application using asp.net that I am running on my PC. The web form has a text box where you can enter a name for a new Photo category then click on the button. The code is...
4
by: Dave G | last post by:
Firstly, apologies as this is not strictly an Access problem. I have a Access 2003 database containing records about people, and each person has 2 photos associated with the record. The photos...
4
by: cheryl | last post by:
We are asked to create a website that can upload photos....Our website administrator must upload photos. His upoloaded photos must reflect on the users interface.. I dont know where and how to start...
2
by: =?Utf-8?B?TGlhbQ==?= | last post by:
My Photos folder opens automatically on startup and re-opens instantly when I close it. Occasionally a small black banner appears and disappears with the words "My Photos" on it. My Photos keeps...
11
by: luftikus143 | last post by:
Hi there, I have a nice collection of photos on my photoblog, for which I created as well an archive, which shows the last 50 or so photos at the same time. Now, I would like to have the...
224
by: Jon Slaughter | last post by:
Sorry for all the cross posting but I'm interesting in getting a serious discussion about how usenet has become lately. Many people are moving away from usenet because of all the spam and cooks...
1
by: cumupkid | last post by:
II am trying to create a form that will allow me to upload photos to a folder in the site root directory and add the information to the mysql db at the same time. I have created two forms, one...
1
by: jojo41300000 | last post by:
Hi, I am writing an application which will display the photos on the web pages. The photos are stored in the seperate machine but in the same LAN. First, when the user visit the web...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.