[jQuery] Re: xml find element with this attribute value

2008-12-09 Thread Karl Swedberg
:) Here are a couple other resources that you might find helpful: http://www.learningjquery.com/2006/11/how-to-get-anything-you-want-part-1 http://codylindley.com/jqueryselectors/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 9, 2008, at 7:18 PM

[jQuery] Re: xml find element with this attribute value

2008-12-09 Thread Karl Swedberg
a]') http://docs.jquery.com/Selectors/element#element http://docs.jquery.com/Selectors/attributeEquals#attributevalue Responding to my response with something a little less snotty would have been nice. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 9, 2

[jQuery] Re: show/hide opacity gets stuck sometimes

2008-12-09 Thread Karl Swedberg
ge to place the options in their proper place. http://docs.jquery.com/Effects/stop#clearQueuegotoEnd --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 9, 6:04 pm, Leanan <[EMAIL PROTECTED]> wrote: I've never worked with the .stop funct

[jQuery] Re: need help

2008-12-09 Thread Karl Swedberg
Try jQuery Cycle Plugin. It is incredibly flexible. Even if you don't see an exact match from one of its many, many examples, I'm sure it can be used to create a slideshow like the one you linked to. http://malsup.com/jquery/cycle/ --Karl ____ Karl Swedberg www.englis

[jQuery] Re: how to image cache using jQuery?

2008-12-09 Thread Karl Swedberg
the Lazy Load plugin might help: http://www.appelsiini.net/projects/lazyload --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 9, 2008, at 12:12 AM, darwin liem wrote: Hi, Sorry for my unclear question... What I'm try to resolve here to load the

[jQuery] Re: fadeIn something from JSON

2008-12-08 Thread Karl Swedberg
ata + "") .hide() .insertAfter($element) .fadeIn(); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 8, 2008, at 5:06 PM, Jan Limpens wrote: On Mon, Dec 8, 2008 at 7:20 PM, MorningZ <[EMAI

[jQuery] Re: .eq() vs .slice()

2008-12-08 Thread Karl Swedberg
It's mentioned in the release notes of 1.2.1: http://docs.jquery.com/Release:jQuery_1.2.1#.eq.28.29 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 8, 2008, at 11:30 AM, Brad wrote: Thanks for the confirmation. Maybe http://docs.jquer

[jQuery] Re: [cluetip] with xml

2008-12-08 Thread Karl Swedberg
You haven't mentioned what the nature of the problem is, but just by looking at your code, I see that you have initial uppercase letters for many of the options, but they should begin with a lowercase letter (JavaScript is case-sensitive). --Karl Karl Swe

[jQuery] Re: Find functionality consistence?

2008-12-08 Thread Karl Swedberg
version of jQuery I have is from May 2, 2006: http://test.learningjquery.com/scripts/jquery20060502.js Too bad it's compressed. It would be fun to poke around in it and see just how much has changed since then. :) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: :last in IE6

2008-12-08 Thread Karl Swedberg
s).removeClass('last alt').addClass('lastalt'); You can also remove or add more than one class at a time by space- separating them. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: ClueTip Custom Close Button

2008-12-08 Thread Karl Swedberg
}); }, sticky: true }); Glad you like the plugin. :) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 7, 2008, at 1:12 PM, bobsov wrote: I am using a div content present in the same document to show up in cluetip. I want to use a cust

[jQuery] Re: How can I make a td clickable?

2008-12-07 Thread Karl Swedberg
nu', this).attr('href'); }); }); See my related blog entry (just posted 2 minutes ago) and scroll down to the part about "Other Elements": http://www.learningjquery.com/2008/12/quick-tip-click-table-row-to-trigger-a-checkbox-click --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Optimizing Easiest Tooltip

2008-12-06 Thread Karl Swedberg
the opacity to 60% and show the link's title and href in the tooltip. Here is a demo: http://plugins.learningjquery.com/simpletip/demo/ And here is the plugin code: http://plugins.learningjquery.com/simpletip/simpletip.js Glad you like the website! --Karl Karl Swedberg www.en

[jQuery] Re: if ($("#field").val() == '') or something more elegant?

2008-12-06 Thread Karl Swedberg
Sure, that's fine. You could also do this: if (!$('#text').val()) --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 6, 2008, at 5:12 PM, Costaud wrote: Hello, I'm wondering if this is the correct way of checking whether the tex

[jQuery] Re: click not triggering on safari (mac), chrome (windows)?

2008-12-05 Thread Karl Swedberg
Hi Dave, It could be the return(false). Try removing that line and see what happens. You already have the e.preventDefault() in there anyway. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 5, 2008, at 6:47 PM, dave wrote: Hi jQueriers, Bumped

[jQuery] Re: Select "next" until specific element is reached

2008-12-05 Thread Karl Swedberg
one more thing ... those table rows are going to get mangled in FF. You're better off using toggle() without the speed or fadeIn() / fadeOut() --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 5, 2008, at 5:04 PM, Karl Swedberg wrote: Hi Marc,

[jQuery] Re: Select "next" until specific element is reached

2008-12-05 Thread Karl Swedberg
on() { $(this).nextUntil('tr:has(td.grouphead)').toggle('fast'); }); [1] http://docs.jquery.com/JQuery_1.2_Roadmap#.nextUntil.28.29_.2F_.prevUntil.28.29 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 5, 2008, at 2:45 PM

[jQuery] Re: Optimizing Easiest Tooltip

2008-12-05 Thread Karl Swedberg
Ok, I dropped your table into my page, and it seems to work fine. http://test.learningjquery.com/very-simple-tooltip.html --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 5, 2008, at 11:45 AM, Frank wrote: Also, I just realised that putting "ti

[jQuery] Re: How to access href-property

2008-12-05 Thread Karl Swedberg
mment-63276 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 5, 2008, at 2:03 PM, brian wrote: I'd say that's a broken feed-reader. On Fri, Dec 5, 2008 at 12:46 PM, Karl Swedberg <[EMAIL PROTECTED]> wrote: Not sure about that, but one adva

[jQuery] Re: How to access href-property

2008-12-05 Thread Karl Swedberg
Not sure about that, but one advantage of full URLs is that they work in all feed readers. I was using "root-relative" URLs on my blog until somebody complained that these links wouldn't work for him in his feed reader. --Karl On Dec 5, 2008, at 11:29 AM, Andy Matthews wrote: As an FYI

[jQuery] Re: Optimizing Easiest Tooltip

2008-12-05 Thread Karl Swedberg
with the .hover() method. It works great for most things, but not for event delegation when you need it to be triggered every time your mouse moves over another element within the one that is bound. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-05 Thread Karl Swedberg
On Dec 5, 2008, at 8:21 AM, Dan G. Switzer, II wrote: Karl, I wish I could give you some good news, but instead I can only commiserate. FF 2 had all sorts of problems like that. Try having an absolutely positioned div overlapping the scrollbar of a div with overflow: scroll. Ugly. I even

[jQuery] Re: Select checkbox when click on row

2008-12-05 Thread Karl Swedberg
} }); }); of course, you need to include the jquery.js file first, etc. Here is a demo: http://test.learningjquery.com/clickrow.html --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 5, 2008, at 6:38 AM, Chizo wrote: first, thanks! now...

[jQuery] Re: Optimizing Easiest Tooltip

2008-12-05 Thread Karl Swedberg
ip.contents).show(); } }).mouseout(function(event) { if (vsTip.link(event)) { tgt = vsTip.link(event); tgt.title = vsTip.contents; $vsTip.hide(); } }).mousemove(function(event) { if (vsTip.link(event)) { $vsTip.css({ left: event.pageX + vsTip.xO

[jQuery] Re: :last in IE6

2008-12-05 Thread Karl Swedberg
me across this before? I've never seen this before. Does it work correctly in other browsers? Can you post a demo page or use http://jsbin.com for a stripped down version of a page so we can see the problem? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: jcluetip problems with multiple on a page (when local = true)

2008-12-04 Thread Karl Swedberg
(assuming that, in this case, the links all have a class of "load- local"): $('a.load-local').each(function(index) { this.rel += ':eq(' + index + ')'; }).cluetip({local: true}); It's kind of an ugly solution, but it's the best I can think of g

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread Karl Swedberg
Hi Dan, I wish I could give you some good news, but instead I can only commiserate. FF 2 had all sorts of problems like that. Try having an absolutely positioned div overlapping the scrollbar of a div with overflow: scroll. Ugly. I even recall seeing a cursor in one tab's textarea blinkin

[jQuery] Re: Select checkbox when click on row

2008-12-04 Thread Karl Swedberg
off the top of my head: $('tr').click(function(event) { if (event.target.type !== 'checkbox') { $(':checkbox', this).click(); } }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 4, 2008, at 10:44 AM, Chizo wrote:

[jQuery] Re: Cluetip Title displaying in FF and IE

2008-12-02 Thread Karl Swedberg
g the title attribute for the cluetip contents and the second one is using a separate file. They both have alt text and title text, but I don't see it showing up in the "standard yellow title" tooltip using Internet Explorer 6. --Karl ____ Karl Swedberg

[jQuery] Re: Cluetip Title displaying in FF and IE

2008-12-01 Thread Karl Swedberg
Could you just remove the alt text on mouseover and add it back in on mouseout? Untested (written in mail): var imgAlt = ''; $('img').hover(function() { imgAlt = this.alt; this.alt = ''; }, function() { this.alt = imgAlt; }; --Karl Karl

[jQuery] Re: Image rollover using jQuery

2008-11-30 Thread Karl Swedberg
just use image sprites and change the background position on hover using pure CSS. If you want some sort of animated hover effect, one option is described here: http://www.snook.ca/archives/javascript/jquery-bg-image-animations/ --Karl Karl Swedberg www.englishrule

[jQuery] Re: [Cluetip] don't work

2008-11-28 Thread Karl Swedberg
are you getting any JavaScript errors? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 28, 2008, at 4:41 AM, Zic Puce wrote: Hello all, I work with the framework phpmvc and code with the MVC architecture. I want to insert a popup should recover in xml

[jQuery] Re: jquery not working in IE...period

2008-11-26 Thread Karl Swedberg
ue to the tag that is just inside the paragraph. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 26, 2008, at 11:51 AM, whoompswhoomps wrote: Hello all, I just uploaded jquery on my website, http://www.bloompocket.com. If you're looking at th

[jQuery] Re: detect visibility of nested elements

2008-11-26 Thread Karl Swedberg
ntly, but it should have the same effect: http://remysharp.com/2008/10/17/jquery-really-visible/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 26, 2008, at 3:37 AM, schellmax wrote: hello, is there a selector or something to detect the visibi

[jQuery] Re: table striping performance with livequery

2008-11-26 Thread Karl Swedberg
http://www.letmegooglethatforyou.com/?q=How+do+I+unsubscribe+from+a+group%3F --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 26, 2008, at 3:45 AM, Lance White wrote: unsubscribe On 25/11/08 9:39 PM, "Carpii" <[EMAIL PROTECTED]>

[jQuery] Re: Any Fortune 500 using the Google Ajax Hosting?

2008-11-25 Thread Karl Swedberg
thanks for reporting that, Bil. I'm sure a lot of people will be happy to hear that! --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 25, 2008, at 6:59 PM, Bil Corry wrote: Bil Corry wrote on 9/9/2008 11:43 AM: Google, on the other hand, doesn&

[jQuery] Re: MIT or GPL License

2008-11-25 Thread Karl Swedberg
Yes, you can use one or the other. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 25, 2008, at 9:13 AM, Jason Coudriet wrote: Hello, When using jQuery, do have we have the option to use just the MIT license? Thanks, Jason

[jQuery] Re: exclude children from selected elements

2008-11-21 Thread Karl Swedberg
One very minor note: you don't need to do this: var elm = e.target || e.srcElement; this is fine: var elm = e.target; jQuery normalizes the target property. From the core file ... // Fix target property, if necessary if ( !event.target ) even

[jQuery] Re: highlighting elements of the page

2008-11-21 Thread Karl Swedberg
;, and not move out (a common error in using a mouseout event handler). You could also use .bind('mouseenter', fn) and .bind('mouseleave', fn) , but .hover(fn, fn) is usually more convenient --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Crazy tables with checkboxes

2008-11-21 Thread Karl Swedberg
Hey Chris, It looks like you managed to fix the other problems, too. When I click the header checkbox, only the rows with checkboxes are being highlighted now. And the rows aren't remaining highlighted when I check one and then check and uncheck a header. --Karl

[jQuery] Re: Interactive tooltips

2008-11-20 Thread Karl Swedberg
Your best bet is probably to look at some of the modal dialog plugins such as simpleModal or jqModal or the jQuery UI Dialog. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 20, 2008, at 6:36 PM, FastNOC wrote: I'm searching for something I&

[jQuery] Re: Selector > a. How can I do this?

2008-11-20 Thread Karl Swedberg
oops. Good catch, Rik. :) --Karl On Nov 20, 2008, at 6:38 PM, Rik Lomas wrote: Just to be pedantic, Karl you missed an equals sign :) $('a[href^=mailto:]') Rik 2008/11/20 Karl Swedberg <[EMAIL PROTECTED]>: Sure you can do that: $('a[href^mailto:]') --Karl

[jQuery] Re: Selector > a. How can I do this?

2008-11-20 Thread Karl Swedberg
Sure you can do that: $('a[href^mailto:]') --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 20, 2008, at 2:18 PM, shapper wrote: Hello, Can I select all anchors which link is an email address? For example: mailto:[EMAIL PROTECTED]>bl

[jQuery] Re: Searching for the previous sibling that matches a condition

2008-11-19 Thread Karl Swedberg
gth || $this.is(':last-child')); }) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 19, 2008, at 8:57 PM, go_dores wrote: First of all, I'm just getting started with jQuery so thanks in advance for your patience. I have a table that I am manipulating

[jQuery] Re: cluetip - how to override defaults?

2008-11-19 Thread Karl Swedberg
that's odd. do you have a test page I can look at? thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 19, 2008, at 2:41 PM, Brian J. Cohen wrote: If I just include the cluetip JS and CSS, I can activate cluetip pretty easily, with its de

[jQuery] Re: show/hide/toggle: suggestion to reduce show/hide code

2008-11-18 Thread Karl Swedberg
On Nov 18, 2008, at 9:02 AM, Dylan Verheul wrote: On Tue, Nov 18, 2008 at 14:56, Karl Swedberg <[EMAIL PROTECTED]> wrote: Not sure if toggle(cond) is the best choice, though. It's already pretty overloaded as it is, and it can already take a string or numeric argument for

[jQuery] Re: clueTip fade out

2008-11-18 Thread Karl Swedberg
em so that they can work independently of one another. That way I can avoid race conditions that have thwarted my attempts so far. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 18, 2008, at 10:18 AM, Adam wrote: Hey Karl (and others) Awesome plug

[jQuery] Re: show/hide/toggle: suggestion to reduce show/hide code

2008-11-18 Thread Karl Swedberg
urn this.each(function() { $(this)[cond ? 'show' : 'hide'](); }); }; })(jQuery); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: clueTip: Can a tip with activation: 'click' also have a close?

2008-11-17 Thread Karl Swedberg
Sure thing. Just add sticky: true to the options. $('a.tips').cluetip({ activation: 'click', closeText: 'CLOSE', closePosition: 'title', sticky: true }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov

[jQuery] Re: Effect like Kwicks plugin

2008-11-17 Thread Karl Swedberg
ntainer.children(); Untested. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 17, 2008, at 3:04 PM, Andy Matthews wrote: Anyone have any input on this? I'd also like to determine if I can use percentages for the widths of the items. On Nov 1

[jQuery] Re: Anyone know how to find the topmost elements of a specific type?

2008-11-17 Thread Karl Swedberg
Hi Mark, I took a look at your original post again, and from your description there it looks like this would work: $('ul').filter(function() { return !$(this).parents('ul').length; }) --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On

[jQuery] Re: Selector which can find objects with a certain style

2008-11-17 Thread Karl Swedberg
To select all elements whose containing has display:none , you could do this: $('tbody:hidden tr') --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 17, 2008, at 7:06 AM, stuf99 wrote: Hi, How do locate tbody´s with a certain style, or b

[jQuery] Re: Modernized Portlets?

2008-11-15 Thread Karl Swedberg
Hey Shawn, There is a rudimentary one in the jQuery UI demos: http://ui.jquery.com/repository/real-world/layout/ --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 15, 2008, at 5:31 PM, Shawn Grover wrote: I found the jQuery Portlets at http

[jQuery] Re: Why is "width" always zero?

2008-11-15 Thread Karl Swedberg
ly set in the html. $(window).bind('load', function() { // your code ... }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 15, 2008, at 8:55 AM, Fluffy Convict wrote: I'm rewriting my own javascript library to jQuery. A huge undertaki

[jQuery] Re: Combining jQuery and jQuery UI

2008-11-14 Thread Karl Swedberg
Hi Chris, Actually, for me it's showing as 76k total. Here is a screenshot: http://skitch.com/kswedberg/5icb/minify-concat look at min?g=js_ui --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 14, 2008, at 10:35 AM, c.barr wrote: I wish I could

[jQuery] Re: issue with jQuery's trigger function

2008-11-14 Thread Karl Swedberg
Have you tried the svn version of jQuery? That might have solved the problem. http://docs.jquery.com/Downloading_jQuery#Subversion_.28SVN.29 --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 14, 2008, at 11:49 AM, Shazzaam wrote: Hi, I am using

[jQuery] Re: Adjusting the position and offset of the text

2008-11-14 Thread Karl Swedberg
n the font placement issue. I've read through the source, and checked the css and i just can't figure this out. On Nov 13, 6:12 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: Not sure about the first question, but you should be able to apply the tooltip to multiple elements by giving

[jQuery] Re: Problem ClueTip Plug-In and local parameter

2008-11-14 Thread Karl Swedberg
hopefully it'll point you in the right direction. Also, there's an onShow option in the plugin that takes a function. You could look into that for binding the event to the form in the clueTip. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On

[jQuery] Re: Cluetip and xml

2008-11-14 Thread Karl Swedberg
} }); Hope that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 14, 2008, at 3:11 AM, [EMAIL PROTECTED] wrote: Hello all, I start with ajax (jquery) and xml. I need to use cluetip in a table like this example: http://beckelman.net/Demos/jQueryTru

[jQuery] Re: Animating table rows

2008-11-13 Thread Karl Swedberg
Chris, The .fadeIn() and .fadeOut() might be an acceptable compromise. By the way, IE doesn't understand display: table-row, so if I recall correctly the display: block actually works there. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 13,

[jQuery] Re: Expand Upward

2008-11-13 Thread Karl Swedberg
Hi Douglas, You can do that by setting the element's position to either relative or absolute and then setting its bottom property (rather than its top) to anchor to the bottom of its closest positioned ancestor element. --Karl Karl Swedberg www.englishrule

[jQuery] Re: only one $(document).ready() with IE6?

2008-11-13 Thread Karl Swedberg
I have never had this problem before on any browser. Do you have a test page you could show us? It could be that one of your JavaScript files has something in it that only IE reports as an error, such as a trailing comma after the last object property. --Karl Karl Swedberg

[jQuery] Re: How to get the element number from a click event

2008-11-13 Thread Karl Swedberg
console.log(index); }); }); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 13, 2008, at 11:42 AM, Logictrap wrote: Is there a simple method for determining the element number for a click event? Using this html code: Some Text Some Text Som

[jQuery] Re: selector to .wrap multiple elements in HTML

2008-11-13 Thread Karl Swedberg
Not a problem, Ricardo. :-) sorry, everyone else, for going off-topic, but I'd like to thank Ricardo publicly for all the help he has been giving to this list in the past few months. Ricardo, your contributions are much appreciated. Cheers, --Karl Karl Swe

[jQuery] Re: Adjusting the position and offset of the text

2008-11-13 Thread Karl Swedberg
Not sure about the first question, but you should be able to apply the tooltip to multiple elements by giving all of them the same class name and then attaching the tooltip() method to that class. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 13

[jQuery] Re: selector to .wrap multiple elements in HTML

2008-11-12 Thread Karl Swedberg
On Nov 12, 2008, at 11:17 PM, Karl Swedberg wrote: Hi Adam, In that case, you'll probably need to use John Resig's nextUntil plugin. The way I managed to do it is a little sneaky. Someone else should be able to come up with a better way. But in the meantime, you can take a

[jQuery] Re: Combining jQuery and jQuery UI

2008-11-12 Thread Karl Swedberg
'//ui/ui.slider.js', '//ui/ui.sortable.js', '//ui/ui.spinner.js', '//ui/ui.tabs.js', '//examples/jquery.nyroModal-1.3.0.js', '//examples/jquery.cluetip.js', ), Not sure what else to do. Let me know if I can h

[jQuery] Re: selector to .wrap multiple elements in HTML

2008-11-12 Thread Karl Swedberg
Actually, Ricardo's should work if ... 1. you change var $this = this; to var $this = $(this); 2. you know for sure you'll only have two paragraphs after each h1 --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 12, 2008, at 9:04 PM,

[jQuery] Re: selector to .wrap multiple elements in HTML

2008-11-12 Thread Karl Swedberg
the script. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 12, 2008, at 4:48 PM, Adam wrote: Karl, Thanks very much. My bad, but what I actually need is the div wrapped around each of the sets of h1,p,p. So, the resulting co

[jQuery] Re: selector to .wrap multiple elements in HTML

2008-11-12 Thread Karl Swedberg
27;).wrapAll('class="fade">'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 12, 2008, at 2:11 PM, Adam wrote: I am trying to figure out how to select 3 elements that occur together and wrap all 3 together (not

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-12 Thread Karl Swedberg
On Nov 12, 2008, at 11:13 AM, Rik Lomas wrote: Following on from Karl, how about: $('#PG1_L03-table td:nth-child(2n+3)').slice(0, 4).find('input') That won't work either, unless the table has only one row. Would have to do something like this instead: $('#PG1_L03-table tr').each

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-12 Thread Karl Swedberg
child(9) input').bind.. need to bind an event to all input fields of col 3, 5, 7 and 9 but only for table PG1_L03-table. You could try this: $('#PG1_L03-table td:nth-child(2n+3)').bind ... That will also get cols 11, 13, etc., so if you need to stop at 9, let me k

[jQuery] Re: problem in setting opacity

2008-11-12 Thread Karl Swedberg
Not sure, but have you tried setting the opacity with jQuery? Something like this (after the line where you call the cluetip() method): $('#cluetip').css('opacity', '.7'); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On

[jQuery] Re: ClueTip iframe issue

2008-11-12 Thread Karl Swedberg
content area of clueTip display properly? Do you have a test page I can look at? thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: Jquery Xml and XPath

2008-11-11 Thread Karl Swedberg
Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: mouseover text for select option

2008-11-10 Thread Karl Swedberg
f bad news. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 10, 2008, at 5:50 AM, hschulz wrote: Hi, thanks for your answer, but your code has the same behavior as my code. I try to go into details to explain the error. When you open the dropdown an move th

[jQuery] Re: Count of checked checkboxes

2008-11-09 Thread Karl Swedberg
On Nov 10, 2008, at 12:06 AM, Steffan A. Cline wrote: on 11/9/08 5:31 PM, Karl Swedberg at [EMAIL PROTECTED] wrote: Hi Steffan, I think you're missing the colon in front of checkbox. Should be: $(":checkbox:checked").length or $("input:checkbox:checked").length

[jQuery] Re: Count of checked checkboxes

2008-11-09 Thread Karl Swedberg
Hi Steffan, I think you're missing the colon in front of checkbox. Should be: $(":checkbox:checked").length or $("input:checkbox:checked").length --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 9, 2008, at

[jQuery] Re: combining slideup, post, slidedown

2008-11-08 Thread Karl Swedberg
// rest of your code ... --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 8, 2008, at 8:47 PM, Althalos wrote: Hi. I am trying to make a div slide up, update through $.post and then slide down again. I have the following code: $(

[jQuery] Re: Splitted list

2008-11-07 Thread Karl Swedberg
lists look like before they're columnized. The plugin code is here: http://plugins.learningjquery.com/columns/jquery.columns.js --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 7, 2008, at 4:24 PM, IschaGast wrote: Hi, I am trying to figure out how

[jQuery] Re: traversing with jQuery - complex selector causing brain pain

2008-11-07 Thread Karl Swedberg
Hi there, Try this: $('#navigation li ul:not(:has(a.selected))').hide(); --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 6, 2008, at 12:45 PM, w1ntermut3 wrote: My nav bar consists of a single UL containing LI elements that each contain

[jQuery] Re: clueTip issue with ASP.NET GridView

2008-11-04 Thread Karl Swedberg
Hi Bob, Do you have a page I can look at to see what's going on there? thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 3, 2008, at 12:27 PM, bgibilaro wrote: All, I am new to clueTip and I am having a rather peculiar problem. I ha

[jQuery] Re: Scroll Up Headline Reader ... with reverse button.

2008-11-01 Thread Karl Swedberg
-Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 31, 2008, at 8:12 PM, Pixelstuff wrote: I just recently stumbled across jQuery while searching for a method to scroll some headlines. Not only did I find a nearly perfect solution but realized jQuery could do half the other t

[jQuery] Re: Add label

2008-10-27 Thread Karl Swedberg
Try this: var $msg = $('#Message'); if (!$msg.val()) { $msg.after('class="Welcome">Welcome Text'); } --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 27, 2008, at 5:58 PM, shapper wrote: Hello, I need to chec

[jQuery] Re: hide() not working when disabling CSS

2008-10-27 Thread Karl Swedberg
could try $('p.jsoff').remove() instead. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: More efficient animation for multiple elements

2008-10-25 Thread Karl Swedberg
27;paddingLeft'),10); Is there an advantage to your line? I wouldn't have thought to write it that way. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 25, 2008, at 4:25 PM, ricardobeat wrote: It's working again: http://jsbin.com/evodi

[jQuery] Re: Hover with a fade question (n00b)

2008-10-25 Thread Karl Swedberg
}); http://docs.jquery.com/UI/Effects/ClassTransitions --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 25, 2008, at 2:32 PM, ricardobeat wrote: Ah I see. You can't "fade a class". You need the animate() function and jQuery UI

[jQuery] Re: jQuery Tweets

2008-10-24 Thread Karl Swedberg
Hi Mika, Rey runs it and I occasionally post something to it. We find jQuery- related stuff through RSS readers and from tips. As for new websites using jQuery, Rey split off that kind of announcement to another Twitter account, jquerysites. --Karl Karl Swedberg

[jQuery] Re: xml find element with this attribute value

2008-10-24 Thread Karl Swedberg
On Oct 24, 2008, at 7:09 AM, Robert Koberg wrote: On Oct 24, 2008, at 2:35 AM, akel wrote: i've been reading a lot and still does not find any solution to my query. please find the details below. in jquery how can i automatically find the element sample with attribute name equals to a

[jQuery] Re: Obama's site jquery mystery

2008-10-22 Thread Karl Swedberg
Look at: http://www.voteforchange.com/js/application.js search for: function set_alt(alt) that should point you in the right direction --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 22, 2008, at 4:11 PM, stephen wrote: I've gone th

[jQuery] Re: jQuery efficiency with a large DOM.

2008-10-22 Thread Karl Swedberg
Have you tried using event delegation? It can be very helpful in avoiding the bottleneck that occurs when binding events to many elements. I wrote a blog entry about it a while back (as have others). http://www.learningjquery.com/2008/03/working-with-events-part-1 --Karl Karl

[jQuery] Re: Combining jQuery and jQuery UI

2008-10-22 Thread Karl Swedberg
: Yes, it's being listed first. Can someone else please try and do this to verify it? I just want to make sure I'm not missing something simple. On Oct 21, 12:16 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: Are you making sure that the jquery core file is at the top of that conc

[jQuery] Re: $(document).ready() vs $(function () {});

2008-10-21 Thread Karl Swedberg
Hi Shawn, They're functionally equivalent. The only difference is that $ (function() {}); is shorter and $(document).ready(function() {}); is, at least to me, more intuitive. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 21, 2008, at 12:

[jQuery] Re: Combining jQuery and jQuery UI

2008-10-21 Thread Karl Swedberg
Are you making sure that the jquery core file is at the top of that concatenated file? that's the only other thing I can think of that would produce the error. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 20, 2008, at 4:26 PM, c.barr

[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-19 Thread Karl Swedberg
://www.keylimetie.com/Blog/2008/5/20/How-to-enable-HTTP-Compression-on-Windows-Server-2003/ MorningZ, glad to hear that the instructions in that linked page worked for you! --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 19, 2008, at 9:01 AM, Sridhar

[jQuery] Re: How to gzip a javascript file | I am not able to find.

2008-10-18 Thread Karl Swedberg
retty straightforward, though I've never tried it. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 18, 2008, at 4:47 PM, Sam Sherlock wrote: search for mod_deflate on google I use jsMin and cssTidy, others prefer other options 2008/10/18 Sridhar Kuppal

[jQuery] Re: question.

2008-10-16 Thread Karl Swedberg
and select. --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com

[jQuery] Re: $("a") is not a function error

2008-10-16 Thread Karl Swedberg
k out this blog entry for more alternatives: http://www.learningjquery.com/2008/07/jquery-documentation-alternatives --Karl ____ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 16, 2008, at 11:12 PM, blacque wrote: Thank you for your reply.. I read the manual from

[jQuery] Re: Make 'this' child 'ul' appear

2008-10-15 Thread Karl Swedberg
Hi Alex, Instead of $('this > ul') try $('> ul', this) --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 15, 2008, at 6:49 PM, Alex wrote: Hey guys, I have a menu like this: Test Another

[jQuery] Re: JQuery to select rows inside a particular table

2008-10-15 Thread Karl Swedberg
On Oct 15, 2008, at 7:10 PM, Alexandre Plennevaux wrote: $('#myTable tr'); HTH Alex That's right. And in case jl wonders why, it's because some browsers treat the table as if it has a element as a child of , even if it isn't explicitly put in there. --Karl

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