@Override
public native int getLeft(Element elem)
/*-{
try {
var computedStyle = $doc.defaultView.getComputedStyle(elem,
null);
var Left = computedStyle.getPropertyValue("left");
return Left.indexOf("px") == -1 ? 0 : parseInt(Left.substr(0,
Left.length - 2));
} catch(e) { throw new Error("getLeft exception:\n" + e); }
}-*/;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---