Re: [jQuery] how to find an item when you only know part of the class name

2007-03-03 Thread John Resig
I'm not sure what the issue is that you're referring to, I just ran the test and it seems to work as you would expect it to: Clicking the link strikes out the line: http://john.jquery.com/ticket/td-attr/ Isn't there another aspect at play here? My first recommendation would be to change: var

[jQuery] appendTo() crashes Konqueror

2007-03-03 Thread Daniel Hofstetter
Hi all, I have the following HTML code: div id=the_list div class=row input type=checkbox name=a_name value=a_value id=an_id / /div div class=row/div /div div id=other_list div class=row/div /div When the checkbox gets clicked, the div which contains the checkbox should be removed

Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Klaus Hartl
Daemach schrieb: -- If I add metadata to a class attribute, I risk messing with CSS - classes are for styles. That is a common misunderstanding. Consider the HTML spec: The class attribute has several roles in HTML: * As a style sheet selector (when an author wishes to assign style

[jQuery] jQuick 1.2 released and beta 4 preview of PassPack

2007-03-03 Thread Francesco Sullo
During the development of the first releases of PassPack, I adopted Easy DOM Creation by Michael Geary to quickly manage the DOM elements. But, with the beta4 version of PassPack I needed to overcome Michael's library's limits (due to the compatibility with Prototype). So I developed jQuick.

Re: [jQuery] Can multiple functions be attached to the same event?

2007-03-03 Thread Klaus Hartl
Daemach schrieb: Or does using .click() twice on the same element overwrite the first binding? No, nothing gets overwritten. The functions are executed in the order you have attached them. -- Klaus ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] jqModal r7 release!

2007-03-03 Thread Dmitry Rudakov
Brice Burgess wrote: Are you compressing (JS compressor, not gzip output) the combined javascript output? I've played with similar techniques, and found compressors and the capsulated function don't play well. Bruce, to successfully use JS compressor you need to include some

Re: [jQuery] jqModal r7 release!

2007-03-03 Thread Brice Burgess
Dmitry Rudakov wrote: Brice Burgess wrote: Are you compressing (JS compressor, not gzip output) the combined javascript output? I've played with similar techniques, and found compressors and the capsulated function don't play well. Bruce, to successfully use JS compressor you

[jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread Rick Faircloth
Repost in case someone might have some clues. .and I do have jQuery version 1.1.2. Rick Hi, all. I've been working on imitating Carlos Sanz' menu at http://www.generalmedicine.com/index2.htm

Re: [jQuery] Bind event to radio button group

2007-03-03 Thread Klaus Hartl
Brad Perkins schrieb: Thanks for the tip. That looks promising. Brad If you use load() or $.ajax with the dataType option set to 'html', javascripts will be evaluated. $('#target').load('from/here.php'); $.ajax({ url: 'from/here.php', dataType: 'html' }); For more information

[jQuery] A little bug fixed in the beta 4 preview of PassPack

2007-03-03 Thread Francesco Sullo
Hi all, about beta4preview of PassPack, during last test I commented a line so that after registration user cannot see anything. I'm sorry. Now it works well. -- During the development of the first releases of PassPack, I adopted Easy DOM Creation by Michael Geary to quickly

Re: [jQuery] selectable not working after loading content through .load the second time

2007-03-03 Thread Priet
I am as well very interested in the alternate paint method of selecting objects. Could you maybe e-mail it to [EMAIL PROTECTED] Thanks! I'm also having troubles reinitializing the selectables. I have made an example page: http://www.peterriet.net/temp/selectables. After you reset the items (or

[jQuery] :checked and [EMAIL PROTECTED]

2007-03-03 Thread Fil
hello people $([EMAIL PROTECTED]) is obsolete and replaced by E:checked isn't it? I ask because http://docs.jquery.com/DOM/Traversing/Selectors still mentions [EMAIL PROTECTED] in an example -- Fil ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread Rey Bango
Hey Rick, I can see the issue in IE7 but not FF. Its more like a little stutter right? I won't be able to look at it today but I'll see if I can determine what's happening on Monday. Rey... Rick Faircloth wrote: Repost in case someone might have some clues… …and I do have jQuery version

Re: [jQuery] How to block a function while another finishes? (and pause!)

2007-03-03 Thread Kim Johnson
Thanks to both of you! :) this is exactly what I needed. Question 2: is there a way to pause the slidedown from happening? I notice there's a pause() plugin, I dl'ed that and attempted to chain it such as: target.slideUp(slow, function() {

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread John Resig
Are you talking about when you click For Physicians then click Facilities - and the For Hospitals image jumps a little bit? If so, that's currently an issue with how jQuery does animation - they are not synchronized in nature. For example. the one div is sliding up and the other is sliding down,

Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Ⓙⓐⓚⓔ
call me weird, but I like mixing the 2 types of classes , and often use them together, with a single class. On 3/3/07, Klaus Hartl [EMAIL PROTECTED] wrote: Daemach schrieb: -- If I add metadata to a class attribute, I risk messing with CSS - classes are for styles. That is a common

Re: [jQuery] :checked and [EMAIL PROTECTED]

2007-03-03 Thread Ⓙⓐⓚⓔ
@checked means that it was coded with a checked attribute... not very useful :checked means it's currently checked... very useful! On 3/3/07, Fil [EMAIL PROTECTED] wrote: hello people $([EMAIL PROTECTED]) is obsolete and replaced by E:checked isn't it? I ask because

Re: [jQuery] How to block a function while another finishes? (and pause!)

2007-03-03 Thread Klaus Hartl
Kim Johnson schrieb: Thanks to both of you! :) this is exactly what I needed. Question 2: is there a way to pause the slidedown from happening? I notice there's a pause() plugin, I dl'ed that and attempted to chain it such as: target.slideUp(slow, function() {

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread John Resig
Scratch the 75px bit, I now have it working for any child ul height. --John On 3/3/07, John Resig [EMAIL PROTECTED] wrote: Are you talking about when you click For Physicians then click Facilities - and the For Hospitals image jumps a little bit? If so, that's currently an issue with how

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread Rick Faircloth
Hi, John...and thanks for the reply. It happens whenever a graphic starts the slide upwards. It jumps from its starting position to about where the bottom link is, then the slide smooths out. I noticed you're example doesn't do it. Although in IE 7 when the page is first loaded or refreshed and

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread Rick Faircloth
Hi, Rey... hope you're having a good trip and thanks for the reply! Yes... it's just a slight jump by a graphic moving upwards until it moves to about where the bottom link is...then it smooths out. The thing is, Carlos' original site www.generalmedicine.com/index2.htm doesn't do that...even in

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread Rick Faircloth
Ummm... don't see anything about 75px in the markup. Where is it? Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: Saturday, March 03, 2007 2:32 PM To: jQuery Discussion. Subject: Re: [jQuery] FW: Why are my graphics jumping?

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread John Resig
I removed it from the markup. Originally, in my demo, I had it such that all of the child uls were 75px tall, but that didn't look so good, so I changed it. --John On 3/3/07, Rick Faircloth [EMAIL PROTECTED] wrote: Ummm... don't see anything about 75px in the markup. Where is it? Rick

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread Marshall Salinger
Hey Rick, I noticed the jump in IE 6. I assume that is the browser that you are viewing the bug in. At first, I thought you were referring to the slight jitter that occurs while both animations are occurring, which is addressed by John's fix. The bug is actually an IE css bug related to the

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread Rick Faircloth
I got my page www.whitestonemedia.com/accordion_menu/acc_menu_02.html working correctly. Ty, the original coder of the page I was emulating, said it was probably a CSS issue like he had when he first coded his page. I stripped down my page and left out his CSS and now it slides smoothly. Still

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread Rick Faircloth
Hi, Marshall... Thanks for identifying the specific problem. I was seeing the problem in IE 7, but after taking out all CSS stylesheets, the problem went away. Here's my page without the CSS: http://www.whitestonemedia.com/accordion_menu/acc_menu_02.html Nice little demo you rigged up there,

Re: [jQuery] Event for return key?

2007-03-03 Thread Ⓙⓐⓚⓔ
to semi-paraphrase a a famous warrior, bind them all and let javascript sort them out. it's a single event to bind the keystrokes, then in the bound function check for the return key! otherwise just bubble up the characters! Only normal html says you can't have a form inside a form! jquery can

Re: [jQuery] Pjq Demo

2007-03-03 Thread Richard Thomas
http://projects.cyberlot.net/trac/jqpie/wiki I have uploaded it to subversion and setup a site to document everything, I am also renaming it to jQPie - jQuery PHP interface extension On 3/1/07, Alex Cook [EMAIL PROTECTED] wrote: Gimmee some docs, I wanna play... -Original Message-

Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Daemach
Well of course we all know that every browser follows the w3 recommendations rigidly and without compromise, so let me put this another way: Knowing that some browsers suck more than others (*cough* IE *cough*), is there less risk in the browser misinterpreting non-style information in an

Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Ⓙⓐⓚⓔ
I think there is no risk! classes are ours to use (or abuse)... no sane (not even IE) browser would co-opt classes from the masses! On 3/3/07, Daemach [EMAIL PROTECTED] wrote: Well of course we all know that every browser follows the w3 recommendations rigidly and without compromise, so let me

Re: [jQuery] FW: Why are my graphics jumping?

2007-03-03 Thread rolfsf
that effect is great - thanks for the insight John r. John Resig wrote: I took the time to build a demo for you, since it is rather non-trivial: http://john.jquery.com/ticket/stable-slide/ I restructured the markup to be ul/li elements (works better in this case) and gave all child

Re: [jQuery] Collapsible Tables

2007-03-03 Thread Carl Parrish
Thanks r, Using your example I was able to figure out my page and now it works great. On 2/22/07, rolfsf [EMAIL PROTECTED] wrote: Carl - Jake is pointing you to the example I worked out a couple days ago - I faced the same problem, and despite being quite a newbie I was able to figure out a

Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Glen Lipka
I'm quoting Mike Alsup from the jQuery 1.1.2 thread, which I thought did a good job relating to this question: Based on this info, I feel totally safe using it. I can't even think of a reason to use objects in this way, but I am not that complex. :) *That's correct. It's safe to store

Re: [jQuery] How to block a function while another finishes? (and pause!)

2007-03-03 Thread Karl Swedberg
On Mar 3, 2007, at 3:05 PM, Klaus Hartl wrote: Karl recently wrote about a neat trick to achieve the same without the pause plugin: http://www.learningjquery.com/2007/01/effect-delay-trick Just do this: target.children(div.middle).html(stuff).pause(2000, 'fx').animate({opacity: 1},

Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Ⓙⓐⓚⓔ
after reading this thread I feel comfortable using my own 'expando'/'extendo' attributes again, and using classes too! but classes are the only way to pass the validators! If you are horribly concerned with possible interaction with css classes, you could remove the javascript class with jquery,

Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Daemach
Actually I think I may just modify the validator code to read out of a custom expando. It would be nice to be able to pass the attribute name to the validator engine directly though... Jorn? ==(sorry - I don't know how to do the fancy o ;) Ⓙⓐⓚⓔ wrote: after reading this thread I feel

Re: [jQuery] Of extendos, metadata and valid XHMTL - Is it ok to add attributes to elements?

2007-03-03 Thread Ⓙⓐⓚⓔ
have you ever made a dtd that the validator likes? I gave up on that a while back! good luck! On 3/3/07, Daemach [EMAIL PROTECTED] wrote: Actually I think I may just modify the validator code to read out of a custom expando. It would be nice to be able to pass the attribute name to the

Re: [jQuery] Bind event to radio button group

2007-03-03 Thread Sam Collett
On 03/03/07, Brad Perkins [EMAIL PROTECTED] wrote: Josh, After further testing this doesn't appear to work with IE6 (or Safari). Your technique for binding the radio buttons works in the main page, but it appears that any javascript returned via the ajax call is ignored by IE6 (and also by

Re: [jQuery] Interface Animation and element positioning

2007-03-03 Thread Yansky
Can you post a link to your test site? Or post your code in this thread (including the HTML/CSS). Jake McGraw wrote: I've been trying to use Interface to animate various elements, specifically using the slide functions. What I would like to do is have a div slide out of the center of the

[jQuery] Jquery and XSLT

2007-03-03 Thread Scottus
I this weekend I have been play with xsl (xslt) and I was concerned using javascript with it. Is the document load event sent when the xml doc is loaded, or when transformed xml is created by xsl style sheet. I worried about it for a while. But is seems that jquery's .ready works just fine

Re: [jQuery] Jquery and XSLT

2007-03-03 Thread John Resig
There are very few detailed articles on browsers and xsl. One thing i wonder are .xsl files cached like javascript and image files are. Is so there could be a real performance boost. Absolutely. Case-in-point: http://www.worldofwarcraft.com/ View the source, you'll be pleasantly surprised :-)