[jQuery] Re: Chaining methods and Debugging?

2007-12-27 Thread Benjamin Sterling
Mike, Is there a particular problem that you are trying to debug? In the beginning, I would put console.log in the callbacks (if the method had one) and that allowed me to see when one thing was be executed. Another tip that should probably help, instead of doing. $('p').css('color','red').slide

[jQuery] Re: Using JSONP...I'm clueless.

2007-12-27 Thread pcdinh
Basically, you can not make a ajax-driven cross domain connection directly. Have a look at http://shiflett.org/blog/2006/aug/cross-domain-ajax-insecurity

[jQuery] Re: check if an id exists

2007-12-27 Thread McLars
Yeah, it dawned on me later that the chaining/no error thing was behind the empty array. I think the no errors bit is overhyped, though. Other than the $('#id').hide() example, you aren't going to get very far when a selection fails, and it will make debugging a little weird if you don't throw an

[jQuery] flot graph in thickbox

2007-12-27 Thread Ken Gregg
I created a flot chart page that I am trying to load into thickbox using an iframe. When the chart page loads into the iframe it errors out in jquery with the message: document.defaultView.getComputedStyle(elem, null) has no properties The page is here: http://dev.rwre.com/test/test.html After

[jQuery] Chaining methods and Debugging?

2007-12-27 Thread Mike Schinkel
Hi all: I'm relatively new to jQuery and I see chaining methods touted as one of it's best features. However, I fine it very hard to debug a chained method because of inability to see the intermedia states in Firebug. It currently seems to me to be one of those "sounded like a great idea at th

[jQuery] Re: jqModal Overlay issue

2007-12-27 Thread Josh Nathanson
Definitely let the list know if you figure out what's going on; I use jqModal but I don't have IE7 to test it on, so I'd be bummed if it doesn't work right on IE7. I do know that it works fine in IE6. -- Josh - Original Message - From: "Shawn" <[EMAIL PROTECTED]> To: Sent: Thurs

[jQuery] Re: jqModal Overlay issue

2007-12-27 Thread Shawn
Odd... I'm seeing this issue on the target computers, but not on my development system (which is a WinXP VMWare image). On the DEV system, everything happens correctly, but on the worker's computers I'm getting these issues... Odd... Shawn Shawn wrote: > I'm using the latest version of jqM

[jQuery] Re: check if an id exists

2007-12-27 Thread Dave Methvin
> It isn't intuitive that jQuery always returns an array-like object. If jQuery didn't return a jQuery object, you would not be able to chain methods. Chaining is at the core of jQuery's design. In many cases you don't even need to "check if an id exists", since any following methods in the chain

[jQuery] Re: Firefox uncaught exception - Please help

2007-12-27 Thread Bill
AdBlock Plus was killing it HAH! Thanks to Benjamin for checking it out. Bill On Dec 26, 10:49 pm, Karl Delandsheere <[EMAIL PROTECTED]> wrote: > "I prefer to use Firefox, but for the time being I will have recommend > to users to use internet explorer. > > Bill " > > Haha... Bill... Gates? :D

[jQuery] Re: Firefox uncaught exception - Please help

2007-12-27 Thread Bill
Adblock Plus was the cluprit. On Dec 26, 10:49 pm, Karl Delandsheere <[EMAIL PROTECTED]> wrote: > "I prefer to use Firefox, but for the time being I will have recommend > to users to use internet explorer. > > Bill " > > Haha... Bill... Gates? :D > > I have the same problem... Sometimes... I didn

[jQuery] jqModal Overlay issue

2007-12-27 Thread Shawn
I'm using the latest version of jqModal (r11). On IE7, the overlay is not transparent in any way (solid grey). In addition, it is being inserted before my page content and pushing the page content down. So, if I scroll down, I can still interact with my page elements. On FF, this works as i

[jQuery] Re: FadeIn on $(document).ready flicker

2007-12-27 Thread Jeroen
On Dec 27, 2007 10:06 AM, Jeroen <[EMAIL PROTECTED]> wrote: On Dec 27, 2007 2:35 AM, Hamish Campbell <[EMAIL PROTECTED]> wrote: > > > > > Using FF2, FF3b2, IE7 and IE6 I don't get the flicker (XP SP2, > > 1280x1024, P4 3.2Ghz). Do you have a demo? Maybe you're running lots > > of other code first?

[jQuery] jquery for overlay on mouse over

2007-12-27 Thread jbdev
I have been trying a few ideas to get the same effect using jquery but have not found a good solution. Does anyone know of a plugin that would mimic this functionality using jquery ? http://www.us.kohler.com/index.jsp Roll over "design and create". There is a drop down with content. I need t

[jQuery] Re: cluetip issue

2007-12-27 Thread [EMAIL PROTECTED]
Solved sorry was my stupid error Andrea On Dec 27, 12:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi , > > i am using teh following code > > $('.cfjq_cluetip').cluetip({ > sticky:false, > splitTitle: '|', > showTitle: true > }); > > to run the tip on different a tag using their o

[jQuery] Re: jquery.com down?

2007-12-27 Thread Nguyễn Quốc Vinh
I have the same thing when accessing jquey.com! On 27/12/2007, Pierre <[EMAIL PROTECTED]> wrote: > > > Seems like database issue (got a database timeout error when trying to > access the wiki). Worked the second time after a while tho > > On Dec 26, 11:23 am, traunic <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: label fires click function twice

2007-12-27 Thread mnosal
Right. Adding return false; stops the event bubbling and the function is called only once. (and the selector should have been '#r1' - typo.) Thx. --Mike On Dec 26, 9:55 pm, Shawn <[EMAIL PROTECTED]> wrote: > Remember event bubbling is taking place for ALL events. > > I suspect you will need to

[jQuery] Re: Beginner help with highlight effect

2007-12-27 Thread Strija
You must be doing something wrong, because this works great: $("#admperm").show().css({backgroundColor: '#ff0'}).animate({backgroundColor: '#fff'}, 1000); On Dec 27, 11:24 am, rics <[EMAIL PROTECTED]> wrote: > I can't put it to work without the setTimeOut(). The solution I have > found was to us

[jQuery] cluetip issue

2007-12-27 Thread [EMAIL PROTECTED]
Hi , i am using teh following code $('.cfjq_cluetip').cluetip({ sticky:false, splitTitle: '|', showTitle: true }); to run the tip on different a tag using their own title attribute to display the tip so I have in my html: Tooltip Test Tooltip Test Tooltip Test The point is that

[jQuery] Re: check if an id exists

2007-12-27 Thread Josh Nathanson
well as many other jQuery newbies? Specifically, what signifigance does jQuery's $() being like an array have, and even when you use an ID selector? It is very significant -- in fact you could even say it is one of the most important code-saving aspects of the jQuery library. When you do

[jQuery] Re: Programmatically controlling cut and paste

2007-12-27 Thread Chris Jordan
Oh! Thanks for that little tidbit Yehuda... where can I find more information on doing that? I probably won't do it, but for future reference it'd be nice to know. :o) Chris On Dec 26, 2007 11:51 AM, Yehuda Katz <[EMAIL PROTECTED]> wrote: > If you're only using IE, you're good to go. An alternat

[jQuery] Re: Suggest to jQuery Ajax

2007-12-27 Thread John Resig
We've already fixed this in jQuery - in fact we've been doing this for quite some time now (using ActiveX instead of the preferred XMLHttpRequest). I assume your problem must lie elsewhere. --John On Dec 27, 2007 7:44 AM, Leandro Vieira Pinho <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > Some mont

[jQuery] Re: Superfish menu extremely slow/clunky in IE6 with wordpress

2007-12-27 Thread jbadger
I think I found the problem, but I'm not sure how to fix it... I used "View -> Page Source" and pasted it into a file at the following location: http://news1.pandesa.com/wp-content/themes/zenful_pandesa/test.htm As you can see, the menus are still slow and clunky. Then I replaced the following

[jQuery] Re: FadeIn on $(document).ready flicker

2007-12-27 Thread Jeroen
On Dec 27, 2007 2:35 AM, Hamish Campbell <[EMAIL PROTECTED]> wrote: > > Using FF2, FF3b2, IE7 and IE6 I don't get the flicker (XP SP2, > 1280x1024, P4 3.2Ghz). Do you have a demo? Maybe you're running lots > of other code first? > > Hi Hamish, You can view a development version here: http://test.

[jQuery] Re: check if an id exists

2007-12-27 Thread Mike Schinkel
Michael Geary write: > It's interesting that people don't immediately think of using > $('#id').length > 0 (with or without the > 0). It tells me > that they're not aware of a fundamental fact about jQuery: > The $() function always returns an array-like object that has > .length and [0..n] pr

[jQuery] Re: Superfish menu extremely slow/clunky in IE6 with wordpress

2007-12-27 Thread jbadger
I think I found the problem, but I'm not sure how to fix it... I used "View -> Page Source" and pasted it into a file at the following location: http://news1.pandesa.com/wp-content/themes/zenful_pandesa/test.htm As you can see, the menus are still slow and clunky. Then I replaced the following

[jQuery] Re: Beginner help with highlight effect

2007-12-27 Thread rics
I can't put it to work without the setTimeOut(). The solution I have found was to use setTimeOut without the time part. It works fine now... Look what I've done: $("#admperm").show(); setTimeout( function() { $('#admperm').css({backgroundColor: '#ff0'}); $('#admperm').animate({backgroun

[jQuery] After submit - fade in

2007-12-27 Thread coughlinsmyalias
Hey you guys! I have this code: $(document).ready(function(){ $('#addWord').submit(function(){ $.ajax({ type: "POST", url: "add.php", data: {"word": $('#word').val()} }) $('#wo

[jQuery] Re: Select the parent of current element!

2007-12-27 Thread Nguyễn Quốc Vinh
Thank you very much, Karl(It's seems that you are in german) It's work well and i known much about wonderful parent method! Again, thank you! On 17/12/2007, Wizzud <[EMAIL PROTECTED]> wrote: > > > $("input.saveButton").click(function () { > alert( $(this).parent().find('input:first').val

[jQuery] Callback function - display on page

2007-12-27 Thread coughlinsmyalias
Hey all! I have been trying to say add a call back function after the form has been submitted, display on the page word has been added, have it appear for a second or so and then fade away..Any ideas on that? My code: $(document).ready(function(){ $('#addWord').submit(function(){

[jQuery] Re: Firefox uncaught exception - Please help

2007-12-27 Thread Karl Delandsheere
"I prefer to use Firefox, but for the time being I will have recommend to users to use internet explorer. Bill " Haha... Bill... Gates? :D I have the same problem... Sometimes... I didn't get any answer yet. Wait and see :). And remember... Do not choose the dark side. It is easier, but much l

[jQuery] Re: label fires click function twice

2007-12-27 Thread Yılmaz Uğurlu
May be you are binding same event more than once. Can you check it out? 2007/12/27, Shawn <[EMAIL PROTECTED]>: > > > Remember event bubbling is taking place for ALL events. > > I suspect you will need to stop the event propagation to resolve this > issue. This can be done one of two ways: > > 1) R

[jQuery] Re: check if an id exists

2007-12-27 Thread McLars
Mike, I think you've hit the nail on the head. It isn't intuitive that jQuery always returns an array-like object. One assumes that a failed search returns nothing. That leads me to question why it returns the empty array. Shouldn't it return nothing if nothing is found? Larry Michael Geary wro

[jQuery] First release of jQuery.Accessible

2007-12-27 Thread Ariel Flesler
Hi guys, I released 0.1 of jQuery.Accessible. As the version number indicates, it's far from being functional. It should be taken more like a demo. My intention is to gather all those small snippets you see over the net to improve accessibility using javascript, and run them automatically inside t

[jQuery] Suggest to jQuery Ajax

2007-12-27 Thread Leandro Vieira Pinho
Hi Guys, Some months ago, I have created a menu using a structure from a XML file. But using, the Adobe Spry Framework. When I have tried in IE 7, the menu doesn´t function. But the version 1.5 of that Framework has fixed the problem. Looks: "Modified createXMLHttpRequest() so that it tries to u

[jQuery] Re: cloning events problems

2007-12-27 Thread Eridius
I did a really quick test building a base tab system myself(only took about 30 mins, it is functional, just not styling) and it works fine in IE and FF, anyone know why the existing tabs does not work(from UI)? Eridius wrote: > > Would this be the correct way of cloning events? > > for(var i

[jQuery] Re: How to identify the selected element with jquery?

2007-12-27 Thread Richard D. Worth
To find the clicked anchor, use something like $("a.closed").click(function() { var a = $(this); var aEl = a[0]; }) To find all the content after the anchor until the next h3 or h4, use this nextUntil function, written by John Resig: http://docs.jquery.com/JQuery_1.2_Roadmap#.nextUntil.28.29