[jQuery] move div according to mouse X position

2007-10-23 Thread pixeline

hello friends,

[first message did not show up, sorry if this is a double post]

i'm (still) trying to create this interaction: a very wide div scroll
into view, according to the user mouse position on the screen. It's
something i've done in flash without issue, but here in javascript,
even with jquery i'm not too successful.

the best result i have so far is this: 
http://m2.lab-au.com/proto_metalab2_datascape.htm

but apparently i've got some coordinates wrong. Can someone help me
out/ give advises?

here is my code: http://m2.lab-au.com/_js/frontend/datascape.js


any help would be *much* appreciated.


Thanks a lot!

alexandre



[jQuery] move div according to mouse X position

2007-10-23 Thread Alexandre Plennevaux
hello friends,
 
i'm (still) trying to create this interaction: a very wide div scroll into 
view, according to the user mouse position on the screen. It's something i've 
done in flash without issue, but here in javascript, even with jquery i'm not 
too successful.
 
the best result i have so far is this: HYPERLINK 
"http://m2.lab-au.com/proto_metalab2_datascape.htm"http://m2.lab-au.com/proto_metalab2_datascape.htm
 
but apparently i've got some coordinates wrong. Can someone help me out/ give 
advises?
 
here is my code: HYPERLINK 
"http://m2.lab-au.com/_js/frontend/datascape.js"http://m2.lab-au.com/_js/frontend/datascape.js
 
 
any help would be *much* appreciated.
 
 
Thanks a lot!
 
alexandre

Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.488 / Base de données virus: 269.15.6/1086 - Date: 22/10/2007 19:57