Ruby on Rails
JavaScript, XHTML, CSS
Java, Distributed Systems
<you_name_it>
Doesn't work for long divs in Firefox (Jquery error)
Submitted by hassafrass on Thu, 03/26/2009 - 21:13
In Firefox, if I have a div with a large list of content (div scrolls down a few pages) I get a JS error
Trying to figure out why Firefox, works fine in IE 6/7
reference to undefined property jQuery.cache[id][name] (like 679 of
jquery-1.2.6.js)
Google groups thread:
http://groups.google.com/group/jquery-dev/browse_thread/thread/987fe49fe...
**NOTE updated to 1.3.2 as per version .2 ,same problem
Trackback URL for this post:
http://www.ruzee.com/trackback/229

Bespin
Bespin uses Canas and Jquery. They handle height issues by controlling scrolling and only painting the current screen.
https://bespin.mozilla.com/
NO solution yet, all I have
NO solution yet, all I have been able to do is set the max-height of my div to avoid it breaking altogether (which means content runs out).
ONly in firefox - works great in IE6 (hahaha isn't that just the way!)
32767 ...
... who had the idea to put in that limitation? Work-arounds would be pretty ugly. Any suggestions on a "clean" fall-back solution?
Canvas maximum
The maximum width/height seems to be: 32767
Similar thread:
http://groups.google.com/group/google-excanvas/browse_thread/thread/5d91...
Many will not hit this issue, but I have liquid corners rounding around a CMS which includes a forum with a long thread.
TO duplicate easily
To duplicate this problem in liquidcanvas.js change the line that says:
h = canvas.height ;
to a number like 4550 (a height example that doesn't work in firefox).
More..
I am still looking for a solution to this.
The jquery error is a known one in the community but the source is still Liquid Canvas, somewhere LC is failing silently - because the div is very long. I wish there were more action on this forum... bu I will keep plodding away.