Preserved Topic: Join the edges |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 07-20-2001 16:45
In the Trypwire there's an image who goes and comes, ok, i can do that, but is possible to do it going only in one direction? i mean, like a single circle image spinning.. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-20-2001 17:22
Yeah, that's easy. Just take the viewing window width (say it's 200 pixels). Then the final 200 pixels of the image that will be moving must be the same as the first 200 pixels in that image. Say the image is going from the right to the left. When the final 200 pixels of the right side of the image enter the viewing area, you should be able to shift the entire thing over, all the way back, so its left is aligned to the left of the viewing area, and *what's seen inside the viewing area won't change*. Then you can keep moving it to the left, and as far as the viewer knows, nothing happened. If the left and right sides of the image are identical, then the transition is seamless. |
Bipolar (III) Inmate From: |
posted 07-20-2001 17:57
There is also another way (I think) |
Neurotic (0) Inmate Newly admitted |
posted 08-02-2001 15:26
that link to Trypwire is so funny....i don't think he made the hidden portion long enough.it keeps comming out and being visable if you run the mouse along the screen. |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-14-2001 23:56
Ok. I can make a loop function, how do i set up the variable to 'background-position' attribute? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-15-2001 00:46
document.getElementById('theid').style.backgroundPosition = i + 'px'; |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 09-15-2001 00:54
dark thats an old effect, he used (I think) frames to center the image when he used it as his front door. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 09-15-2001 02:35
DL-44 went and edited the links in both Wakkos and Dark's post, so now they link to the correct page and the problem Dark mentioned won't be visible anymore. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 09-15-2001 02:35
document.getElementById('theid').style.backgroundPosition |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-15-2001 05:40
I have problems in anyplace... |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 09-15-2001 08:31 |
Maniac (V) Mad Scientist From: New California |
posted 09-21-2001 11:06
Wakkos, |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-21-2001 17:19
Ehem, well, Bugimus, i have nothig to do so, that's exactly what i wanted. |
Maniac (V) Mad Scientist From: New California |
posted 09-21-2001 19:05 |
Maniac (V) Inmate From: Brisbane, Australia |
posted 09-21-2001 20:20
Wow! That looks sooooo cool Bugs! |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-21-2001 21:28
Hey Good news and bad news |
Maniac (V) Mad Scientist From: New California |
posted 09-21-2001 23:15
Hey, that's pretty cool! Now you need to work on making it work better for different resolutions. Maybe tonight I can take another look at that part. Hmm... I just might have to steal some of this idea back from you |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-22-2001 03:12
LOL, I was about to post and i saw my sig and hit "edit" and after writing, i was no allow to do that!!!!! |
Paranoid (IV) Inmate From: your subconscious. (scared yet?) |
posted 09-22-2001 03:42
threep jumps in with a suggestion: |