[jQuery] Re: JQuery Scrollbar value

2009-08-04 Thread Karl Swedberg
Hi Paul, Try $(window).scrollTop() --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 4, 2009, at 4:37 PM, Paul van Hoven wrote: I can't figure out how to check with jquery how deep a user has scrolled into a page. Suppose you got a webpage with 3

[jQuery] Re: function gt() is not working for me

2009-08-04 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Aug 4, 2009, at 8:15 PM, Julio Cesar wrote: When try to refine a jquery set with last elements using the function gt() it just not work. Here is an example, it was tested in firefox 3.5 and jquery 1.3.2. I had placed 3 empty fields

[jQuery] Re: jquery blocks javascript?

2009-07-30 Thread Karl Swedberg
r your question: 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: 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&#x

[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, a

[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

[jQuery] Re: jQuery => License

2009-07-21 Thread Karl Swedberg
INGS IN THE SOFTWARE. --Karl ____ 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 jq

[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 proble

[jQuery] Re: cluetip onMouseOut Stick problem

2009-07-16 Thread Karl Swedberg
trigger('hideCluetip') --Karl 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 st

[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

[jQuery] Re: <3 Solitaire

2009-07-14 Thread Karl Swedberg
out. 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, weepy wrote: you don't define a t

[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 on

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

2009-07-11 Thread Karl Swedberg
more 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

[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

[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

[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
t will 100% solve all issues with a hyperlink acting like, well, a hyperlink :-) The problem with using a in those cases is that it isn't accessible. Links can be focused. You can tab to them and press Enter/ Return, and the click event will fire. Not so with spans. --Karl ___

[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: Remove an

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

jquery-en@googlegroups.com

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(/&$/,'') -

[jQuery] Re: unsubscribe

2009-07-06 Thread Karl Swedberg
wer.py?hl=en&answer=46608 ) Thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 6, 2009, at 10:55 AM, Jared Henderson wrote: unsubscribe

[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: http://page.com

[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

[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&#

[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: 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.learningjqu

[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:

[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: http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js</a> </tt><tt>" type="text/javascript"> --Karl Karl Swedberg ww

[jQuery] Re: var $varname

2009-07-03 Thread Karl Swedberg
ot; way. It's just a convention (though a useful one). In case you're interested, this convention was first suggested by Michael Geary back in 2006. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: jQuery selector performance / jQuery Tester

2009-07-02 Thread Karl Swedberg
d("a.submit")'); The reason the other browsers are so much faster than IE 6 and 7with bare class names is that they have support for .getElementsByClassName() and .querySelectorAll() --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jul 2, 2009,

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

2009-07-02 Thread Karl Swedberg
LEGEND, LI, LISTING, 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. --Kar

[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 you

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

2009-07-01 Thread Karl Swedberg
restriction, not specifically jQuery. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Cluetip - From a function

2009-07-01 Thread Karl Swedberg
e. I'll try a few things 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

[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 wrote: I'd say don't do it. Th

[jQuery] Re: Cluetip with textarea

2009-06-30 Thread Karl Swedberg
g and tons 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 wro

[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

[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: Cluetip with textarea

2009-06-29 Thread Karl Swedberg
ew --Karl ____ 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: Is JQuery 1.3.2 backward compatible with 1.1.2 ?

2009-06-28 Thread Karl Swedberg
ilar features 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.lear

[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: 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.lav

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

2009-06-27 Thread Karl Swedberg
s.org'} // playlist plugin : home 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.

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

2009-06-25 Thread Karl Swedberg
"tutorial"? Which 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
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: 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
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

[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 Swe

[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: 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 s

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

2009-06-19 Thread Karl Swedberg
= $('').append($items.slice(10)).hide(); $list.after($moreLink).after($moreItems); $moreLink.click(function() { $(this).text($(this).text() == 'more' ? 'less' : 'more'); $moreItems.slideToggle(); return false; }); } }); --Karl

[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: 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: Form Traversal Best Practices

2009-06-19 Thread Karl Swedberg
", but I wasn't sure. Here, .attr() is a bit of a misnomer, because it's really looking at DOM properties, not (x)HTML attributes. I'm pretty sure either one works, 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: Debugging tips

2009-06-19 Thread Karl Swedberg
-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: jQuery Conference for 2009?

2009-06-18 Thread Karl Swedberg
x27;re working on it. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com

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

2009-06-17 Thread Karl Swedberg
eference to ct in the callback. 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, Chr

[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, at

[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.englishrule

[jQuery] Re: jQuery Conference for 2009?

2009-06-17 Thread Karl Swedberg
imes, number 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 pack

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

2009-06-15 Thread Karl Swedberg
{ outline: 1px solid red; } 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 a jquery no

[jQuery] Re: switching two table rows

2009-06-14 Thread Karl Swedberg
d')) { $thisRow.find('.movedown').hide(); $thisRow.prev().find('.movedown').show(); } return false; }); }); There's a lot of repetitive code there. Sorry about that. Use it as a starting point. --Karl Karl Sw

[jQuery] Re: switching two table rows

2009-06-14 Thread Karl Swedberg
); return false; }); --Karl 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 backe

[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:

[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.learn

[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

[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 kno

[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,

[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 then $("li").removeClass("even"

[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 :-

[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

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

2009-06-04 Thread Karl Swedberg
ot;click", callajax); }; bindclick(); --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'

[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

[jQuery] Re: Unit testing tools for jQuery?

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

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

2009-06-03 Thread Karl Swedberg
ck 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 IE

[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: traverse complete DOM of a webpage

2009-06-03 Thread Karl Swedberg
entElement, so maybe that's 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 wrote: Hi I am new to j

[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 of the

[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
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 { h

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

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

[jQuery] Re: Question Animating and Removing Elements

2009-06-01 Thread Karl Swedberg
Hi Stephen, Use a callback function in the second argument of slideUp(). For example: $('.delete').click(function() { $('someElement').slideUp(400, function() { $(this).remove(); }); }); --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.co

[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 synt

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

2009-05-31 Thread Karl Swedberg
ajax.js 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 ___

[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 elements

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

2009-05-28 Thread Karl Swedberg
I generally avoid using css for initial hiding because I want users who don't have JS or don't have it enabled to still have an opportunity to read the content. With display:none and JS off / CSS on, they wouldn't have that opportunity. --Karl ___

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

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

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

2009-05-27 Thread Karl Swedberg
owser sniffing is usually a bad idea. --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
ifference is likely negligible. 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: Question: XPath User's New

2009-05-25 Thread Karl Swedberg
t of the images 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.learn

[jQuery] Re: How do you disable it ?

2009-05-25 Thread Karl Swedberg
o use the modified copy that is in included 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

[jQuery] Re: Rollover Effects instead of alternate images

2009-05-23 Thread Karl Swedberg
e.active {background-position: 0px -30px;} $(document).ready(function() { $("#base-state").click(function() { $(this).toggleClass("active"); } ) }); The OP wanted the state to change on hover, not click. Anyway, jQuery is not necessary. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[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

[jQuery] Re: Compatibility Issues

2009-05-21 Thread Karl Swedberg
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. I

[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: function showto

[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, a

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

2009-05-19 Thread Karl Swedberg
ion: http://jqueryui.com/demos/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-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

[jQuery] Re: cluetip and ajax page load

2009-05-19 Thread Karl Swedberg
Tue May 19 2009 05:58: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 intenti

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

2009-05-18 Thread Karl Swedberg
OP was referring to rows 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 gre

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