Re: [jQuery] New Forums

2010-01-22 Thread Karl Swedberg
list. I wish there were a solution out there that is ideal for everyone. Unfortunately, though, every solution comes with its own set of compromises. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] New Forums

2010-01-22 Thread Karl Swedberg
On Jan 22, 2010, at 12:54 PM, Octavian Rasnita wrote: With the web-based forum, while on the thread you want to email or link to 1. Click 'Permalink' I can't click because I can't use a mouse. I need to press probably tens of tab keys until I find that link, and if I type too fast I

Re: [jQuery] Re: jQuery 1.4 and Broken UI Dialog Animations

2010-01-19 Thread Karl Swedberg
yeah, I'm pretty sure jQuery UI 1.7.2 is not compatible with jQuery 1.4. The jQuery UI team are working on an update. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 19, 2010, at 3:51 PM, lloydphillips wrote: We've just had the same issue happen

Re: [jQuery] Actually deleting instead of .remove

2010-01-13 Thread Karl Swedberg
the devs can have a look. thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 12, 2010, at 6:52 PM, sophos707 wrote: Hi everyone, I'm running a script that processes text messages people send in, and then it displays them on a screen. It will loop

Re: [jQuery] Are numerical properties/indexes supported?

2010-01-13 Thread Karl Swedberg
) still returns the jQuery object. Also, jQuery is not an array at heart, but an array-like object. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: Find array key of value

2010-01-12 Thread Karl Swedberg
image was before or comes next. Hope it's kind of clear, i don't completely know how to explain... You could use $.inArray() something like: $.inArray('/some/src/value.jpg', imgSrc); more info: http://api.jquery.com/jQuery.inArray/ --Karl Karl Swedberg www.englishrules.com

Re: [jQuery] jQuery Form Processing

2010-01-12 Thread Karl Swedberg
Your selector is for an ID: $('#autoSumForm') But your form has no ID: form name=autoSumForm action=posttime.php method=post Try adding an ID to the form: form name=autoSumForm id=name=autoSumForm action=posttime.php method=post --Karl Karl Swedberg www.englishrules.com

Re: [jQuery] Re: Specific type of menu action

2010-01-12 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 12, 2010, at 10:20 AM, Glen_H wrote: was hoping someone can help me out. Than you andrei for the link. I have been messing around with it all morning and I think it should be working, but its not lol. maybe someone can find

Re: [jQuery] Download avatar 2009 for free

2010-01-11 Thread Karl Swedberg
Really sorry. Someone was spoofing my email address. This has happened to a few others, too. Anyway, that account is banned now. On Jan 11, 2010, at 11:56 AM, Marc Henson wrote: Is there any chance you can stop spamming our group please? Cheers Marc On 11 Jan 2010, at 16:28, avatar3

Re: [jQuery] Download jQuery API docs

2010-01-09 Thread Karl Swedberg
://api.jquery.com/browser/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 9, 2010, at 9:27 AM, MISS_DUKE wrote: Is it possible to download the jQuery API documentation to my local hard-drive? If so, I don't need to connect the Internet every time when I

Re: [jQuery] Re: Change opacity of item with class of selected

2010-01-09 Thread Karl Swedberg
li.selected { -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50); filter:alpha(opacity=50); } They have to be in that order, too, apparently. for more information, see: http://www.quirksmode.org/css/opacity.html --Karl Karl Swedberg www.englishrules.com

Re: [jQuery] XPath for Attribute Selection Criteria

2010-01-06 Thread Karl Swedberg
are supported so I can correct it? To answer your question, this should work: $('[attName=Val1], [attName=val2]') I'd put something (like a tag name) before each of those attribute selectors, though. For example: $('input[attName=Val1], input[attName=val2]') --Karl Karl

Re: [jQuery] How to unsubscribe from this group?

2010-01-06 Thread Karl Swedberg
...@googlegroups.com --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: retrieving textnode?

2010-01-05 Thread Karl Swedberg
('color', 'red'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 5, 2010, at 5:59 PM, bundy wrote: I'm trying to avoid classes and ids if possible. If I have to use them I won't really need jQuery. What about something like var six = $(div p::nth

Re: [jQuery] Re: How to check whether an element is bound to an event or not?

2010-01-04 Thread Karl Swedberg
, change, submit http://docs.jquery.com/Events/live#typefn Kudos for rolling your own solution for 1.3.x with the onfocusin event. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 3, 2010, at 5:31 AM, Md. Ali Ahsan Rana wrote: I don't know about this much

Re: [jQuery] Re: simple jquery question

2010-01-04 Thread Karl Swedberg
this solution could be simplified a bit: $('h3.example').each(function() { $('#deptFilter').append( 'option' + $(this).html() + '/option' ); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 3, 2010, at 6:53 AM, Paul Hutson wrote: This will do

Re: [jQuery] Sentence Case?

2010-01-04 Thread Karl Swedberg
.replace(/^[a-z]/, replacer) .replace(/([.!?]\s+)([a-z])/g, replacer); } // convert to sentence case on keyup in text inputs. $('input:text').keyup(function() { this.value = sentenceCase(this.value); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Need jQuery expert to slightly modify plugin

2010-01-04 Thread Karl Swedberg
I also have an enhanced version of the jCarouselLite plugin that you are free to use: http://github.com/kswedberg/jquery-carousel-lite --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 4, 2010, at 10:19 AM, Liam Potter wrote: http://groups.google.com

Re: [jQuery] Re: Help on Independent DIV's that toggle!!

2010-01-01 Thread Karl Swedberg
and invoke them with a keyboard. That's a pretty serious limitation -- one that I think far outweighs the concerns that you've raised about a href=#. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: jQuery does not stripe visible table rows correctly

2010-01-01 Thread Karl Swedberg
that problem in the past). If you do, you could do this instead: tr td { background-color: #FFF; } tr.roweven td { background-color: #F2F2F2; } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] slow pop-up on IE8

2009-12-31 Thread Karl Swedberg
way to handle such a large number of tooltips. Here is the latest n the series: http://www.learningjquery.com/2009/12/using-settimeout-to-delay-showing-event-delegation-tooltips --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 31, 2009, at 8:04 AM

Re: [jQuery] Documentation for ~= selector

2009-12-29 Thread Karl Swedberg
thanks for reporting that. We are currently working on a brand new documentation system for jQuery 1.4, and ~= will be in there for attribute selectors. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 29, 2009, at 4:33 AM, akzhan wrote: Hello

Re: [jQuery] Re: Documentation for ~= selector

2009-12-29 Thread Karl Swedberg
the rel attribute, for one. --Karl On Dec 29, 2009, at 11:59 AM, Šime Vidas wrote: Is there a attribute other then the class attribute where you have a space-seperated list of values? If not, the *= should be good enough.

Re: [jQuery] Re: Finding next element

2009-12-27 Thread Karl Swedberg
You can't just use .prev() or .next() because the links are within list items. Instead, you'll need to do something like this: $('a.active').parent().prev().find('a') and this: $('a.active').parent().next().find('a') --Karl Karl Swedberg www.englishrules.com

Re: [jQuery] Re: I would like to get value each time when one of these checkboxes will change status, how can I do that ?

2009-12-27 Thread Karl Swedberg
You don't need to use the change event. The click event is also triggered by the keyboard. When the checkbox has focus, press the spacebar and see what happens. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 27, 2009, at 11:26 PM, Charlie Griefer

Re: [jQuery] Re: jQuery website search function

2009-12-23 Thread Karl Swedberg
=' + encodeURIComponent(el.value) + 'go='; } /script interesting that you would put an onclick on the input rather than an onsubmit on the form. any particular reason for that? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: Get the selected text and border it with tags

2009-12-20 Thread Karl Swedberg
element, and textarea only accepts character data.. I think he just wants to put those characters in the actual textarea or input. Andre, for this sort of thing, I highly recommend the jQuery MarkItUp plugin: http://markitup.jaysalvat.com/ --Karl Karl Swedberg

Re: [jQuery] Jquery does not work in IE8

2009-12-17 Thread Karl Swedberg
If I view source on the detail frame, I see that you're referring to the $ function before you load the jQuery file. Put the script element that loads jQuery before your other script and see if that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: Document traversing with jQuery + HTML 5 drag and drop

2009-12-15 Thread Karl Swedberg
place. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 15, 2009, at 7:55 AM, eid wrote: No one? On Dec 10, 8:37 pm, eid php...@gmail.com wrote: Hello. I am coding some HTML 5 drag and drop support where the user can drag images from a library

Re: [jQuery] a problem when using django template and jquery

2009-12-15 Thread Karl Swedberg
are you sure that the tr IDs are being rendered in the right order? View source to double check. If they are correct in the html, could you point us to a test page where you're experiencing the problem? thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Position()

2009-12-14 Thread Karl Swedberg
()' function of jquery, but it is always returning 0, 1 or -1, no matter where the element is on the page... Does anyone know if this is some jquery bug or something? Might you be looking for .offset() instead? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: load() function and IE8

2009-12-14 Thread Karl Swedberg
/ dsp_addPurchaseRequest.cfm?poNum=+ap_po); }); If that still doesn't work for you, we'd be able to help more effectively if we could see if a test page somewhere. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 14, 2009, at 9:41 AM, Scott Stewart wrote

Re: [jQuery] how to get value between brackets in a string

2009-12-14 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 14, 2009, at 7:48 AM, Leonardo K wrote: $('#pageCount').text().replace(')','').replace('(','') On Mon, Dec 14, 2009 at 10:41, tony stamp tonyst...@hotmail.co.uk wrote: I have a simple span element with the id

[jQuery] Re: load() function and IE8

2009-12-13 Thread Karl Swedberg
Hi Scott, Take a look at the documentation for the .live() method: Currently not supported: blur, focus, mouseenter, mouseleave, change, submit http://docs.jquery.com/Events/live#typefn The change event doesn't bubble in IE, so it doesn't work with .live (). jQuery 1.4 is going to provide a

Re: [jQuery] Cluetip and Colorbox - Can I make them work together?

2009-12-11 Thread Karl Swedberg
it --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 11, 2009, at 4:20 PM, necker47 wrote: Hello, I'm using Cluetip to pull some AJAX content, and in that content is a link to another small bit of AJAX content. Since Cluetip doesn't seem to support multiple tips

Re: [jQuery] Selectors and Internet Explorer

2009-12-10 Thread Karl Swedberg
Hi Rob, According to Microsoft's HTML and DHTML Reference, IE's onclick event (as well as others) doesn't apply to the option element: http://msdn.microsoft.com/en-us/library/ms536913%28VS.85%29.aspx --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec

Re: [jQuery] Re: Content loaded via Ajax and global JS

2009-12-05 Thread Karl Swedberg
plugin. That plugin uses an altogether different approach: Rather than rely on event delegation, livequery listens for changes to the DOM. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Changing background color of table cells

2009-12-05 Thread Karl Swedberg
:nth-child(2) and so on. If it's the first or last column that you want highlighted, you could use :first-child or :last-child, respectively. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 5, 2009, at 12:50 PM, evanbu...@gmail.com wrote: I have a table

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Karl Swedberg
to time, none felt like there was a pattern, I'm using Firefox 3.5 on a iMac pro (last year's edition) running snow leopard. Michel Belleville 2009/12/4 Jonathan Vanherpe (T T NV) jonat...@tnt.be mailto:jonat...@tnt.be Karl Swedberg wrote: On Dec 3, 2009, at 7:31 PM, Dave

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Karl Swedberg
') { // do something with $link on mouseover } else { // do something with $link on mouseout } }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 4, 2009, at 11:46 AM, Charlie Griefer wrote: Hi All: I've read over the docs, but don't quite

Re: [jQuery] Re: Selector issue

2009-12-04 Thread Karl Swedberg
sitting there wired up where N is the number of children. but whatever works i suppose Nah. Using .live() wires up one event handler to document. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Basic Bind Question

2009-12-04 Thread Karl Swedberg
() { $(p).trigger(myCustomEvent, [ John ]); }); Rey... Charlie Griefer wrote: Hi Karl: Awesome! Got it :) Thanks for the explanation and examples. Charlie On Fri, Dec 4, 2009 at 9:01 AM, Karl Swedberg k...@englishrules.com mailto:k...@englishrules.com wrote: Hey Charlie, methods

Re: [jQuery] Re: Selector issue

2009-12-04 Thread Karl Swedberg
have to bind to document each time. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 4, 2009, at 3:39 PM, MorningZ wrote: Nah. Using .live() wires up one event handler to document. --Karl Doh, shame on me for my lack of facts on that .live()... i'll

Re: [jQuery] Hide Table Row - Fundamentally I'm wrong.

2009-12-03 Thread Karl Swedberg
Does it not work in every browser, or just in IE? If just IE, the problem could be related to a problem with certain table elements showing a height even when hidden (jQuery 1.3.2 looks for height/width values to determine visibility). --Karl Karl Swedberg

Re: [jQuery] binding ala ActionScript??

2009-12-03 Thread Karl Swedberg
I've never actually tried this plugin myself, but it looks like it might help you do what you're asking about: http://wiki.github.com/raid-ox/chain.js/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 2, 2009, at 1:16 PM, hsfrey wrote: Do jQuery

Re: [jQuery] Re: Stop a button within an li taking the li event?

2009-12-03 Thread Karl Swedberg
On Dec 3, 2009, at 7:24 AM, Rich wrote: ... not sure what you mean by an input not allowed to be a child of a form though?? For valid markup, an input can be a descendant of a form element, but not a direct child. --Karl Karl Swedberg www.englishrules.com

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Karl Swedberg
if any of those equations feel smoother. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: Unknown pseudo-class or pseudo-element 'odd'.

2009-12-01 Thread Karl Swedberg
Aha! I see it now. It's a warning, not an error, and it's a CSS warning. If you're seeing it in Firebug, you can hide it by unchecking Show CSS Errors in the Console preferences list. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 1, 2009, at 4:11

Re: [jQuery] jQuery expander won't work in Safari?

2009-11-30 Thread Karl Swedberg
).getElementsBySelector' [undefined] is not a function. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 30, 2009, at 2:49 PM, trigramnorth wrote: Hi, I'm using the code found here for jQuery expander: http://plugins.learningjquery.com/expander/ It seems to work fine

Re: [jQuery] Cluetip - Sticky pulling inline content

2009-11-24 Thread Karl Swedberg
You can probably fix it by adding this to your CSS: #cluetip #hidden { display:block; } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 24, 2009, at 8:16 PM, christopherious wrote: I have a Cluetip that is pulling content from a hiddden div

Re: [jQuery] Re: list bullet style

2009-11-24 Thread Karl Swedberg
in the actual markup, you could do $('ol li').wrapInner('span/span') --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 24, 2009, at 10:20 AM, KeeganWatkins wrote: i'm not sure i understand... hard-coded numbering? something like this (?) : HTML ul li1 spanList

Re: [jQuery] jquery 1.3.2 syntax error line 324 in IE6

2009-11-23 Thread Karl Swedberg
. https://twitter.com/viperasi my fridge!:http://bit.ly/ohBHG 有事您说话 On Fri, Nov 20, 2009 at 4:42 AM, Karl Swedberg k...@englishrules.com wrote: nothing here looks like it would cause a syntax error. Maybe the problem is in your formLogin() function? --Karl

Re: [jQuery] Reorder list numerically based on attribute?

2009-11-23 Thread Karl Swedberg
++) { $('.list').append(items[i]); } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 23, 2009, at 8:21 PM, welshy1984 wrote: I am wondering if it is possible to reorder a unordered list based on the list items 'rel' attribute? i have a list of items that change

Re: [jQuery] jquery 1.3.2 syntax error line 324 in IE6

2009-11-19 Thread Karl Swedberg
nothing here looks like it would cause a syntax error. Maybe the problem is in your formLogin() function? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 19, 2009, at 2:00 AM, viperasi wrote: Whether jquery-1.3.2.js or jquery-1.3.2.min.js,i always got

Re: [jQuery] Re: how do i prevent having a paragraph tag for the text AFTER i expand?

2009-11-19 Thread Karl Swedberg
can make the plugin work for multiple block- level elements, too. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 19, 2009, at 5:24 PM, mikko wrote: Greetings, I'm having the same issue with a new line being inserted. Here is the live code: http

Re: [jQuery] jquery UI draggable does not work in Firefox extension

2009-11-14 Thread Karl Swedberg
Hi Jakkob, Would you mind posting this question to the jquery-ui google group if you haven't done so already? That group is dedicated to questions such as yours that are specifically related to jQuery UI. http://groups.google.com/group/jquery-ui/ Thanks! --Karl Karl Swedberg

Re: [jQuery] clueTip - weird issue (in IE, FF and Chrome)

2009-11-13 Thread Karl Swedberg
, check out the documentation: http://plugins.learningjquery.com/cluetip/#getting-started --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 13, 2009, at 2:30 AM, youradds wrote: Hi, Got a bit of a weird issue, which I can't seem to work out :( http

Re: [jQuery] Re: Change style of Div with fade

2009-11-13 Thread Karl Swedberg
in a div. 2. clone the element and append it to the wrapper div. 3. repeat #2 as needed 4. call .cycle() on the wrapper div. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 13, 2009, at 8:54 AM, Dan wrote: Thank you Karl but ... I have seen this article

Re: [jQuery] Re: Load image with an ajax preloader?

2009-11-12 Thread Karl Swedberg
the complexities involved and provides a function: http://lucassmith.name/2008/11/is-my-image-loaded.html (beware the first helper function) Cheers, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Cluetip: Access both local external content

2009-11-12 Thread Karl Swedberg
Just write two separate calls: $('a.some-class').cluetip({local: true}); $('a.another-class').cluetip(); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 11, 2009, at 2:35 PM, JMD wrote: What script do I use to have cluetip alternately access local

Re: [jQuery] Change style of Div with fade

2009-11-12 Thread Karl Swedberg
Jonathan Snook's background animation article might be helpful: http://www.snook.ca/archives/javascript/jquery-bg-image-animations/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 12, 2009, at 9:27 AM, Dan wrote: Hi, Can anyone tell me how to rotate

Re: [jQuery] Cluetip not working in Chrome 3.0.195

2009-11-11 Thread Karl Swedberg
to those links instead. Something like this would work fine: a class=msg_head ce_cluetip href= ... your text/a. Then you can select them with $('a.ce_cluetip') Hope that helps, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 11, 2009, at 9:20 AM, dondmcg

Re: [jQuery] Re: selector performance

2009-11-11 Thread Karl Swedberg
Are those tests really using jQuery 1.1.4? If so, they're hardly relevant now, unless you're using a very old version of jQuery. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 11, 2009, at 7:23 AM, grabnerandi wrote: Check out this link: http

Re: [jQuery] Selection logic

2009-11-10 Thread Karl Swedberg
'); and, in 1.4 (sneak peek!), this: $(el).parents('div').first().addClass('myClass'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] making images cycle with clueTip

2009-11-09 Thread Karl Swedberg
I'm not sure I follow what you're trying to do. Do you have a test page that shows what you've done so far? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 5, 2009, at 3:37 PM, Jack wrote: Hello, is it possible to use clueTip to cycle images. I used

Re: [jQuery] how do i prevent having a paragraph tag for the text AFTER i expand?

2009-11-09 Thread Karl Swedberg
it would be helpful to see a page with the html output rather than your php variables. Also, try using a span rather than a div for the expandText. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 5, 2009, at 6:04 AM, Kei Simone wrote: Hi i noticed

Re: [jQuery] Re: Plugin Authoring Code Example Incorrect

2009-11-08 Thread Karl Swedberg
In the meantime, I changed the wording on that page. Both of the following will work: 1) return this.each(function() { /* do something */ }); 2) this.each(function() { /* do something */ }); return this; --Karl On Nov 8, 2009, at 12:56 PM, Morten Maxild wrote: Exactly...looks correct:-)

Re: [jQuery] How to determine number of elements after dom manipulation ?

2009-11-08 Thread Karl Swedberg
You'll have to do it within the success callback: function dataloader(location,service,div){ $.ajax({ type: GET, url: includes/data.xml, dataType: xml, success: function(xml) { $(xml).find('group').each(function(){ if($(this).attr(name) == service) {

Re: [jQuery] Re: Unknown pseudo-class or pseudo-element 'odd'.

2009-11-07 Thread Karl Swedberg
that's strange, Lee. I just tried with FF 3.5.5 Mac (Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 ) and had no such errors --Karl On Nov 7, 2009, at 2:08 AM, Lee wrote: Hi Karl Miguel, Using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5;

Re: [jQuery] jQuery Validation request

2009-11-04 Thread Karl Swedberg
of the group's homepage at http://groups.google.com/group/jquery-en/ . Then click the Unsubscribe button on the page that appears. To unsubscribe via email, send an email to jquery-en+unsubscr...@googlegroups.com --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] When to Use'.' When Referring To Css Classes In JQuery

2009-11-03 Thread Karl Swedberg
it gets into the list of errata on the Packt website and at http://book.learningjquery.com/6705/errata.html thanks so much, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 3, 2009, at 8:06 AM, Mark Phillips wrote: Hi, Is there some general rule

Re: [jQuery] Selectors

2009-11-03 Thread Karl Swedberg
this should do it: $('tr .myToggle:visible:odd').addClass('gray'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 2, 2009, at 4:31 PM, Manimal wrote: Here's what I'm trying to do. When I click on a tr i'd like it to hide then re-style the table

Re: [jQuery] Re: mouse control issue within nested tags

2009-11-01 Thread Karl Swedberg
something } }).mouseout(function(event) { if (event.target == this) { // do something else } }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: How to Select element with class, but EXCLUDE its children?

2009-11-01 Thread Karl Swedberg
and mouseleave. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Easy question to answer

2009-11-01 Thread Karl Swedberg
nodeName is a DOM element property. Not related to jQuery per se. Here are a couple references: https://developer.mozilla.org/en/DOM/element#Properties http://www.javascriptkit.com/domref/elementproperties.shtml --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

Re: [jQuery] Re: mouse control issue within nested tags

2009-11-01 Thread Karl Swedberg
On Nov 1, 2009, at 2:57 PM, jmatthews wrote: Okay, see how the members are firing their respective House or Senate? That's what I want to stop. Hmm. No, I'm not seeing that. The members need their own class. Let's say you mouse over a member. I want it to turn red when you do. If you

Re: [jQuery] Re: How to Select element with class, but EXCLUDE its children?

2009-10-31 Thread Karl Swedberg
I'd stick with what Scott said. Use mouseenter/mouseleave. But instead of setting the style with .css(), just add and remove a class. Here is a demo: http://jsbin.com/enero/edit --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 30, 2009, at 4:26 PM

Re: [jQuery] Hide a nested UL, but show children

2009-10-31 Thread Karl Swedberg
If you don't mind removing them, as opposed to just hiding them, you could do this: $('.topMenu li ul li').each(function() { this.removeChild(this.firstChild); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 30, 2009, at 12:23 PM, hroyale

Re: [jQuery] Re: keyup on textfields

2009-10-31 Thread Karl Swedberg
Or, if the OP really wants all text fields to trigger it, he could just use $(':text').keyup( ... ) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 30, 2009, at 3:20 PM, James wrote: There are a few simple ways to do this. Here are probably the most

Re: [jQuery] mouse control issue within nested tags

2009-10-31 Thread Karl Swedberg
It sounds like you want to use the .after() method rather than .append() --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 31, 2009, at 11:06 AM, jmatthews wrote: This is related to an earlier post, but rather than address it is a selecting issue, I am

[jQuery] Re: Can I somehow see what events are binded to a DOM element?

2009-10-28 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: jQuery beginner: Problem with :not selector.

2009-10-28 Thread Karl Swedberg
/); }); }); Here's another jsbin.com URL: http://jsbin.com/eluli/edit --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 28, 2009, at 3:39 AM, alexpls wrote: I'm a beginner to programming, so please bear with me, I might be missing something

[jQuery] Re: cluetip memory leak

2009-10-27 Thread Karl Swedberg
thanks for that explanation, Dave. --Karl On Oct 26, 2009, at 7:54 PM, Dave Methvin wrote: I think a lot of plugins have this problem but most people aren't creating and deleting them a lot. My splitter has this issue but I solved that problem because I was too lazy to support splitters

[jQuery] Re: Announce = ChessTwit now using jQuery

2009-10-27 Thread Karl Swedberg
Very cool! Is this an extension of your http://64squar.es/ site? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 27, 2009, at 4:09 AM, weepy wrote: oh I forgot the link !! = www.chesstwit.com You can play chess with all your twitter friends

[jQuery] Re: Firing existing events from jQuery inserted html

2009-10-27 Thread Karl Swedberg
://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F If you still have problems after reading through it and trying one of the many solutions, let us know. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 27, 2009, at 12

[jQuery] Re: how to remove elements by attribute

2009-10-27 Thread Karl Swedberg
On Oct 27, 2009, at 1:04 PM, jason wrote: Hi, How can I remove all div foo=whatver... div elements using the attribute foo for my selector? Basically any div with a foo attribute I want gone. Thanks, Jason You could try this: $('div[foo]').remove(); --Karl Karl

[jQuery] Re: Selectable and Sortable, with copy and move.

2009-10-27 Thread Karl Swedberg
Would you mind posting this question to the jquery-ui google group if you haven't done so already? That group is dedicated to questions such as yours that are specifically related to jQuery UI. http://groups.google.com/group/jquery-ui/ Thanks! --Karl Karl Swedberg

[jQuery] Re: cluetip memory leak

2009-10-26 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: clueTip display inconsistently

2009-10-25 Thread Karl Swedberg
You're selecting only the third link with class=jt: $('a.jt:eq(2)') If you want all of them to show the cluetip on hover, remove the :eq(2) part of the selector: $('a.jt') --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 23, 2009, at 5:19 PM

[jQuery] Re: Bringing arrows for Clue tip

2009-10-25 Thread Karl Swedberg
those images in the images directory within the directory where that stylesheet is located, they won't show up. Hope that helps --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 25, 2009, at 11:04 AM, Bharanidharan wrote: Hi All, I am trying to bring

[jQuery] Re: cluetip memory leak

2009-10-25 Thread Karl Swedberg
and how it has been dealt with. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 22, 2009, at 7:49 PM, Andrew Tan wrote: Hi, I have been tracking down a memory leak in my web app which dynamically removes and adds anchors which have cluetip tooltips

[jQuery] Re: ClueTip focus/blur trouble

2009-10-25 Thread Karl Swedberg
items, too, of course. Hope that gets you on the right track. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 22, 2009, at 6:08 PM, Shawn wrote: Hi Gang. I'm working with ClueTip and have run into some oddities. In particular, I want to show ClueTip

[jQuery] Re: How Stop Animation Works?

2009-10-25 Thread Karl Swedberg
you might need to use the clearQueue and gotoEnd arguments in the .stop() method: .stop(true, true) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 24, 2009, at 12:24 AM, Stan wrote: Dear All, I have an object with mouse over and mouse out events

[jQuery] Re: Using google CDN for jQuery causing problems

2009-10-21 Thread Karl Swedberg
with it (and I still don't). Looking at the source file, seems the script file is messed up. Doesn't look messed up to me. Looks minified. Again, more information would be helpful. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Animate forces display:block?

2009-10-21 Thread Karl Swedberg
bet. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 21, 2009, at 8:01 AM, waseem sabjee wrote: would it be possible for you to use a float instead of display inline ? On Wed, Oct 21, 2009 at 6:33 AM, Jared N jaredma...@gmail.com wrote: Hi all, I'm

[jQuery] Re: Problem with animate after submit in opera

2009-10-20 Thread Karl Swedberg
the last animation finishes. }); return false; // -- prevent the link from being followed before animations. }); $(#panel).click(function(){ $(#panel).hide(); }); }); --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: please help

2009-10-20 Thread Karl Swedberg
You could set up your server-side code to send back only a portion of the page rather than the entire thing. Other than that, we'd probably need to see more of your code before we could offer constructive advice. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: images show before jquery and cycle plugin work their magic

2009-10-20 Thread Karl Swedberg
suggestions so far work for you. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 20, 2009, at 7:38 PM, thor wrote: Hi, I am looking for assistance with a loading problem and my apologies if this is beyond the scope of this group. I am running

[jQuery] Re: jQuery UI datepicker

2009-10-19 Thread Karl Swedberg
Hi there, Would you mind posting this question to the jquery-ui google group if you haven't done so already? That group is dedicated to questions such as yours that are specifically related to jQuery UI. http://groups.google.com/group/jquery-ui/ Thanks! --Karl Karl Swedberg

[jQuery] Re: what does this selector mean ?

2009-10-19 Thread Karl Swedberg
On Oct 18, 2009, at 2:05 AM, Michael Geary wrote: $('div',this) is simply a confusing way of writing $ (this).find('div'). The only reason it exists at all is for historical reasons: it was added to jQuery before the .find() method existed. Never use $('div',this) in your code. Always use

  1   2   3   4   5   6   7   8   9   10   >