Side navigation
#767 closed bug (invalid)
Opened January 09, 2007 04:58AM UTC
Closed January 11, 2007 02:59PM UTC
Last modified March 14, 2012 07:56PM UTC
Error in parsing value for property 'left'. Declaration dropped.
Reported by: | jd1@titleoptions.com | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | dimensions | Version: | |
Keywords: | error, parsing, propery, left | Cc: | |
Blocked by: | Blocking: |
Description
After updating to your latest diminsions.js Revision 939, I get an error never before encountered.
Error in parsing value for property 'left'. Declaration dropped.
This is the error in firefox, IE just thows something generic.
I use this syntax with offset().
pos=$('#'+id).offset();
popup[id].x=(pos.left+pos.width)+3;
popup[id].y=pos.top+1;
Any quick recommendations on what to be looking for? I was previously using a version from around october 2006 without problems.
Thanks,
Jeremy
Attachments (0)
Change History (1)
Changed January 11, 2007 02:59PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
There was an API change in the favor of performance the extra properties returned by offset have been removed. The error is caused when trying to reference pos.width.
The offset method now only returns a left and top property and sometimes a scrollLeft and scrollTop.
You can get the width by using .width().