[jQuery] Re: clueTip - moveable/dragable

2009-07-30 Thread Karl Swedberg
Hi there. Sorry for the delay in responding. It sounds like the jQuery UI Dialog plugin would better suit your needs here: http://jqueryui.com/demos/dialog/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 26, 2009, at 11:13 AM, derek wrote: i've

[jQuery] Re: jquery blocks javascript?

2009-07-30 Thread Karl Swedberg
: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Using data(name,value) to store additional information

2009-07-23 Thread Karl Swedberg
One way to retrieve them is to use the .filter() method with a function. for example: $('div').filter(function() { return $(this).data('foo') == 'bar'; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 21, 2009, at 11:29 AM, Basdub wrote: I

[jQuery] Re: Cluetip - From a function

2009-07-21 Thread Karl Swedberg
I'm really at a loss. I'm going to have to solicit help from others. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 21, 2009, at 12:12 AM, DotnetShadow wrote: Hi there Karl, I was wondering if you have had a chance to look at this problem? I would

[jQuery] Re: jQuery = License

2009-07-21 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 21, 2009, at 9:29 AM, Matt Zagrabelny wrote: On Tue, 2009-07-21 at 00:46 -0700, Kaps wrote: Hello Team, I just want to know that do I need to purchase a license if I want to use jquery on public sites. Waiting

[jQuery] Re: [tooltip] Persistence

2009-07-21 Thread Karl Swedberg
I don't think you can do that with Tooltip. But you can with clueTip: plugins.learningjquery.com/cluetip/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 21, 2009, at 5:40 AM, Hogsmill wrote: Is it possible to make tooltoips persistent, i.e. you have

[jQuery] Re: cluetip onMouseOut Stick problem

2009-07-16 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 16, 2009, at 11:16 AM, Randy wrote: Try hovering over the link and then move the mouse to the left (without going over the actual cluetip). The cluetip stays active. On Jul 10, 7:43 pm, Karl Swedberg k

[jQuery] Re: Is there a way to disable jQuery's automatic timestamping of GET requests?

2009-07-15 Thread Karl Swedberg
Not sure, but have you tried using $.ajax with cache true? $.ajax({ url: 'http://api.com/json/callback', dataType: 'script', cache: true }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 14, 2009, at 1:12 AM, Dan Dascalescu wrote: If you do

[jQuery] Re: IE and div height

2009-07-14 Thread Karl Swedberg
can you provide a link to a test case? It would be very helpful to see where the difference is and what the cause might be. thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 13, 2009, at 12:21 PM, Ranadave wrote: I have a problem whereby

[jQuery] Re: 3 Solitaire

2009-07-14 Thread Karl Swedberg
. The browser knows what to do. source: http://javascript.crockford.com/script.html --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 14, 2009, at 7:01 PM, Brett Ritter wrote: On Tue, Jul 14, 2009 at 6:37 PM, weepyjonah...@gmail.com wrote: you don't define

[jQuery] Re: ClueTip, hideLocal, IE6: the same old sad story

2009-07-11 Thread Karl Swedberg
generic, because of CSS specificity rules: #cluetip div { display: block; } Let me know if this works for you. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 10, 2009, at 4:43 PM, brian wrote: jQuery 1.3.2 ClueTip 1.0.4 $('a.DownloadInfoLink').cluetip

[jQuery] Re: cluetip onMouseOut Stick problem

2009-07-10 Thread Karl Swedberg
you're moving over and then to the right of the tooltip? strange. it's working fine for me. which browser are you using? I just tested again in FF3.5 and Safari 4, both Mac. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 10, 2009, at 5:24 PM, Randy

[jQuery] Re: jQuery background position plugin

2009-07-10 Thread Karl Swedberg
You could chain a .css() to it. Set the x axis first with .css() and then the y axis with .animate() : $(this) .css({backgroundPosition: '200px 0'}) .animate({backgroundPosition:(200px -50px)}, {duration: 600}) --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: cluetip onMouseOut Stick problem

2009-07-09 Thread Karl Swedberg
Hi Randy, If I understand your problem correctly, I fixed this last week. The updated version can be found on Github: http://github.com/kswedberg/jquery-cluetip/tree/master I also just now updated the demo. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: why is this href firing???

2009-07-08 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: String Remove Trailing

2009-07-07 Thread Karl Swedberg
On Jul 6, 2009, at 2:09 PM, Israel Thompson wrote: How can I remove the trailing from a string I'm concatenating to go in a URL? if, for example, your string is in a variable called yourString. you could do this: yourString.replace(/$/,'') --Karl Karl Swedberg

[jQuery] Re: Remove an li

2009-07-07 Thread Karl Swedberg
On Jul 6, 2009, at 8:36 PM, expresso wrote: weird, I went to the selectors page but don't see nextAll That's because .nextAll() isn't a selector. It's a traversal method. http://docs.jquery.com/Traversing/nextAll#expr --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: documentation system for jquery

2009-07-07 Thread Karl Swedberg
docs.jquery.com is powered by MediaWiki. plugins.jquery.com is powered by Drupal. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 7, 2009, at 9:53 AM, david wrote: Hi all, I wanted to ask which system you use to produce the jquery documentation (core

[jQuery] Re: Reload events after ajax

2009-07-06 Thread Karl Swedberg
this should help: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 5, 2009, at 8:10 PM, misiek wrote: Hello, My code: html: div class=ajax_here

[jQuery] Re: unsubscribe

2009-07-06 Thread Karl Swedberg
) Thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 6, 2009, at 10:55 AM, Jared Henderson wrote: unsubscribe

[jQuery] Re: Inclusion of external scripts (best approach)

2009-07-04 Thread Karl Swedberg
--Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 4, 2009, at 5:49 AM, north wrote: One explanation I was thinking about: If you put both scripts at the bottom, the page renders faster, but the delay until certain functionality is available, elements

[jQuery] Re: Initial Setup

2009-07-04 Thread Karl Swedberg
this: http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 4, 2009, at 10:31 AM, Charlie wrote: version is in the url current version of jQuery is 1.3.2, just change url . plugins generally don't

[jQuery] Re: Convoluted Selector issue...

2009-07-04 Thread Karl Swedberg
Hi there. Try this: $('a.checktoggle').click(function() { var cb = $(this).closest('div').next().find(':checkbox')[0]; cb.checked = !cb.checked; return false; }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 4, 2009, at 1:36 PM, Pkunzipula

[jQuery] Re: var $varname

2009-07-03 Thread Karl Swedberg
interested, this convention was first suggested by Michael Geary back in 2006. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Initial Setup

2009-07-03 Thread Karl Swedberg
It's probably not a good idea to use the one at code.jquery.com. You could use the Google CDN version, though: script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js type=text/javascript/script --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: How to update check boxes in code

2009-07-03 Thread Karl Swedberg
you are trying to set a dom property on a jQuery object. for the second line, either do: chk[0].checked = true; or: chk.attr('checked', true); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 2, 2009, at 3:45 PM, Arne Garvander wrote: This code

[jQuery] Re: Complex selector

2009-07-03 Thread Karl Swedberg
this should work: $('div').children('table,p').not('.ImageHolder'); or this: $(' table,p','div').not('.ImageHolder') but for me the first is more readable. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 3, 2009, at 5:56 PM, Roswell wrote: After

[jQuery] Re: jQuery selector performance / jQuery Tester

2009-07-02 Thread Karl Swedberg
On Jul 2, 2009, at 8:45 AM, north wrote: Hi, I just tested all my jQuery selectors using the jQuery Tester (http:// jquery.nodnod.net), and the results seem to contradict one thing I read in a performance article: that you should descend from the closest parent ID when using classes in your

[jQuery] Re: select option not catching mousedown event in IE and Chrome

2009-07-02 Thread Karl Swedberg
, MAP, MARQUEE, MENU, nextID, NOBR, OL, P, PLAINTEXT, PRE, RT, RUBY, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP, Element Constructor, HTMLDocument Constructor No OPTION listed. --Karl Karl

[jQuery] Re: jQuery selector performance / jQuery Tester

2009-07-02 Thread Karl Swedberg
class names is that they have support for .getElementsByClassName() and .querySelectorAll() --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 2, 2009, at 3:53 PM, olsch01 wrote: Hi Karl, thanks for your reply. I used jQuery tester in FF2 + 3, IE6, 7

[jQuery] Re: Cluetip - From a function

2009-07-01 Thread Karl Swedberg
and report back as soon as I can. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 1, 2009, at 3:39 AM, DotnetShadow wrote: Hi Karl, I recently posted here: http://plugins.jquery.com/node/8405 about an issue of calling cluetip from a function (see post for extra

[jQuery] Re: Need jQuery/Ajax/jsonp HELP

2009-07-01 Thread Karl Swedberg
jQuery. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Cluetip with textarea

2009-06-30 Thread Karl Swedberg
of extra, unnecessary, work. Can you tell me why you would really like to use clueTip for this? What advantage do you see it having over a simpler approach? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 30, 2009, at 2:09 AM, johhnnyboy wrote: ? On 29

[jQuery] Re: Cluetip with textarea

2009-06-30 Thread Karl Swedberg
of the chairs in the top row). --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 30, 2009, at 2:24 PM, johhnnyboy wrote: Stupid maybe but i like the shadow option and the arrow... On 30 jun, 17:03, Karl Swedberg k...@englishrules.com wrote: I'd say don't do

[jQuery] Re: Cluetip with textarea

2009-06-29 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 29, 2009, at 1:05 PM, johhnnyboy wrote: Hello, Does anyone have a tutorial or testscript how to show a cluetip (previewwindow) when onkeyup in textarea?

[jQuery] Re: G is undefined

2009-06-29 Thread Karl Swedberg
The jQuery example is using data.items because the JSON object it is retrieving is different from yours. Its JSON object is coming from the flickr API. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 29, 2009, at 1:25 PM, expresso wrote: Mike

[jQuery] Re: Problems with selectors and this keyword

2009-06-29 Thread Karl Swedberg
There are a few ways you could do this. Here are two: $(' td', this).css('background', '#ff'); or $(this).children('td').css('background', '#ff'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 29, 2009, at 3:58 PM, Coxy wrote

[jQuery] Re: Is JQuery 1.3.2 backward compatible with 1.1.2 ?

2009-06-28 Thread Karl Swedberg
in jQuery UI (http://jqueryui.com/) jquery.corner.js - upgrade to latest at http://malsup.com/jquery/corner/ jquery.history.js - not sure about this one. probably still works as advertised. hope that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 27

[jQuery] Re: Same code used in all pages but error on one page??

2009-06-27 Thread Karl Swedberg
page }).playlist(.entries); } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 26, 2009, at 10:55 PM, efet wrote: Everything works fine at our website expect the contact us page. It give a javascript error which also bans visitors submitting the form

[jQuery] Re: jquery(this) and has:ul selector.

2009-06-27 Thread Karl Swedberg
Try this: if ( $('ul', this).length ) { // do something if this li has a descendant ul } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 27, 2009, at 8:31 AM, zayatzz wrote: Hello I have function like this: $(ul.lavaLamp li:has ul).hoverIntent

[jQuery] Re: Date range Picker jquery

2009-06-27 Thread Karl Swedberg
http://jqueryui.com/demos/datepicker/#min-max --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 27, 2009, at 9:59 PM, bharani kumar wrote: hi all am looking picker somthing like http://www.basicdatepicker.com/samples/item4.aspx in jquery-ui Thanks

[jQuery] Re: jQ animate doesn´t work in FireFox

2009-06-25 Thread Karl Swedberg
elements are you trying to animate? Try putting your attempt on jsbin.com so we can have a look. thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: cluetip issue firefox/safari local content w/link

2009-06-24 Thread Karl Swedberg
Hi there, I copied your html from below and your jQuery, but I can't find in the html any element with a class of nextcontainer $('.nextcontainer a.cell_link') --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 24, 2009, at 11:14 AM, kurtzilla

[jQuery] Re: cluetip issue firefox/safari local content w/link

2009-06-24 Thread Karl Swedberg
actually, the more I look at the html, the less sense I can make of it. you have DIVs and DLs nested inside As. You also have links within other links. Please make sure that the HTML is valid first and then check the clueTip stuff again. thanks, --Karl Karl Swedberg

[jQuery] Re: cluetip issue firefox/safari local content w/link

2009-06-24 Thread Karl Swedberg
thanks for that, but you still need to clean up the invalid html throughout. try running it through the w3c validator to get an idea of all the problems. http://validator.w3.org/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 24, 2009, at 5:15 PM

[jQuery] Re: jQuery Tooltip Plug-in 1.3 Update

2009-06-23 Thread Karl Swedberg
On Jun 23, 2009, at 9:50 AM, funomat wrote: You need to use a newer dimensions version. http://plugins.jquery.com/project/dimensions You don't need to use the Dimensions plugin at all. It has been incorporated into the jQuery core file. --Karl Karl Swedberg

[jQuery] Re: Load Content

2009-06-21 Thread Karl Swedberg
Hi there, This should help: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 21, 2009, at 8:25 PM, Valor wrote: First let me say that I'm

[jQuery] Re: Debugging tips

2009-06-19 Thread Karl Swedberg
-with-firebug --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 19, 2009, at 10:26 AM, mojoeJohn wrote: Where is a good article or site to find tips on how to use firebug to debug jQuery. I know all about how to debug css and html, so firebug is not new to me at all

[jQuery] Re: Form Traversal Best Practices

2009-06-19 Thread Karl Swedberg
, but I use .attr('checked', true) Actually, when I can get away with avoiding .attr() I usually do. For example, I would do: this.checked = true; rather than: $(this).attr('checked', true); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Outline html elements on hover and click

2009-06-19 Thread Karl Swedberg
cool deal. btw, I posted an entry on learningjquery.com that improves on my little script: http://www.learningjquery.com/2009/06/quick-tip-outline-elements-on-hover --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 19, 2009, at 1:34 PM, ecofriend

[jQuery] Re: The Truth About Manifesting Money

2009-06-19 Thread Karl Swedberg
On Jun 19, 2009, at 3:21 PM, Andy Matthews wrote: Can someone block this user please? blocked. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: li:nth-child(10) toggle

2009-06-19 Thread Karl Swedberg
(); $list.after($moreLink).after($moreItems); $moreLink.click(function() { $(this).text($(this).text() == 'more' ? 'less' : 'more'); $moreItems.slideToggle(); return false; }); } }); --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: li:nth-child(10) toggle

2009-06-19 Thread Karl Swedberg
Ah, I see. Helps to be able to see the HTML. Let us know if mkmanning's approach doesn't do the trick. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 19, 2009, at 5:56 PM, bombaru wrote: Thanks Karl... I'm not familiar with slice

[jQuery] Re: jQuery Conference for 2009?

2009-06-18 Thread Karl Swedberg
on it. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: jQuery Conference for 2009?

2009-06-17 Thread Karl Swedberg
of days, and location haven't been determined yet. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 16, 2009, at 11:09 AM, MorningZ wrote: There wasn't much chatter on the jQuery day here on the group last year either (yet it was packed!) So i wouldn't gauge

[jQuery] Re: cluetip + livequery (or other rebinding method)

2009-06-17 Thread Karl Swedberg
Hi Chris, I went to http://www.sprymedia.co.uk/article/DataTables but I coujldn't find the fnReloadAjax function in the documentation. Does it have a callback argument? If so, you could rebind the cluetip in there. --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Cluetip with Image Maps

2009-06-17 Thread Karl Swedberg
I think I fixed a couple bugs with this sort of thing in the Github version. Can you try that one and let me know if it works? http://github.com/kswedberg/jquery-cluetip/tree/master thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 17, 2009

[jQuery] Re: cluetip + livequery (or other rebinding method)

2009-06-17 Thread Karl Swedberg
. For example, if the callback is the only argument: attributes_Table.fnReloadAjax(ct); or: attributes_Table.fnReloadAjax(function() { ct(); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 17, 2009, at 1:32 PM, Chris Hall wrote: thanks, Karl

[jQuery] Re: Outline html elements on hover and click

2009-06-15 Thread Karl Swedberg
, .outlineElement { outline: 1px solid red; } /style Note, I changed border to outline so it wouldn't mess with the elements' dimensions. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 15, 2009, at 7:36 AM, Dave wrote: Hi Am

[jQuery] Re: Trouble constructing selector string.

2009-06-14 Thread Karl Swedberg
Maybe $(this).attr('class') != 'Value' ? Sorry, what I meant was that maybe $(this).attr('class') does not equal Value. And that I wouldn't use $(this).attr('class') ... --Karl On Jun 13, 2009, at 8:53 PM, Karl Swedberg wrote: Maybe $(this).attr('class') != 'Value' ? I wouldn't

[jQuery] Re: switching two table rows

2009-06-14 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 14, 2009, at 6:36 PM, theprodigy wrote: I am creating an admin section for a site I'm building. One of the options is to change the sort order of a list of items. I have all the backend (PHP) code running properly, but having

[jQuery] Re: switching two table rows

2009-06-14 Thread Karl Swedberg
(); } return false; }); }); There's a lot of repetitive code there. Sorry about that. Use it as a starting point. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 14, 2009, at 10:21 PM, Paul Witschger wrote: actually, there is one

[jQuery] Re: Trouble constructing selector string.

2009-06-13 Thread Karl Swedberg
Maybe $(this).attr('class') != 'Value' ? I wouldn't bother using $(this).attr('class') anyway. Instead, try this.className And make sure that the class is, in fact, Value. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 12, 2009, at 9:22 AM

[jQuery] Re: Find text (nodes) within an element?

2009-06-10 Thread Karl Swedberg
quick note of caution about this one: $('label').text().substr(-1) === F; .substr() won't work with a negative index in IE6 and 7 (maybe 8, too?). It'll return the full string. Use .slice(-1) instead. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: How can I move a div around the screen like iGoogle?

2009-06-08 Thread Karl Swedberg
Take a look at this demo of jQuery UI Sortable: http://jqueryui.com/demos/sortable/#portlets --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 8, 2009, at 7:04 AM, marcello wrote: Hello everyone!! I'm new here!!! I'm starting to know how many

[jQuery] Re: code not work when upgraded from 1.2.3 to 1.3.2

2009-06-07 Thread Karl Swedberg
just remove the @ symbol in the selector. more info: http://docs.jquery.com/Release:jQuery_1.3#Changes http://blog.jquery.com/2007/08/24/jquery-114-faster-more-tests-ready-for-12/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 7, 2009, at 1:20 PM

[jQuery] Re: Even Odd Rows

2009-06-06 Thread Karl Swedberg
You can make that first line a bit more compact: $(li).removeClass(even odd) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 5, 2009, at 11:40 PM, MorningZ wrote: // delete li then $(li).removeClass(even).removeClass(odd) .filter(:odd).addClass

[jQuery] Re: Issue with hoverIntent

2009-06-05 Thread Karl Swedberg
I'll also try to look into it this weekend. Might have to do with animations running. Will see if I need to put a stop() in somewhere. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 5, 2009, at 4:08 PM, Brian Cherne wrote: I exchanged a few

[jQuery] Re: What happened to 'this week in jQuery'?

2009-06-05 Thread Karl Swedberg
sorry. lots of stuff going on. hoped to have one out today. maybe this weekend. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 5, 2009, at 2:15 PM, MorningZ wrote: http://blog.jquery.com/ this week in jQuery-s last entry: May 1st :-( Nothing

[jQuery] Re: Rebinding .one() on ajax callback

2009-06-04 Thread Karl Swedberg
(); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 4, 2009, at 7:29 PM, Will Olbrys wrote: I'd like to make my buttons clickable once so I use the .one() method to set up their binding. This way users don't click a form's button more than once while

[jQuery] Re: Net Tuts interviews Karl Swedberg

2009-06-03 Thread Karl Swedberg
Aww, thanks, guys! The feeling is mutual. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 2, 2009, at 5:36 PM, Rey Bango wrote: Thanks for posting this! Karl, apart from being my friend and jQuery teammate, is one of the biggest supporters

[jQuery] Re: traverse complete DOM of a webpage

2009-06-03 Thread Karl Swedberg
it? Just wondering if one is preferable to the other, and why. Genuinely curious, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 20, 2009, at 9:57 PM, RobG wrote: On May 20, 8:35 pm, Sourabh sourabhmkulka...@gmail.com wrote: Hi I am new to jQuery.I

[jQuery] Re: How do you disable it ?

2009-06-03 Thread Karl Swedberg
Hi Dotnetshadow, Sorry it took me so long to reply. Thanks for your patience. I posted a reply to your report here: http://plugins.jquery.com/node/8405#comment-3532 Here is a demo: http://plugins.learningjquery.com/cluetip/demo/lazyload.html --Karl Karl Swedberg

[jQuery] Re: load() an image: problems in IE7

2009-06-03 Thread Karl Swedberg
for the complete property: if (the_image[0].complete) { myFunction(); } else { the_image.bind('load', myFunction); } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 3, 2009, at 6:47 AM, iRoybot wrote: Does anyone knwo why IE7 is refusing to do 'the trick

[jQuery] Re: Unit testing tools for jQuery?

2009-06-03 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Newbie question on selectors

2009-06-03 Thread Karl Swedberg
In that case you would replace ^= with *= : $(a[class*=edit_]).click(...); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 3, 2009, at 3:20 PM, James wrote: Sorry, I forgot to mention that this would not work if your class is like: a href=... class

[jQuery] Re: tilde (~) selector

2009-06-02 Thread Karl Swedberg
Looks like it has been reported a few times: http://dev.jquery.com/ticket/4243 http://dev.jquery.com/ticket/4569 http://dev.jquery.com/ticket/4606 and possibly: http://dev.jquery.com/ticket/4428 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 2, 2009

[jQuery] Re: JQuery Cycle Plugin, all images in pool showing up when page loads

2009-06-01 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: JQuery Cycle Plugin, all images in pool showing up when page loads

2009-06-01 Thread Karl Swedberg
Oops. Sorry I misspelled your name, Adrian. --Karl On Jun 1, 2009, at 3:58 PM, Karl Swedberg wrote: On Jun 1, 2009, at 2:27 PM, Adrian Chen wrote: Use CSS to control the initial display of the images. How would that be done? Right now this is what I'm using .pics { height

[jQuery] Re: How to remove unneeded functions of jquery?

2009-05-31 Thread Karl Swedberg
attributes.js core.js css.js data.js dimensions.js event.js fx.js intro.js manipulation.js offset.js outro.js selector.js support.js traversing.js Good luck. --Karl Karl

[jQuery] Re: Advanced Syntax Questions

2009-05-31 Thread Karl Swedberg
this should do it: $('a[href^=css]:first') Don't forget to put quotes around the selector. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 31, 2009, at 1:55 AM, ProfCrazyHorse wrote: I'm still trying to get the hang of the syntax. For example

[jQuery] Re: question re: .live() and .empty()

2009-05-30 Thread Karl Swedberg
On May 30, 2009, at 12:14 PM, Jack Killpatrick wrote: Thanks, Brandon. So .empty() won't touch events that were bound using a selector on objects inside what is being emptied, right? Gotta use .die() to get rid of them? Yes and no. empty() will unbind events that were bound to the

[jQuery] Re: Fade in from being invisible...

2009-05-28 Thread Karl Swedberg
precise to suit your needs) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: input field name include . jquery cann't parse

2009-05-27 Thread Karl Swedberg
. The jQuery documentation does, after all, refer to them as weird and special characters. If you think there is more appropriate terminology, feel free to change it. The documentation site is a wiki. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Detect version of internet explorer using jquery

2009-05-27 Thread Karl Swedberg
is usually a bad idea. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: How do you disable it ?

2009-05-25 Thread Karl Swedberg
with the clueTip plugin (just modified it today to namespace the events). Hope that helps. Let me know if you have any questions. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 24, 2009, at 4:23 PM, Lideln wrote: Ok, I finally managed to find an answer

[jQuery] Re: Question: XPath User's New

2009-05-25 Thread Karl Swedberg
inside the div, you'll probably need to use the length property inside a filter function. This should work: $('div.img').filter(function() { return $(this).find('img').length 1; }) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 24, 2009, at 10:19

[jQuery] Re: Rollover Effects instead of alternate images

2009-05-23 Thread Karl Swedberg
the state to change on hover, not click. Anyway, jQuery is not necessary. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Compatibility Issues

2009-05-21 Thread Karl Swedberg
. - A few of the ajax convenience methods. Check http://docs.jquery.com/Ajax to see what's available now. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 20, 2009, at 9:53 AM, Ken wrote: I have a client using 1.1.4.js and we are using 1.2.6.min.js

[jQuery] Re: dom ready takes very long in IE 8

2009-05-21 Thread Karl Swedberg
In case it still isn't fast enough, you might want to give this a read: http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 20, 2009, at 11:41 PM, Mech7 wrote: Ah i found

[jQuery] Re: cluetip problem on iPhone/Mobile Safari

2009-05-20 Thread Karl Swedberg
Hi Matt, I wish I had an iPhone to test this out with, and I wish I had a solution to your problem. Anyone else know a possible workaround? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 19, 2009, at 12:38 PM, Matt Riley wrote: First off

[jQuery] Re: Cluetip from a function?

2009-05-20 Thread Karl Swedberg
I don't think so. Have you given it a try? Seems like a smart idea. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 12, 2009, at 5:55 AM, DotnetShadow wrote: Hi there, Is it possible to load cluetip from a function, such as: script type=text

[jQuery] Re: cluetip and ajax page load

2009-05-19 Thread Karl Swedberg
:17 GMT-0400 (EDT). Try it without ajaxCache set to false and see what happens. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 19, 2009, at 6:03 AM, winston.nolan wrote: helo, i am using the wonderful cluetip plugin. my intention is to load a page

[jQuery] Re: Best book to learn jQuery?

2009-05-19 Thread Karl Swedberg
For a basic understanding, DOM Scripting by Jeremy Keith and PPK on JavaScript by Peter-Paul Koch are also good. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 19, 2009, at 10:13 PM, Josh Powell wrote: The Definitive Guide is a great reference book

[jQuery] Re: Portlets / Sortables (highlight get text within portlet using mouse)

2009-05-19 Thread Karl Swedberg
/sortable/#option-handle Also, this sort of question is probably better suited for the jquery- ui Google Group. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Karl Swedberg
I've heard Learning jQuery 1.3 is a great read, too. ;-) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 18, 2009, at 9:07 AM, MorningZ wrote: I always recommend jQuery in Action it's a great read On May 18, 3:19 am, alex boba...@googlemail.com

[jQuery] Re: Event is not triggered when the tr removed from one table to another table

2009-05-18 Thread Karl Swedberg
tbody); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Karl Swedberg
On May 18, 2009, at 9:58 AM, Brandon Aaron wrote: On Mon, May 18, 2009 at 8:35 AM, Karl Swedberg k...@englishrules.com wrote: I've heard Learning jQuery 1.3 is a great read, too. ;-) HAHAHA... I think you forgot your disclaimer. :p Karl is a co-author of Learning jQuery. Nonetheless

[jQuery] Re: Event is not triggered when the tr removed from one table to another table

2009-05-18 Thread Karl Swedberg
that were already there in the first place. All he has to do is append them to the #bottomTable tbody without first using .remove() $(tr).dblclick(function(event){ $(this).appendTo(#bottomTable tbody); }); Works great. Less filling. --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: Repeating userCollapseText

2009-05-17 Thread Karl Swedberg
Hi Jorge, Can you show me a page that has that problem so I can troubleshoot? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On May 16, 2009, at 6:13 PM, jorgevima74 wrote: Hi! I'm using jquery.expander and I'm getting twice the userCollapseText value

<    1   2   3   4   5   6   7   8   9   10   >