[jQuery] Re: @mike: blockUI fix

2007-06-16 Thread Gilles (Webunity)
Cool! I'll be going to try and rebuild my administration site using blockUI (with ajax forms) instead of my own submodal (which is not so widely tested off course). I'll keep you posted Gilles

[jQuery] Re: url encoding for GET

2007-06-16 Thread Mike Alsup
Your $.ajax example is not correct. This line: data:url=+url,num=+num, does not make sense and I'm surprised it's not throwing an error. Try changing it to: data:{url:url,num:num}, Mike On 6/16/07, joomlafreak [EMAIL PROTECTED] wrote: I wonder if this is normal I am sending a url

[jQuery] Re: Validate RC2 Preview: Remember The Milk Signup

2007-06-16 Thread Tane Piper
This is fantastic. A few of us in #cakephp are strong jQuery advocates and we discussed this very thing as we want 'DRY' conventions. We were thinking of a helper, but if it can be done as a helper, or at the core that would be fantastic. Can't wait to see this in action. On 6/16/07, R.

[jQuery] Re: ANNOUNCE: Please Welcome New jQuery Team Member Glen Lipka

2007-06-16 Thread Klaus Hartl
Glen Lipka wrote: I want to thank all the little people. (Under 5 ft tall). Seriously, I have been involved in alot of 'communities' in the last decade and every single one was a complete pain in the ass. This is the very first one that I actually enjoy. I think its a testament to how easy

[jQuery] Re: ANNOUNCE: Please Welcome New jQuery Team Member Glen Lipka

2007-06-16 Thread Klaus Hartl
Karl Swedberg wrote: Glen, I'm thrilled that you've officially joined the cult ... ummm ... I mean ... team. As a member of the welcoming committee, I'm pleased to announce that we have sent you some /fabulous/ membership prizes via carrier pigeon, including an upside-down flower pot, a 10%

[jQuery] jQuery CakePHP (Was Re: Validate RC2 Preview: Remember The Milk Signup)

2007-06-16 Thread R. Rajesh Jeba Anbiah
On Jun 16, 7:20 pm, Tane Piper [EMAIL PROTECTED] wrote: This is fantastic. A few of us in #cakephp are strong jQuery advocates and we discussed this very thing as we want 'DRY' conventions. We were thinking of a helper, but if it can be done as a helper, or at the core that would be

[jQuery] Re: Printer Friendly Form Field Replacements

2007-06-16 Thread R. Rajesh Jeba Anbiah
On Jun 16, 2:34 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Here you go: http://rcs-comp.com/code_examples/jquery_form_print/ snip Code is nice, but I'm wondering--why not doing it with CSS (form fields with flat look) -- ?php echo 'Just another PHP saint'; ? Email:

[jQuery] How is height calculated?

2007-06-16 Thread Fred Janon
Hi, I am trying to understand how the height of an element is calculated in jQuery. I don't understand how the height can be calculated especially when the element is hidden with display:none. Thanks Fred

[jQuery] Re: ANNOUNCE: Please Welcome New jQuery Team Member Glen Lipka

2007-06-16 Thread Glen Lipka
Doing the handshake all on your own? If you do that too often you will go blind. Punchline to a good jQuery joke: So then the Priest said, I thought that's what slideDown() was for!! Glen On 6/16/07, Klaus Hartl [EMAIL PROTECTED] wrote: Karl Swedberg wrote: Glen, I'm thrilled that

[jQuery] Re: Safari 3 and onload

2007-06-16 Thread Ⓙⓐⓚⓔ
I've used this a a test to see when things load... quite different loading times!! ?xml version=1.0 encoding=utf-8 ? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en head

[jQuery] Re: encodeURIComponent localized for custom encoding

2007-06-16 Thread Ⓙⓐⓚⓔ
form plugin uses the same encoding that ajax will use... it's ajax... with the 2 lines to override it should work... I would like to see a live page, I can peek at the headers with firebug to see what is actually being sent (in the headers) but to see what is actually sent you need to add a

[jQuery] Carousel / Sliding Images / Glider

2007-06-16 Thread Arne-Kolja Bachstein
Hi there, does anyone know a plugin that can slide images ltr/rtl as an endless animation? Or does anyone know how to implement this with an animate() call or something like this? I don't get it just using the animate thing. and I have not yet tried to create a plugin, because I do not know

[jQuery] Form plugin parameter passing

2007-06-16 Thread wyo
Is it possible to pass additional parameters to the AJAX call? On my page I have a get value (e.g. mode=1) which I'd like to pass to the called server function. Or do I have to store the value in a hidden input field so it's passed with the other fields? O. Wyss

[jQuery] Form plugin, filling results into the fields

2007-06-16 Thread wyo
I'm not sure if I understand it right, does the form plugin move the results back into the form fileds after the call succeeds? If yes how has the results look like? If no, what's the best solution? O. Wyss

[jQuery] getting the (computed) background-color

2007-06-16 Thread Fil
To retrieve the computed bgcolor of an element I had to do this: var bgcolor = jQuery(this).css('backgroundColor'); if (bgcolor == 'transparent') { jQuery(this) .parents() .each(function(){ var bg = jQuery(this).css('backgroundColor'); if

[jQuery] Re: getting the (computed) background-color

2007-06-16 Thread Rick
I'am not sure, but this one may be faster: // get the background color var current_p = $(this); var bg = transparent; while(bg == transparent) { bg = current_p.parent().css('background-color'); current_p = current_p.parent(); } On 16 jun, 23:10, Fil [EMAIL PROTECTED] wrote: To

[jQuery] Re: How is height calculated?

2007-06-16 Thread Klaus Hartl
Fred Janon wrote: Hi, I am trying to understand how the height of an element is calculated in jQuery. I don't understand how the height can be calculated especially when the element is hidden with display:none. Thanks Fred Fred, if the particular element is hidden, it is absolutely

[jQuery] Insert table row next to last row

2007-06-16 Thread Brad Perkins
I'm hoping this is just a simple selector question. I currently have this code which inserts a row at the end of a table. $('tr class=datarow').appendTo(#my_table).html(rowcells); I need to add a footer row to the same table. Is there a simple modification to the the above code so that it would

[jQuery] Re: Insert table row next to last row

2007-06-16 Thread Ⓙⓐⓚⓔ
use a tfoot for your table and append to the tbody instead of the table. table thead tr thHeader 1/th thHeader 2/th thHeader 3/th /tr /thead *tfoot* tr

[jQuery] Re: How is height calculated?

2007-06-16 Thread Rick
I think its not calculated, but just the value from css (elm.style.height). The Dimensions plugin does calculate it (innerHeight, outerHeight - elm.offsetHeight). On 16 jun, 16:49, Fred Janon [EMAIL PROTECTED] wrote: Hi, I am trying to understand how the height of an element is calculated in

[jQuery] Re: Insert table row next to last row

2007-06-16 Thread Brad Perkins
That was easy! Thanks On Jun 16, 4:44 pm, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: use a tfoot for your table and append to the tbody instead of the table. table thead tr thHeader 1/th thHeader 2/th

[jQuery] Form Element Collection

2007-06-16 Thread John Farrar
Does anyone have a way to pull individual form elements via a common request simular to how they use $F() in prototypt? I would like to be able to set/get any form element value via this scope using the element ID. (Currently select boxes don't work the same as an input element to my perception.)

[jQuery] Re: using spin button in a scrolling parent

2007-06-16 Thread orix
Hi George, Thank You for the great plugin, I'm just a happy user! and thank you also to all the jquery team, of course :)) I don't have a live website yet that I can show you, but I put up a simple example at: www.motivus.pt/spin While I was doing this, I noticed also that your plugin won't

[jQuery] Plugin redesign option

2007-06-16 Thread Alexandre Plennevaux
Hello friends, i would like to redevelop my jqUploader plugin, rebuilding it around Luke Lutman's jquery Flash plugin. Doing so i guess mine becomes more of an extension than a standalone plugin. Hence, i would like to ask how to best articulate the two: in other words, should i just use

[jQuery] Reading a querystring to determine an action - possible?

2007-06-16 Thread Bruce MacKay
Hi folks, I'm working on a site that, by default, has a RHS sidebar. I want to be able to selective hide that sidebar based on the value of a querystring. More specifically, there are times when I need the whole page to display a large table, so when I submit a post or call to the server

[jQuery] Re: Plugin redesign option

2007-06-16 Thread Rey Bango
Hi Alexandre, I really believe that that depends on how Luke's code fits into your plans. If his code is easy to modify and maintain, then extending it might make sense. Otherwise, it might be best to evaluate what he's done and refactor code that might need improvement. Whether his code is

[jQuery] Re: Reading a querystring to determine an action - possible?

2007-06-16 Thread Erik Beeson
You can access the current URL from javascript via window.location Maybe try parsing window.location.href or window.location.search ? --Erik On 6/16/07, Bruce MacKay [EMAIL PROTECTED] wrote: Hi folks, I'm working on a site that, by default, has a RHS sidebar. I want to be able to

[jQuery] Re: Form plugin parameter passing

2007-06-16 Thread Mike Alsup
O, You can add parameters using the beforeSubmit callback: $('#myForm').ajaxSubmit({ beforeSubmit: function(a, $f, o) { a.push({name: 'mode', value: '1'}); } }); Mike On 6/16/07, wyo [EMAIL PROTECTED] wrote: Is it possible to pass additional parameters to the AJAX call? On my

[jQuery] Re: Form plugin, filling results into the fields

2007-06-16 Thread Mike Alsup
No, the form plugin does not do anything with the server response (other than pass it to your callback). What exactly is it that you need to do? Mike I'm not sure if I understand it right, does the form plugin move the results back into the form fileds after the call succeeds? If yes how has

[jQuery] Dealing with Non existent nodes

2007-06-16 Thread Scottus
I am using var title = document.getElementsByTagName('title').item(0).innerHTML; to get the content of a pages title tag. But if the page has no title tag I get Error: document.getElementsByTagName(title).item(0) has no properties and the script craps out. any ideas about how to deal with