[jQuery] Re: middleclick event

2008-01-17 Thread Nikola Ivanov
In any case the main question is: is there a way to catch the middleclick?

[jQuery] Re: middleclick event

2008-01-17 Thread Nikola Ivanov
On Jan 17, 3:39 am, RobG <[EMAIL PROTECTED]> wrote: > Control + click or command + click also opens links in a new tab for > some settings in some browsers. I can also set Firefox to always open > new windows in a tab, trying to stop that is futile. Absolutely correct. There are many ways to o

[jQuery] middleclick event

2008-01-16 Thread Nikola Ivanov
Hello, I'm working an a very simple behavior: capturing clicks on anchors. Binding the click event and doing the rest of the logic is easy. Problem is the middle click (opens the link in a new tab) and both available options in the context menu: open in new tab/open in new window. While it's har

[jQuery] Re: jQuery Logging (to firebug)

2007-10-19 Thread Nikola Ivanov
How about integrating it in the core? After if ( console ) of course

[jQuery] Re: parents() clears vars

2007-09-17 Thread Nikola Ivanov
Gee, I've just read my last post: I couldn't understand my point :). Sorry about that, I will give it a new shot: Consider the tree: el 1 el 2 el 3 el 3.1 el 3.2 el 3.3.1 el 3.3.1 Goal is: when clicked on el "

[jQuery] Re: parents() clears vars

2007-09-17 Thread Nikola Ivanov
> What does OK mean? It means, that I'm getting the expected output. >What's the problem? The problem is that after calling e.parents(), arguments gets cleared out and is afterwards empty, but only when parents( 'li' ) is empty. >How are you trying to use this function? I have a recursive tree w

[jQuery] parents() clears vars

2007-09-17 Thread Nikola Ivanov
I have the following funtion: function foo() { console.log( arguments ); // --> OK var e = arguments[0]; console.log( e );// --> OK var p = arguments[0].parents( 'li' ); // --> problem occurs ONLY if this selection is empty

[jQuery] parents() clears vars

2007-09-17 Thread Nikola Ivanov
I have the following funtion: function foo() { console.log( arguments ); // --> OK var e = arguments[0]; console.log( e );// --> OK var p = arguments[0].parents( 'li' ); // --> problem occurs ONLY if this selection is empty