Yeah, I left out the majority of the script (it was a huge script I'd rather not expect someone to look through).
1) It was an anchor (<a>) that closed a in-line window. 2) Moo 1.2 - just about the only thing I work in, except when dealing with a client built on 1.11 3) I added that for the same reason I was throwing the quotes around it - WHY IS THIS NOT WORKING - type freak out! But I got it addressed, it was an fx.tween that was supposed to fade the window out. Thanks for the response, and the reminded that when posting, we really need to point out what version of mootools we're using! On Sep 7, 11:04 pm, "Iván N Paz" <[EMAIL PROTECTED]> wrote: > 1) Who is "el" in the DOM? an "<a>", a "<li>".... what???? > > 2) Is it moo1.2 or 1.11??? If 1.2, no need for "new Event(e).stop();", > just do a "e.stop();" > > 3) why do you have 'true' in the first place??? just true/false, no > quotes or anything are needed (even if nothing changes in your code > error ;-) > > Bests! > > > > On Sun, Sep 7, 2008 at 9:24 PM,keif<[EMAIL PROTECTED]> wrote: > > > I've seen a lot of posts on this, but none of them have solved my > > problem. > > [code] > > G.camelCase is not a function > > [/code] > > > in regards to: > > > [code] > > if(el.hasClass('close') !== 'true'){ > > el.addEvent('click', function(e){ > > new Event(e).stop(); > > window.open(this.get('href')); > > return true; > > }); > > } > > [/code] > > > I've tried it with: > > [code] > > if(el.hasClass('close') !== true){ > > [/code] > > > as well with the same error. > > > Weird thing is, the script works regardless, I just hate seeing errors > > pop-up for no reason. > > -- > ◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦www.ivanicus.com