console.log("ref"+item.ref+"-loc:"+item.usrlocx+","+item.usrlocy+","+item.usrlocz+"-slot:"+item.slot);
Problem description:

I want to drag an item from my inventory, to a box around the usr's mob that will place that item on the map where the usr dropped it.
How can I get the CSS Top and Left of the user in the javascript client if i can only pass the users loc.x,y,z to the byond classes's output?
I know how to use JS to CSS change the location of the boxes and add the event listeners to allow for the item drop, I'm just wondering how I can find the proper coordinates to place the box.
Thanks!!
byond.pos:{"x":0,"y":0}
returned... so I don't think im passing the arguments correctly... but the reference doesn't really say.. i've tried
var testpos = JSON.stringify(byond.pos(5,5));
var testpos = JSON.stringify(byond.pos("5,5"));
etc