Can somebody please fix this?
thanks,
Bryan
Now that I've got the page at least loading right in IE7, I've run
into some other problems with hobo-rapid.js that I think might be
related to the issue discussed in http://www.prototypejs.org/learn/extensions
. I get "Object doesn't support this property or method" on stuff
like this:
li.childWithClass("buttons").childWithClass("add-item").addClassName
("hidden");
thanks,
Bryan
On Jan 8, 4:53 pm, Bryan M <bryan.mcgu...@gmail.com> wrote:
> Thanks, Bryan!
>
> Now that I've got the page at least loading right in IE7, I've run
> into some other problems with hobo-rapid.js that I think might be
> related to the issue discussed inhttp://www.prototypejs.org/learn/extensions
Element.prototype.childWithClass = function(klass) {
[ . . . ]
}
I got it to work by replacing with this:
Element.Methods.childWithClass = function(el, klass) {
var ret=null;
el.childElements().each(function(el2) {
if(ret==null && el2.hasClassName(klass)) ret=el2;
});
return ret;
}
On Jan 8, 1:53 pm, Bryan M <bryan.mcgu...@gmail.com> wrote:
> Thanks, Bryan!
>
> Now that I've got the page at least loading right in IE7, I've run
> into some other problems with hobo-rapid.js that I think might be
> related to the issue discussed inhttp://www.prototypejs.org/learn/extensions