469,361 Members | 2,332 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,361 developers. It's quick & easy.

Floating Image

Hey - I'm afraid I'm a js wannabe - I can copy 'em from js sources but can't
write 'em. I need to float a balloon image across my classroom website. I've
seen this done with other images but can't find that website now, and can't
find a script at any of the usual js resource websites. If anybody knows
where there's a similar script that I can "borrow" and modify for my image,
I'd really appreciate your help. Thanks,
SuzyQ
Aug 30 '05 #1
3 2214
SuzyQ wrote on 30 aug 2005 in comp.lang.javascript:
Hey - I'm afraid I'm a js wannabe - I can copy 'em from js sources but
can't write 'em. I need to float a balloon image across my classroom
website. I've seen this done with other images but can't find that
website now, and can't find a script at any of the usual js resource
websites. If anybody knows where there's a similar script that I can
"borrow" and modify for my image, I'd really appreciate your help.
Thanks, SuzyQ


Define float!

[Because CSS float is probably not what you want]


--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Aug 30 '05 #2
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
SuzyQ wrote on 30 aug 2005 in comp.lang.javascript:
Hey - I'm afraid I'm a js wannabe - I can copy 'em from js sources but
can't write 'em. I need to float a balloon image across my classroom
website. I've seen this done with other images but can't find that
website now, and can't find a script at any of the usual js resource
websites. If anybody knows where there's a similar script that I can
"borrow" and modify for my image, I'd really appreciate your help.
Thanks, SuzyQ


Define float!

[Because CSS float is probably not what you want]


Sorry for the confusion - CSS float is not what I'm looking for. I want my
balloon image to appear to "float" - or move slowly - across the screen,
above the web page. Ideally, it will appear at the bottom of the page,
moving reasonably slowly to the top of the page, then disappear. Thanks
again, SuzyQ
Aug 30 '05 #3
SuzyQ wrote on 30 aug 2005 in comp.lang.javascript:
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
SuzyQ wrote on 30 aug 2005 in comp.lang.javascript:
Hey - I'm afraid I'm a js wannabe - I can copy 'em from js sources
but can't write 'em. I need to float a balloon image across my
classroom website. I've seen this done with other images but can't
find that website now, and can't find a script at any of the usual
js resource websites. If anybody knows where there's a similar
script that I can "borrow" and modify for my image, I'd really
appreciate your help. Thanks, SuzyQ


Define float!

[Because CSS float is probably not what you want]


Sorry for the confusion - CSS float is not what I'm looking for. I
want my balloon image to appear to "float" - or move slowly - across
the screen, above the web page. Ideally, it will appear at the bottom
of the page, moving reasonably slowly to the top of the page, then
disappear. Thanks again, SuzyQ


Ah yes:

Make the image css position:absolute and then manipulate the css left and
top values with a javascript setTimout().

Look at the myriads of snow flake scripts for more inspiration.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Aug 30 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.