[jQuery] Re: Variable within document ready... where is it in the DOM?

2009-10-24 Thread Nikola
Actually, thanks to everybody for the replies. I think you were all basically saying the same thing in different ways come to think of it... On Oct 24, 11:30 pm, Nikola wrote: > Thanks Mike, I generally understand closures and your explanation was > very good. > > I think what yo

[jQuery] Re: Variable within document ready... where is it in the DOM?

2009-10-24 Thread Nikola
;s what is happening in your example: You have an outer function - the > "ready" callback - and an inner function - the "click" handler. The inner > function can access the variable declared in the outer function, even though > the inner function runs long after the outer

[jQuery] Re: Variable within document ready... where is it in the DOM?

2009-10-24 Thread Nikola
ote: > > > You can't.  It exists for the duration of the ready function, then > > it's gone. > > > On Oct 24, 7:51 pm, Nikola wrote: > > > > Hi, I've been trying to understand a little tidbit of jQuery here... > > > > Lets say

[jQuery] Re: Variable within document ready... where is it in the DOM?

2009-10-24 Thread Nikola
Where, is the question. On Oct 24, 8:01 pm, donb wrote: > You can't.  It exists for the duration of the ready function, then > it's gone. > > On Oct 24, 7:51 pm, Nikola wrote: > > > Hi, I've been trying to understand a little tidbit of jQuery here.

[jQuery] Variable within document ready... where is it in the DOM?

2009-10-24 Thread Nikola
Hi, I've been trying to understand a little tidbit of jQuery here... Lets say we define an object in the Document "ready" method: $(function(){ var pen = { type: "Ballpoint", color: "blue", hasInk: true } }); Where in the

[jQuery] Re: Switch image source during toggle

2009-10-15 Thread Nikola
You could toggle classes making sure each class is styled with the appropriate image, use the css() method to change the background / background-image property or, if your working with an img element, you can use the attr() method to change the images "src". On Oct 2, 12:26 pm, Gremlyn1 wrote: >

[jQuery] Access a plug-in option from within the initial call?

2009-07-07 Thread Nikola
Hi, I'm wondering how to access a plug-in's options from within the initial plug-in call. Here's an example: $("#someDiv").somePlugIn({ optionA: true, trigger: $(this).children('#trigger'), callback: function(){ trigger.doSomething(); } });

[jQuery] Re: new plugin: miniZoomPan

2009-06-19 Thread Nikola
That's really great... I like this. On Jun 19, 6:16 am, GianCarlo Mingati wrote: > Hello everyone, > during the initial phase in the development of amuch more complex > zomm&pan widget, i ended up with this tiny (yet another) zoom&pan > plugin. Since it's small and with just few functionalities

[jQuery] Re: jQuery Works fine with Firefox and Internet Explorer 8. Not with IE7?

2009-06-17 Thread Nikola
You know, you can view sites in IE7 mode with IE8 Just change the Document Mode to IE7 standards. Also, it's not a problem with jQuery you have a trailing comma on line 65 of your inline script: clip: {baseUrl: 'http://www.pangeaadvisors.org'}, // <-- This comma is the problem On J

[jQuery] Re: Select/Unselect radio buttons

2009-06-15 Thread Nikola
Give the three master radio buttons unique ID's or classes. Then, upon clicking one of them you can add / remove classes and attributes... $('#masterRadioOne').click(function(){ ($('.radio1').is('.on')) ? $('.radio1').removeClass('on').attr ("checked",false) : $('.radio1').addClass('on').at

[jQuery] Re: Tablesorter UI Theme Support

2009-05-31 Thread Nikola
Very nice. On May 29, 7:39 pm, Panman wrote: > This is a double post, at least going to be a double post from in the > jQuery Plugin list. I'm being moderated yet on that list, and it > doesn't seem to get much activity. > > ---

[jQuery] Re: Recommendations for jQuery method to play mp3 audio

2009-05-20 Thread Nikola
Here's a few I've come across: jQuery Media PlugIn: http://malsup.com/jquery/media/ jPlayer http://www.happyworm.com/jquery/jplayer/ FlowPlayers a nice PlugIn as well but it looks like the site is down at the moment. On May 20, 10:02 am, SamCKayak wrote: > Is there a cross-browser jQuery plug

[jQuery] Re: jquery beginner question: defer $('x').text('change') until after $('x').animate()

2009-05-14 Thread Nikola
Since you want to execute the text change and fadeIn after the animation completes you need to use a callback... $('.frame3').click(function(){ $('#story, #word1').fadeOut('fast', function(){ $('#story').text("lorem"); $('#word1').text("ipsum"); $('#story, #word

[jQuery] Re: jquery beginner question: defer $('x').text('change') until after $('x').animate()

2009-05-14 Thread Nikola
You're going to want to use callbacks... $('#word1, #story').fadeOut('fast', function(){ $("#word 1").text ("lorem"); $("#word").text("ipsum"); $('#word1, #story').fadeIn ("slow")}); $('.frame3').click(function(){ $('#story, #word1').fadeOut('fast', function(){ $('#story').text ("lorem"); $

[jQuery] Re: Is any one else experiencing serious slowdowns on their site due to 'waiting for jqueryui.com' ?

2009-05-02 Thread Nikola
I experienced this, yes. In my case it was the Themeroller Dev tool which was slowing things down. Additionally, I wasn't able to download any themes. I'd say it's probable that the Themeroller and Dev tool are being updated at this time. On May 2, 4:08 pm, "Michael Geary" wrote: > It sounds

[jQuery] Re: Best tooltip plug-in -- opinions?

2009-04-20 Thread Nikola
I really like the 'Simplest Tooltip ever' by Alen Grakalic at CSS Globe, it's a tiny script and it works well. Q-Tip is another nice one I've used in the past as well.. On Apr 20, 5:11 pm, Jack Killpatrick wrote: > worth a look: > > http://craigsworks.com/projects/qtip/docs/ > > http://cssglobe

[jQuery] Re: Difference between .bind() and .click()

2009-04-06 Thread Nikola
Is there any performance difference at all? Say between using .hover vs. binding to mouseenter and mouseleave? On Apr 6, 6:40 pm, James wrote: > Yes, basically two different way to do the same thing. > Though with bind(), you can define more than one type of events at > once to the same callbac

[jQuery] Re: Get text of external HTML and encode

2009-04-04 Thread Nikola
n Apr 4, 12:24 am, Nikola wrote: > Perfect.  Thank you, I did try using a $.get request but I was tyring > to replace charecters instead of injecting the data as text.  This is > exactly what I was trying to do.  I thought there was a very simple > and clean way to do it but I wasn&#

[jQuery] Re: Get text of external HTML and encode

2009-04-03 Thread Nikola
and then injected to $('#thisDiv'). > > I hope this helps, > > Thanks, > Abdullah. > > On Apr 3, 11:27 pm, Nikola wrote: > > > > > Anyone have any ideas or input on this one? > > > On Apr 3, 6:29 pm, Nikola wrote: > > > &g

[jQuery] Re: Selectively load js files

2009-04-03 Thread Nikola
What a great example, very usefull! I never thought of doing something like that... On Apr 3, 11:44 pm, Eric Garside wrote: > If you get the developer build, each of the files is separated out > into a: ui.core.js, ui.draggable.js, etc format. If you want to add a > bit of spice: > > $.uinclude

[jQuery] Re: Get text of external HTML and encode

2009-04-03 Thread Nikola
Anyone have any ideas or input on this one? On Apr 3, 6:29 pm, Nikola wrote: > Thanks MorningZ, I gave this approach whirl and in a roundabout sort > of way it seems to accomplish the same thing I was doing in my third > example. > > $("#thisDiv").load("

[jQuery] Re: effect similar to windows task bar in auto-hide mode

2009-04-03 Thread Nikola
Check out the amazing jQuery UI Layout plugin. Go through the demos, I'm sure you can keep the south pane hidden and then show it on hover. Conversly, you could always use a fixed position DIV at the bottom of the page, hide it and then on hover use something like slideUp to show it.. jQuery UI

[jQuery] Re: Get text of external HTML and encode

2009-04-03 Thread Nikola
Thanks MorningZ, I gave this approach whirl and in a roundabout sort of way it seems to accomplish the same thing I was doing in my third example. $("#thisDiv").load("../sample.html", { }, function() { var div = document.createElement("div"); var text = document.createTextNode($("#thisDiv

[jQuery] Re: Get text of external HTML and encode

2009-04-03 Thread Nikola
call, meaning you have no control over the > object so soon to use the ".html()" method > > So with all that said (with help of some "Html Encode" code that i > found by Google-ing): > > $("#thisDiv").load("../sample.html", { }, function()

[jQuery] Get text of external HTML and encode

2009-04-03 Thread Nikola
Hello, I'm trying to load an external HTML file and encode the < with <. I've tried a number of different approaches but I haven't found the proper method yet. Here are a few examples of how I've approached this.. $("#thisDiv").load("../sample.html"); $("#thisDiv").text("<").replaceWith("<"); _

[jQuery] Re: Problems using JRC corner or curvycorner

2009-03-26 Thread Nikola
anks. > > On Mar 26, 1:59 pm, Nikola wrote: > > > > > I've found JRC and the Bullet Proof CornerZ PlugIns to be foolproof... > > except in IE8 thus far. > > > On Mar 26, 11:44 am, banacan wrote: > > > > I'm creating a page with many div

[jQuery] Re: Problems using JRC corner or curvycorner

2009-03-26 Thread Nikola
I've found JRC and the Bullet Proof CornerZ PlugIns to be foolproof... except in IE8 thus far. On Mar 26, 11:44 am, banacan wrote: > I'm creating a page with many divs that I would like to have rounded > corners, and several problems keep coming up. > > When using JRC for rounding, not all eleme

[jQuery] Re: Pointless but fun jQuery experiment

2009-03-25 Thread Nikola
That was really neat... jQuery physics! On Mar 25, 11:40 pm, brian wrote: > I'll second that! > > On Wed, Mar 25, 2009 at 9:26 PM, Rick Faircloth > > wrote: > > > Pretty cool, Kelvin! > > > Rick > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups

[jQuery] Re: Regarding jQuery UI tabs()

2009-03-24 Thread Nikola
You might wan't to post this in the UI group.. http://groups.google.com/group/jquery-ui You could, also, just add / remove your own 'active' class pretty easily. On Mar 24, 10:32 pm, MorningZ wrote: > it's definitely possible, but would require going through the js and > theme css and changing

[jQuery] Re: Cannot get height in Opera

2009-03-23 Thread Nikola
Is anyone familiar with this? On Mar 22, 10:32 pm, Nikola wrote: > Hello, > > I posted this in the UI group but I'm thinking the question may belong > here.  I can't seem to get the height of Dialog titlebars in Opera. > I've tried numerous approaches.  You c

[jQuery] Cannot get height in Opera

2009-03-22 Thread Nikola
Hello, I posted this in the UI group but I'm thinking the question may belong here. I can't seem to get the height of Dialog titlebars in Opera. I've tried numerous approaches. You can run the below code in Opera with any page that contains a Dialog. It always returns 0. Thanks http://paste

[jQuery] Re: proper syntax for a local path ../myDirectory/myFile.htm

2009-03-18 Thread Nikola
I do this all the time... file:///c:/myDirectory/myFile.htm #myDiv On Mar 18, 3:32 pm, rolfsf wrote: > I need to make a simple 'freestanding' prototype to be run locally. I > used a simple load() to grab a div from another file: > > $('#ajax-panel').load("../myDirectory/myFile.htm #myDiv"); > >

[jQuery] Re: Develop Ajax apps 100% faster - thanks to jQuery & Raxan PDI

2009-03-18 Thread Nikola
Very interesting! On Mar 18, 2:14 pm, xwisdom wrote: > Hi Jack, > > Yes, Raxan is still in alpha stages right now but we're anticipating a > beta and then a final release very soon. > > donb, > > The grid system used by Raxan is based on BluePrintCSS which include a > lot more than layouts but i

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-03-13 Thread Nikola
Hi, I noticed that the API browser @ http://www.nicolas.rudas.info/jquery/finder/api.html isn't displaying the info. Is it being updated for 1.7 maybe? Thanks... On Mar 5, 5:37 pm, Nicolas R wrote: > All right, I added IE6 support. > > Latest files (ui.finder.js,ui.finder-min.js, and ui-finder

[jQuery] Re: How can I specify what $(this) is within a function?

2009-02-21 Thread Nikola
Thanks again, I understand what's happening now and I've been able to correct my code. The plugin I'm working on is functioning perfectly - I no longer need to filter out results or toggle classes. On Feb 21, 4:20 pm, Nikola wrote: > Oh > > Thank you!  I&#x

[jQuery] Re: How can I specify what $(this) is within a function?

2009-02-21 Thread Nikola
orTwo});    }; > > >              $(this).hover(function () { > >                  hover_in(); > >                  },function(){ > >                  hover_out(); > >              }); > >          }); > > >          return this;}; > > >      

[jQuery] How can I specify what $(this) is within a function?

2009-02-21 Thread Nikola
Hello, I've written a simple function for a hover event but I can't seem to specify what $(this) is properly. Here's a little example I put together, any input would be great. Thanks.. http://jsbin.com/ezeye/edit

[jQuery] Re: Queuing jQuery animations

2009-02-20 Thread Nikola
I made a typo it's 'zIndex' not 'zindex' - disregard the quotes there... On Feb 20, 2:32 pm, Nikola wrote: > You can use a callback which will be executed when the animation is > finished, like this: > > $("#i2").animate({left: "+=

[jQuery] Re: Queuing jQuery animations

2009-02-20 Thread Nikola
You can use a callback which will be executed when the animation is finished, like this: $("#i2").animate({left: "+=110px"}, 1500, function(){ $(this).css ({zindex:19}); } ); On Feb 20, 7:06 am, "paul.mac" wrote: > Hi, A newie to jQuery although I do have quiet a lot of JavaScript > experience.

[jQuery] Re: jQuery Curvy Corners

2009-01-30 Thread Nikola
e only somewhat reliable rounded corners plugin is imho: > > http://labs.parkerfox.co.uk/cornerz/ > > Rusco. > > On 30 jan, 07:57, Nikola wrote: > > > I just discovered how nice jQuery Curvy Corners is.  It works well in > > Firefox but only seems to work in IE7 when using

[jQuery] jQuery Curvy Corners

2009-01-29 Thread Nikola
king. Any input or advice is greatly appreciated. http://blue-anvil.com/jquerycurvycorners/test.html Thanks, Nikola

[jQuery] Re: Happy 牛 Year !

2009-01-24 Thread Nikola
Happy New Year to our Chinese friends! Long life and good health to you!

[jQuery] Re: .append with a var

2009-01-22 Thread Nikola
22, 4:12 am, Liam Potter wrote: > you would need to have the javascript with the php in the same file so > it would be something like this > > > > > $(function () { >     $("#someDiv").append("Some value is:<b><?php $var ?></b>");});

[jQuery] .append with a var

2009-01-22 Thread Nikola
Hello, I am trying to figure out how to .append a php session $var to a given div. I'm not sure what the correct syntax is. I was trying something along the lines of how I'd display the var in HTML: $("#someDiv").append("Some value is:'.$var.'"); I'm not sure the best way to go about this. An

[jQuery] Re: Solution To Many Of Your CSS Nightmares!

2009-01-20 Thread Nikola
One hour. I am betting that an individual with beginner to intermediate skill could "find and replace" the conflicting class names in the HTML, CSS and js. That is the cleanest, most logical and most professional solution in my opinion. It makes sense to make sense out of one's code especially

[jQuery] Re: New Plugin: jQuery Finder (Mac-style 'Treeview' with Columns)

2009-01-15 Thread Nikola
Super plug-in! the first thing that came to mind when I tried it out was the new jQuery 1.3 API...

[jQuery] Re: jQuery 1.3 Released

2009-01-14 Thread Nikola
Well done!

[jQuery] Re: .animate() queue without pause between animations

2009-01-13 Thread Nikola
Ahh, sorry about that UI always comes to mind when I think of visual presentation, ie. fading, exploding, animating etc..

[jQuery] Re: .animate() queue without pause between animations

2009-01-13 Thread Nikola
What about doing something similar to what Karl Swedberg did in his animated scrolling example? http://www.learningjquery.com/2007/09/animated-scrolling-with-jquery-12

[jQuery] Re: .animate() queue without pause between animations

2009-01-13 Thread Nikola
Also, you might want to try posting questions like this one in the jQuery UI group as .animate is part of jQuery UI. http://groups.google.com/group/jquery-ui?hl=en&pli=1

[jQuery] Re: .animate() queue without pause between animations

2009-01-13 Thread Nikola
with setTimeout. setTimeout ('$(this).animate({},speed)', 400); Hope that helps. Nikola

[jQuery] Re: Once validated..

2009-01-13 Thread Nikola
I see, you set a js var to equal the var in php, that's very good to know. Thank you.

[jQuery] Once validated..

2009-01-12 Thread Nikola
I'm validating a form in php and am wondering how I can bind a jQuery function to a successful validation or how to check a var set in php with jQuery.

[jQuery] Re: jQuery 1.3rc1 Ready

2009-01-12 Thread Nikola
Thanks for the info duck, I thought it was something along those lines... good to know.

[jQuery] Re: jQuery 1.3rc1 Ready

2009-01-11 Thread Nikola
Well, that was really strange. The problem was somewhere in the validate plug-in, I'm still working on this and not exactly sure what happened... but, all is well.

[jQuery] Re: jQuery 1.3rc1 Ready

2009-01-11 Thread Nikola
I was using 1.3b2 with UI1.6rc4 on one particular project I'm working on. I threw 1.3rc1 in to try it out and for some reason my tabs are all over the place. It will really take me some time to put a minimal case together but I'll try to narrow this down a bit tomorrow. Are there any particular

[jQuery] Re: jQuery 1.3rc1 Ready

2009-01-11 Thread Nikola
I was using 1.3b2 with UI1.6rc4 on one particular project I'm working on. I threw 1.3rc1 in to try it out and for some reason my tabs are all over the place. It will really take me some time to put a minimal case together but I'll try to narrow this down a bit tomorrow. Are there any particular

[jQuery] Re: IE8.

2009-01-11 Thread Nikola
I'd like to start testing in IE8b2 as well but I can't seem to get it working. Has anyone else had difficulties with it? My PC is running Windows XP sp3. I installed IE8, rebooted, but IE8 wouldn't start up. I checked the version to confirm it was actually installed and it was. I re-installed

[jQuery] Re: IE8.

2009-01-11 Thread Nikola
I'd like to start testing in IE8b2 as well but I can't seem to get it working. Has anyone else had difficulties with it? My PC is running Windows XP sp3. I installed IE8, rebooted, but IE8 wouldn't start up. I checked the version to confirm it was actually installed and it was. I re-installed

[jQuery] Re: IE8.

2009-01-11 Thread Nikola
I'd like to start testing in IE8b2 as well but I can't seem to get it installed. Has anyone else had difficulties getting it up and running? I'm running Windows XP sp3. I installed IE8, rebooted but IE8 wouldn't start up. I checked the version to confirm it was installed and it was. I re-inst

[jQuery] Re: teaching jquery instead of javascript ?

2009-01-08 Thread Nikola
That's very true and in fact that's how I'm learning JavaScript myself. jQuery is an awesome way to learn, it's smart, fun and powerful.

[jQuery] Re: teaching jquery instead of javascript ?

2009-01-08 Thread Nikola
Why not integrate the basic "JavaScript Fundamentals" in each jQuery lesson. You could show some general examples and explain the rudimentary JavaScript principal (I'm thinking a 15 minute introduction...) then teach the jQuery and demonstrate how and why jQuery is the "write less, do more" JavaS

[jQuery] Re: teaching jquery instead of javascript ?

2009-01-08 Thread Nikola
Why not include basic "JavaScript Fundamentals" in each jQuery lesson. Show some general examples and explain the general JavaScript principal of the lesson works (I'm thinking a 15 minute introduction...) then teach the jQuery and illustrate how and why jQuery is the "write less, do more" JavaSc

[jQuery] Re: Validation: Which and why...

2009-01-08 Thread Nikola
I'm thinking now that I'll use jQuery validation methods from the start which can make the form more interactive and interesting. If the form validates within jQuery then I'll pass it to my php validation method. In this case, I'll use to php to re-validate the form under stricter criteria and e

[jQuery] Re: Validation: Which and why...

2009-01-08 Thread Nikola
I'm thinking now that I'll use jQuery validation methods from the start which can make the form more interactive and interesting. If the form validates within jQuery then I'll pass it to my php validation method. In this case, I'll use to php to re-validate the form under stricter criteria and e

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Nikola
Great information, I have some very strong ideas of when and how I'll impliment jQuery and php validation now. Thanks much, Nikola

[jQuery] Re: Validation: Which and why...

2009-01-07 Thread Nikola
Thanks for the info, I was thinking along the same lines but wasn't altogether sure.

[jQuery] Validation: Which and why...

2009-01-07 Thread Nikola
I am wondering what the relative advantages / disadvantages are of validating purely in php vs. in jQuery.

[jQuery] Re: Debugging in IE7

2009-01-07 Thread Nikola
Thanks much, I'm going to try these all out later today.

[jQuery] Debugging in IE7

2009-01-07 Thread Nikola
I haven't really found a good solution for debugging in IE7. Any suggestions or recommendations? Thanks, Nikola

[jQuery] Re: Combo box problem

2009-01-05 Thread Nikola
I learned a lot from that bit of code, great example.

[jQuery] Re: a:not named anchor

2009-01-05 Thread Nikola
Indeed, thanks much... this is an extremely versatile and useful selector. Sorry for the double post. I deleted my initial message to fix a typo then had to re-post.

[jQuery] Re: a:not named anchor

2009-01-05 Thread Nikola
Sure does, thanks much... this is an extremely useful and versatile selector. Sorry for double post. I deleted my initial message to fix a typo which in turn removed the entire message and I had to re-post it so now we have two.. ;)

[jQuery] Re: Combo box problem

2009-01-05 Thread Nikola
Off the top of my head, why not just use one list and append the relevant text?

[jQuery] Re: a:not referencing named anchors

2009-01-05 Thread Nikola
That is a thing of beauty! Thanks much.

[jQuery] a:not referencing named anchors

2009-01-05 Thread Nikola
along the lines of: Anchors that don't have "#" as the first character in their reference.. $("a:not "#" as the first character in their href").someaction Any ideas? Thanks much, Nikola

[jQuery] a:not named anchor

2009-01-05 Thread Nikola
r in their reference.. $("a:not "#" as the first character in their href").someaction Any ideas? Thanks much, Nikola

[jQuery] Re: jQuery 1.3b1 and the Galleria Plug-In

2009-01-02 Thread Nikola
The image thumbs don't stay active when selected for some reason. I still haven't really dove into Galleria yet as I'm working on some things with Dialog at the moment but I thought I'd mention it... @Deaven Select "Edit my membership" and choose your notification preferences...

[jQuery] Re: jQuery 1.3b1 and the Galleria Plug-In

2009-01-02 Thread Nikola
Thats great info... I did the same but in my case the caption text is missing where as the prev/next buttons are ok.

[jQuery] jQuery 1.3b1 and the Galleria Plug-In

2009-01-01 Thread Nikola
Has anyone had any problems with Galleria and jQuery 1.3b1? Galleria seems to be incompatible with 1.3B1. I'll try to dig into later and see what I come up with...

[jQuery] Re: .animate and border sides

2008-12-27 Thread Nikola
Thanks Ricardo, I forgot to link to UI in my minimal case but I do have it included in the project I am working on so that wasn't the problem. I was, however, unaware of the "borderSideColor" color animation. Sometimes the answers can be right under ones nose. Thanks much... now if I could just

[jQuery] Re: .animate and border sides

2008-12-26 Thread Nikola
You can play around with it more here: http://jsbin.com/anala/edit

[jQuery] .animate and border sides

2008-12-26 Thread Nikola
ion it would be great to control what aspect of the border we wish to animate, just the size, size and color, just the color etc.. Animating individual border colors can be very useful... MINIMAL TEST CASE: http://paste.pocoo.org/show/96878/ Thanks, Nikola

[jQuery] Re: Merry Xmass

2008-12-25 Thread Nikola
God Peace Christ is born! Merry Christmas from America to all!

[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
nsole.log( p ); // --> [li] } jQuery version is: 1.0.4 and unfortunately I can't change it Now, let's hope I've managed it to be more precise about my thoughts :) Greetings -- Nikola

[jQuery] Re: parents() clears vars

2007-09-17 Thread Nikola Ivanov
parents of the curent element. But the problem remains - other variables inside the same function are changed and all the same: parents( 'li' ) Thank you. Nikola

[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