Re: [jQuery] [validation plugin] addError help!

2007-03-14 Thread Jörn Zaefferer
philguillard schrieb: > Many Thanks. > I took time to answer cause it was not working for me and i didn't want > to make you waste your time. > Downloading the plugin today and deleting > that i was hardcoding in the form (preventing the new message to be > displayed), i get it working. > Ok,

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Daemach
I understand, but in your radio selector you're using [EMAIL PROTECTED] which means "begins with an underscore" In this case I think you want [EMAIL PROTECTED] which means "contains an underscore". Another option might be $(this).siblings(":radio:checked") (UNTESTED!), this being the select a

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
Doh! I meant $("radio:[EMAIL PROTECTED]" + id + "]") oops. But, I'm still not sure that 'radio:checked' works. I think I have to use input:checked. I thought about the siblings thing too, but I wasn't sure of the exact relationship between these elements. I'm pretty sure there isn't a parent c

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Daemach
Yeah that should work ;) And you're right - it should be input:checked though :radio:checked might work as well. If not, input:radio:checked should do it. I need to build a generic text page to test selectors on :) I have this page bookmarked: http://docs.jquery.com/Selectors I'm a relative

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
Daemach wrote: > A great way to do testing with your own page is to do the selectors right in > the firebug console. If it returns an array of elements you can mouse over > them and FF will highlight the element in the dom so you can verify that it > got the right one. An empty array means it did

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
Doh! I just found an example on the first page of the selectors documentation. Duh... I read that doc, but not the stuff toward the top. Here's the exact example: All checked radio buttons: $("[EMAIL PROTECTED]@checked]") Man... I feel stupid. Oh well. Thanks for tryin' to help me there Daema

[jQuery] Do I really need to do an 'eval' in JQuery?

2007-03-14 Thread Graham Churchley
I want to hide the all table rows that have a specific value for the custom 'grp' attibute. This code works: $('table.grouped tr.group').click(function() { var attrName = $(this).attr("grp"); eval("$(this).siblings('[EMAIL PROTECTED]" + attrName + "]').toggle()"); return false; })

Re: [jQuery] Do I really need to do an 'eval' in JQuery?

2007-03-14 Thread Karl Rudd
There's no need to use "eval" in this case. The selector is a string, you can just "+" it all together. Karl Rudd On 3/15/07, Graham Churchley <[EMAIL PROTECTED]> wrote: > > I want to hide the all table rows that have a specific value for the custom > 'grp' attibute. > This code works: > > $('tab

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Christopher Jordan
Also, Daemach, you're absolutely right 'input:radio:checked' works great. I just tested it. I learn something new every day! :o) I combined that with the xpath selector: $("input:radio:[EMAIL PROTECTED]"); ... and it's working just fine! Thanks so much for all your help!! :o) Cheers, Chris D

Re: [jQuery] Need help with filter, please.

2007-03-14 Thread Daemach
And at the very bottom: Or, if you have already a reference to your form: $('input:radio', myForm) This would select all input elements of type radio inside myForm. Using :radio is mostly the same as [EMAIL PROTECTED], but should be slightly faster. Good to know when working with large forms.

Re: [jQuery] ANNOUNCE: Thickbox Reloaded alpha

2007-03-14 Thread Klaus Hartl
Joel Birch schrieb: > Anything we can do to lighten the load? I'm sure many of us will > agree that this is one of the most exciting and important plugin > projects at the moment. > > Good luck with everything Klaus. > > Joel. Thanks for your kind offer, Joel! I think I'll be needing just an

Re: [jQuery] Do I really need to do an 'eval' in JQuery?

2007-03-14 Thread Sam Collett
On 14/03/07, Graham Churchley <[EMAIL PROTECTED]> wrote: > > I want to hide the all table rows that have a specific value for the custom > 'grp' attibute. > This code works: > > $('table.grouped tr.group').click(function() { > > var attrName = $(this).attr("grp"); > > eval("$(this).siblings

Re: [jQuery] Do I really need to do an 'eval' in JQuery?

2007-03-14 Thread Klaus Hartl
Graham Churchley schrieb: > > I want to hide the all table rows that have a specific value for the > custom 'grp' attibute. > This code works: > > $('table.grouped tr.group').click(function() { > >var attrName = $(this).attr("grp"); > >eval("$(this).siblings('[EMAIL PROTECTED]" + attrN

[jQuery] Advantages of adding functions to jQuery

2007-03-14 Thread Daniel MacDonald
I'm having trouble seeing the advantage of adding static functions to jQuery as in: jQuery.log = { error : function() { ... }, warning : function() { ... }, debug : function() { ... }, }; as opposed to: function log() { ... } log.prototype.error = function() { ... } log.prototype.warning

[jQuery] Blurry font on fadeIn

2007-03-14 Thread Glen Lipka
See code below: in IE7, when I do this, the font is all blurry. If I use fadeIn(), it looks blurry until the very end and then fixes itself. Firefox looks right the whole time. Am I doing somthing wrong? Glen This is the Name /div> Edit $("a.flipflopButton").toggle(function(){ $

[jQuery] on resize in jquery?

2007-03-14 Thread rolfsf
with jQuery, how do I fire off a function or two whenever a window is resized? I'm trying to adapt a more traditional javascript, and in this case I've got it attached to the body tag: hoping to graduate from jQKindergarten soon :-) -- View this message in context: http://www.nabble.com/on-r

Re: [jQuery] on resize in jquery?

2007-03-14 Thread Erik Beeson
http://docs.jquery.com/Events#resize.28_fn_.29 So you probably want: $(window).resize(function() { ... }); IIRC, some browsers fire the resize event on load, and some don't. Watch out for that. --Erik On 3/14/07, rolfsf <[EMAIL PROTECTED]> wrote: > > with jQuery, how do I fire off a function or

Re: [jQuery] Advantages of adding functions to jQuery

2007-03-14 Thread Michael Geary
> I'm having trouble seeing the advantage of adding static > functions to jQuery as in: > > jQuery.log = { > error : function() { ... }, > warning : function() { ... }, > debug : function() { ... }, > }; > > as opposed to: > > function log() { ... } > log.prototype.error = function() { ..

Re: [jQuery] Blurry font on fadeIn

2007-03-14 Thread Glen Lipka
I'm a loser. Asked and answered already. http://jquery.com/pipermail/discuss_jquery.com/2006-November/015669.html *RULE: Whenever fading something with TEXT, it should have an explicit background.* Thanks Christopher Jordan! Glen ___ jQuery mailing l

Re: [jQuery] on resize in jquery?

2007-03-14 Thread Daniel MacDonald
$(window).bind('resize', doSomething); rolfsf wrote: > > with jQuery, how do I fire off a function or two whenever a window is > resized? > > I'm trying to adapt a more traditional javascript, and in this case I've > got it attached to the body tag: > > > hoping to graduate from jQKinderga

Re: [jQuery] How can this be modified to accept other types of input?

2007-03-14 Thread Rick Faircloth
Thanks, Aaron! The examples and explanations are much appreciated! Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Heimlich Sent: Wednesday, March 14, 2007 1:37 AM To: jQuery Discussion. Subject: Re: [jQuery] How can this be modifed to accept other types of input?

Re: [jQuery] Swapping css of non-adjacent link tags

2007-03-14 Thread Bruce MacKay
Excellent - thank you all and to you particularly "frame25", I really appreciate the code and its explanation. Terrific! Cheers, Bruce At 03:49 a.m. 15/03/2007, you wrote: >I agree with Choan that you should use addClass and removeClass instead, to >separate style from code. It also allows y

Re: [jQuery] Advantages of adding functions to jQuery

2007-03-14 Thread Jörn Zaefferer
Daniel MacDonald schrieb: > It seems the former opens up the door to unintended closures. What are the > benefits of doing it this way as opposed to the traditional non-jQuery way? > Thats it! By putting everything into a single global object, there isn't the chance of colliding with other libr

Re: [jQuery] Blurry font on fadeIn

2007-03-14 Thread abba bryant
Make sure you have a color for the text and a background-color for the container defined. That might help. Glen Lipka wrote: > > See code below: > in IE7, when I do this, the font is all blurry. If I use fadeIn(), it > looks > blurry until the very end and then fixes itself. > Firefox looks ri

Re: [jQuery] on resize in jquery?

2007-03-14 Thread Karl Swedberg
On Mar 14, 2007, at 5:43 PM, Erik Beeson wrote: IIRC, some browsers fire the resize event on load, and some don't. Watch out for that. Another thing you might need to watch out for is that some browsers fire the resize event as soon as the resizing stops while others fire it continuously a

[jQuery] rollodex ui

2007-03-14 Thread Alexandre Plennevaux
hello! i need to display a list of contacts in an online addressbook which can be up to 1000 rows. Each row just display the firstname, lastname and organisation, with a button next to it. On mouse over this button, a div comes front showing that specific person's full contact information. On

Re: [jQuery] Advantages of adding functions to jQuery

2007-03-14 Thread Erik Beeson
Like pseudo packages/namespaces. --Erik On 3/14/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Daniel MacDonald schrieb: > > It seems the former opens up the door to unintended closures. What are the > > benefits of doing it this way as opposed to the traditional non-jQuery way? > > > Thats it!

Re: [jQuery] rollodex ui

2007-03-14 Thread Erik Beeson
There's an awful lot to what you're asking. It sounds less like jQuery help, and more like consulting work... I could imagine a long list of "rows" (DIVs or SPANs or TRs) that have a nested DIV that has the full contact details. Then just something like (untested pseudoish code): $(rows).hover(fu

Re: [jQuery] on resize in jquery?

2007-03-14 Thread rolfsf
since what I'm doing is helping IE to properly size a div to fit the window, it probably doesn't matter - as long as it gets the size right in the end. Is there a meaningful difference between $(window).bind('resize', ... $(window).resize(... ? Karl Swedberg-2 wrote: > > On Mar 14, 2007, at

Re: [jQuery] on resize in jquery?

2007-03-14 Thread Daniel MacDonald
I use $(window).bind('resize', ... as a reminder to $(window).unbind('resize') when I'm done doing whatever I did. rolfsf wrote: > > since what I'm doing is helping IE to properly size a div to fit the > window, it probably doesn't matter - as long as it gets the size right in > the end. > >

Re: [jQuery] Advantages of adding functions to jQuery

2007-03-14 Thread Daniel MacDonald
I believe I got it, using: jQuery.log = { error : function() { ... }, warning : function() { ... }, debug : function() { ... }, }; as opposed to: var log = { error : function() { ... }, warning : function() { ... }, debug : function() { ... }, }; prevents a conflict with some oth

Re: [jQuery] on resize in jquery?

2007-03-14 Thread rolfsf
okay - got it - thanks! Daniel MacDonald wrote: > > I use $(window).bind('resize', ... as a reminder to > $(window).unbind('resize') when I'm done doing whatever I did. > > > > rolfsf wrote: >> >> since what I'm doing is helping IE to properly size a div to fit the >> window, it probably do

[jQuery] xsl sped up my xml over ajax

2007-03-14 Thread Ⓙⓐⓚⓔ
while writing an AJAX application, I was concerned about the little bit of extra time it took to load the xml. I reversed the application to start with the xml, apply an xsl transform, that loads in the jquery scripts, and it's all much faster, with only a few lines of code being changed. http://j

Re: [jQuery] xsl sped up my xml over ajax

2007-03-14 Thread Benjamin Sterling
Looks good in FF2 mac and IE6 pc as well as netscape. I have been trying to learn xsl, can you recommend some resources. I tried to reverse engineer the api, Jorn's api and backbase.com but no luck. thanks. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

Re: [jQuery] rollodex ui

2007-03-14 Thread Karl Swedberg
On Mar 14, 2007, at 7:53 PM, Erik Beeson wrote: If you're wanting the details content to hover over the top of your rows, you might look into something like the modal plugin. Maybe you could have an onmouseout handler on the modal content to hide it. Another option for the hovering effect mig

Re: [jQuery] rollodex ui

2007-03-14 Thread Alexandre Plennevaux
That's not a good idea to me: i prefer to perform an ajax call on mouseover, because loading the details of all contacts would increase an already heavy html download. But thanks for the suggestion. I'll try jqModal, i wonder why i didn't think of it before. -Original Message- From: Erik

[jQuery] the pitfalls of jquery

2007-03-14 Thread Benjamin Sterling
I've worked on a project for about two months now that uses jquery for everything. Using such plugins as jqModal, blockUI, jqDebug, jqQuick, dimensions plugin, form plugin, and jqHighlightFade as well as some code I pulled out of other plugins (nextUntil (Jorn), bgIframe(?), pngFixer(actual code

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Benjamin Sterling
sorry about that hit the submit button :) back to my story Because this will be on a government server, they don't want anything other then basic javascript, I can explain the whole discussion with the client but this message would be to long and either way the result would be that I can us

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Benjamin Sterling
Sorry for all the misspells, my brain is fried... -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Ⓙⓐⓚⓔ
Benjamin, Here' my 2 cents... write it in jquery first, then translate to standard javascript (lifting some of the cool routines from jquery) On 3/14/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > Sorry for all the misspells, my brain is fried... > > -- > Benjamin Sterling > http://www.KenzoMe

Re: [jQuery] xsl sped up my xml over ajax

2007-03-14 Thread Ⓙⓐⓚⓔ
thanks! I was wondering about ie 5.5 and Konquerer and any others. I learned xsl by the book. XSLT by Michael Kay, author of saxon (and one of the fathers of xsl 2.0) and then all over again by reading XSLT 2,0 by Michael Kay! It's a really cool language, designed to be interpreted. everythin

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread ashutosh bijoor
Hehe... well isnt jquery "basic javascript" too? On 3/15/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: sorry about that hit the submit button :) back to my story Because this will be on a government server, they don't want anything other then basic javascript, I can explain the whole

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Rey Bango
hahahaha. John hooked me the same way. He met me in a dark alley and told me, "Version 1.0 is always free". I tried it and thats it. Rehab has been no help. I've tried The YUI Clinic, Dojo Promise Center and The Prototype Halfway House. None have been able to help me kick the habit. :P Rey...

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Erik Beeson
This "start with what's easy" idea is the same philosophy that I use for building sites. First make it work in FF, then figure out how to hack it up to work in IE (and pray that it works in Safari/Opera). --Erik On 3/14/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: > Benjamin, Here' my 2 cents... write it

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Scott Sauyet
Benjamin Sterling wrote: > So I take a look at the specs and my brain just goes limp.. I CAN'T > THINK OF HOW I WOULD DO THIS WITH OUT JQUERY.. > > it is a sad sad world all because of my dependency of the crack > that is jQuery... I really don't know about licensing issues, but I

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Josh Nathanson
Yeah...how is jQuery not basic JavaScript? It runs pretty durn well on all the major browsers...which is more than I can say for a lot of "non-jQuery" JS that I run across... Why not just use it until somebody actually looks at your code...if they ask you to take it out, let them know it will

Re: [jQuery] rollodex ui

2007-03-14 Thread Alexandre Plennevaux
good idea, thanks ! _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: jeudi 15 mars 2007 1:46 To: jQuery Discussion. Subject: Re: [jQuery] rollodex ui On Mar 14, 2007, at 7:53 PM, Erik Beeson wrote: If you're wanting the details content to hover

[jQuery] window.undefined = "undefinedundefined"?

2007-03-14 Thread Daemach
I was poking around the DOM looking for incorrectly scoped variables and I found the following node: window.undefined = "undefinedundefined" What is this for? -- View this message in context: http://www.nabble.com/window.undefined-%3D-%22undefinedundefined%22--tf3405952.html#a9487226 Sent from

Re: [jQuery] How to bind a hover event?

2007-03-14 Thread Brandon Aaron
As already mentioned you should try using the .hover() method. You can find the docs for it here: http://jquery.bassistance.de/api-browser/#hoverFunctionFunction -- Brandon Aaron On 3/14/07, Daniel Hofstetter <[EMAIL PROTECTED]> wrote: > Hi all, > > Somehow I can't figure out how to bind a hover

Re: [jQuery] rollodex ui

2007-03-14 Thread Erik Beeson
You may want to consider onclick or something like that hover intent plugin that was recently mentioned on this list. Otherwise, if you fire ajax calls onmouseover, you'll likely end up with poor performance when the user is just moving the mouse around. Also, you may want to cache the results of t

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Erik Beeson
Seriously. jQuery is much lighter than something like dojo... sed s,jQuery,helper,g jquery.js > helper.js --Erik On 3/14/07, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Benjamin Sterling wrote: > > So I take a look at the specs and my brain just goes limp.. I CAN'T > > THINK OF HOW I WOULD DO

Re: [jQuery] the pitfalls of jquery

2007-03-14 Thread Jonathan Chaffer
On Mar 14, 2007, at 20:49 , Benjamin Sterling wrote: Because this will be on a government server, they don't want anything other then basic javascript, I can explain the whole discussion with the client but this message would be to long and either way the result would be that I can use any

Re: [jQuery] bgiframe update, sneak peak

2007-03-14 Thread John W
This is great news Brandon. -- View this message in context: http://www.nabble.com/bgiframe-update%2C-sneak-peak-tf3402941.html#a9487729 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquer

Re: [jQuery] xsl sped up my xml over ajax

2007-03-14 Thread Benjamin Sterling
Yeah, I got the XSLT cookbook, and well nothing got cooked. I will take a look at your suggestion. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] bgiframe update, sneak peak

2007-03-14 Thread Joel Birch
On 15/03/2007, at 2:41 AM, Brandon Aaron wrote: > Okay ... I've got a sneak peak of the new bgiframe plugin here: > http://brandon.jquery.com/plugins/_bgiframe/test/ Great enhancements and barely affected the weight of the plugin. Top work. I noticed that when you increase the in FF the test ca

Re: [jQuery] xsl sped up my xml over ajax

2007-03-14 Thread Ⓙⓐⓚⓔ
I'm the kind of guy who can fast-read tech manuals... these books may not be for everyone. On 3/14/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > Yeah, I got the XSLT cookbook, and well nothing got cooked. I will take > a look at your suggestion. > -- > > Benjamin Sterling > http://www.Ke

Re: [jQuery] bgiframe update, sneak peak

2007-03-14 Thread Joel Birch
On 15/03/2007, at 2:26 PM, Joel Birch wrote: > I noticed that when you increase the in FF the test case where the > dimensions are in ems scales up as expected, but in IE6 it does not. > Any ideas why that would be? sorry, typo: ...when you increase the *text size* in FF... Joel. __

Re: [jQuery] Calling all CF'ers... et al...

2007-03-14 Thread Rick Faircloth
> I'm riding bikes with my daughter and take a header into the street Stay away from the curbs! That was what caused my first fall. Only had two in 15,000 miles and 6 years of riding! No telling how many times I fell on my motorcycle...but that was when I was 14 and falling off was 1/2 the fun!

Re: [jQuery] Ok... one last effort to make this work... help!

2007-03-14 Thread Daemach
Did you get this working Rick? Rick Faircloth wrote: > > Thanks for the advice on Firebug and the debug code, Daemach. > > I've been using it for a few days, but haven't learned it well. > It has been good about notifying me of syntax errors, however! > > Rick > > -Original Message-

Re: [jQuery] Ok... one last effort to make this work... help!

2007-03-14 Thread Rick Faircloth
Thanks for the explanation and the code, Daemach! I'll work with this and report back... Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daemach Sent: Wednesday, March 14, 2007 12:44 AM To: discuss@jquery.com Subject: Re: [jQuery] Ok... one last effo

[jQuery] jQuery In The Wild: marmot.com

2007-03-14 Thread Jonathan Sharp
Another jQuery sighting: http://marmot.com click on "Clothing & Equipment" -js ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-03-14 Thread Rick Faircloth
Very nicely done, Tony! Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of rip747 Sent: Wednesday, March 14, 2007 1:30 PM To: discuss@jquery.com Subject: Re: [jQuery] jQuery Powered Sites - Keep the Links Coming I actually just got done redesigning ww

[jQuery] *New jQuery plugin* - autoSave

2007-03-14 Thread Daemach
To try and master jQuery I've been playing with a few ideas. I decided to flesh this one out for use on one of my sites and in hopes it can benefit someone else as well I'm making it available. Depending on your view of network traffic this may have limited potential for you, but it's free so no

Re: [jQuery] jQuery BlockUI Plugin IE crashes

2007-03-14 Thread Kush Murod
Hi, jQuery BlockUI Plugin, IE crashes every time. I am using jquery 1.1.2 + form plugin Any ideas? Cheers, -- Kush Murod, Web applications developer Sensory Networks [E] [EMAIL PROTECTED] [W] www.sensorynetworks.com [T] +61 2 8302 2745 [F] +61 2 9475 0316 [A] Level 6, 140 William Street East S

<    1   2