Advertisement

03.13.2008 at 07:51AM PDT, ID: 23238703
[x]
Attachment Details

Get left and top values

Asked by Kinger247 in JavaScript, Dynamic HTML (DHTML)

Hi there,

I've got some dhtml where I can move content around the screen.
Then I want to save this information to a database, but forgot how to get the left and top position of anything in a DIV tag.

How (in Javascript) can I get the left and top attributes of anything in <div> tags ..

thanks in advance
K.Start Free Trial
[+][-]03.13.2008 at 07:54AM PDT, ID: 21116793

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Dynamic HTML (DHTML)
Sign Up Now!
Solution Provided By: Kinger247
Participating Experts: 0
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628