boxy widths

12 views
Skip to first unread message

Sam C

unread,
Oct 22, 2010, 7:48:41 PM10/22/10
to boxy
Hey Guys,

Was wondering why on the _viewport function you use basic javascript
dimensions for the widths etc rather than the cross-browser
compatible .width() etc? My boxy doesn't center exactly correctly due
to the fact that the raw javascript reports my width to be 1280 when
using window.innerWidth where as jQuery correctly reports the viewing
space as 1268 (due to the scroll bar on the right). What is the
reasoning behind not using jQuerys dimensioning tools?

--Sam

Jason Frame

unread,
Oct 24, 2010, 10:35:50 AM10/24/10
to boxy-...@googlegroups.com
Hi Sam,

Back when I originally wrote boxy jQuery had some bugs with positioning/dimensions. I'll be reviewing this situation for boxy2.

--
You received this message because you are subscribed to the Google
Groups "boxy" group.
To post to this group, send email to boxy-...@googlegroups.com
To unsubscribe from this group, send email to
boxy-plugin...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/boxy-plugin?hl=en

Reply all
Reply to author
Forward
0 new messages