Re: [jQuery] Error Handling with AJAX

2006-09-17 Thread Mike Rubits
My understanding was that the plugin looked inside the form tag for the action: and when you click submit, instead of doing an old fashioned submit, the ajaxForm plugin kicks in, reads action="" from the form tag, and does it via AJAX. I have a similar form on another page that works perfectly:

Re: [jQuery] Error Handling with AJAX

2006-09-17 Thread Klaus Hartl
Mike Rubits schrieb: > How is it returning XML at all? The only thing it's returning is a 404 error > code. It's supposed to post to the action attrib of the form, instead it's > posting to "/modules/tasks/[object htmlInputElement]" instead of > taskaction.php. Does your form contain an input fie

Re: [jQuery] Error Handling with AJAX

2006-09-17 Thread Klaus Hartl
Matt Stith schrieb: > AJAX is supposed to return XML, so its doing what its made to do. It returns whatever MIME type you want the server to respond. -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Bug in .color() / Firefox

2006-09-17 Thread Klaus Hartl
Justin Carter schrieb: > Hi All, > > I'm building a new site using jQuery (obviously) and sIFR (2.0.2) for > replacement of Heading text. sIFR forces you to specify your text > color in the replaceElement function but since I have different style > sheets for different parts of the site I prefer

[jQuery] Bug in .color() / Firefox

2006-09-17 Thread Justin Carter
Hi All, I'm building a new site using jQuery (obviously) and sIFR (2.0.2) for replacement of Heading text. sIFR forces you to specify your text color in the replaceElement function but since I have different style sheets for different parts of the site I prefer not to hard code color values into t

Re: [jQuery] Error Handling with AJAX

2006-09-17 Thread Mike Rubits
How is it returning XML at all? The only thing it's returning is a 404 error code. It's supposed to post to the action attrib of the form, instead it's posting to "/modules/tasks/[object htmlInputElement]" instead of taskaction.php. Matt Stith wrote: > > AJAX is supposed to return XML, so its d

[jQuery] [PATCH] IE opacity issues

2006-09-17 Thread Brandon Aaron
I just added a patch to trac [1] that resolves the opacity issues (at least all the ones I was having thus far) in IE. Unfortunately, I am running behind as it is on my project and don't have time to write tests also (other than my project, which I can't show yet). It would be very nice if a few pe

Re: [jQuery] Drop Cap help - how to remove a single character?

2006-09-17 Thread Karl Swedberg
On Sep 17, 2006, at 10:27 PM, John Resig wrote: > try text.substr(0).toLowerCase() again. Thanks, John! Right on target, except it needed the second argument: text.substr(0,1).toLowerCase() Also had to deal with the possibility of the first paragraph starting with some sort of tag, like so:

[jQuery] typewriter effect

2006-09-17 Thread sime
Hi I am looking for a type-writer effect (the text of an element types out). Anyone aware of this? I would sponsor this plugin, so if anyone can tell me how long such a plug-in might take to create - this would be useful for a proposal I am writing. Thanks Simon __

Re: [jQuery] Error Handling with AJAX

2006-09-17 Thread Matt Stith
AJAX is supposed to return XML, so its doing what its made to do. On 9/17/06, Mike Rubits <[EMAIL PROTECTED]> wrote: > > Yet another feature about FireBug I didn't realize :) > > I've found the rather obvious source of the problem, not sure if it's a > JQuery bug, but it's odd nonetheless. It's no

Re: [jQuery] Drop Cap help - how to remove a single character?

2006-09-17 Thread John Resig
> Well, I guess I spoke too soon. It does work brilliantly in Firefox > and Safari, but I get an error in IE6 related to $('') > > Error: '0' is null or not an object > > So it chops off the first letter, but doesn't add the image. > > Any ideas? Maybe IE doesn't support the following synt

Re: [jQuery] Drop Cap help - how to remove a single character?

2006-09-17 Thread Karl Swedberg
On Sep 16, 2006, at 10:16 PM, Karl Swedberg wrote: > works brilliantly! ( after changing the period to a semicolon in the > line, " firstP.innerHTML = text.slice(1). " ) > > On Sep 16, 2006, at 8:48 PM, John Resig wrote: > >> Maybe something like this? >> >> function swap_letter() { >> var firs

Re: [jQuery] unsubscribe

2006-09-17 Thread Roman
You can also sign up via NNTP (news groups) server at: nntp://news.gmane.org/gmane.comp.lang.javascript.jquery Then go to mailman account settings, and set the option not to receive emails anymore. You will still be able to post via the email, but all the reading will be done via NNTP. Another

Re: [jQuery] iUtil.getPos() seems too slow than below code

2006-09-17 Thread limodou
On 9/18/06, limodou <[EMAIL PROTECTED]> wrote: > On 9/18/06, Stefan Petre <[EMAIL PROTECTED]> wrote: > > limodou wrote: > > > This code I copy from prototype, and made some changes, it doesnot > > > calculate the width and height, only x and y, but it's quicker than > > > jUtil.getPos(). BTW, I thi

Re: [jQuery] iUtil.getPos() seems too slow than below code

2006-09-17 Thread limodou
On 9/18/06, Stefan Petre <[EMAIL PROTECTED]> wrote: > limodou wrote: > > This code I copy from prototype, and made some changes, it doesnot > > calculate the width and height, only x and y, but it's quicker than > > jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin > > use it to

Re: [jQuery] iUtil.getPos() seems too slow than below code

2006-09-17 Thread limodou
On 9/18/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > limodou schrieb: > > This code I copy from prototype, and made some changes, it doesnot > > calculate the width and height, only x and y, but it's quicker than > > jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin > > use i

[jQuery] Patch to checkbox replacement

2006-09-17 Thread Yehuda Katz
This update allows the use of the semantically correct "for" attribute instead of forcing the label to be immediately after the checkbox. It also requires that the checkbox be hidden via CSS, rather than via the plugin.     /* Images as Checkboxes */    jQuery.fn.cssCheckbox = function () {        

Re: [jQuery] Error Handling with AJAX

2006-09-17 Thread Mike Rubits
Yet another feature about FireBug I didn't realize :) I've found the rather obvious source of the problem, not sure if it's a JQuery bug, but it's odd nonetheless. It's not getting the form action correct: POST http://192.168.0.3/modules/tasks/%5Bobject%20HTMLInputElement%5D The ajaxForm is bein

Re: [jQuery] hoe to get attributes?

2006-09-17 Thread Olivier Percebois-Garve
Hi John thanks for your code I solved the attr('name') issue (I was fooled by the reloading) and I've done a little form checker plugin in a few hours, thanks to jquery ! Is there a similar project known in the community ? olivvv John Resig wrote: Oliver - Please make sure that you're usi

Re: [jQuery] TreeMenu height problem (curCSS issue)

2006-09-17 Thread Mark Sams
--- Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Mark Sams schrieb: > > I have changed the obvious errors and the tree > builds > > and collapses and expands individual elements. The > > problem exists when collapsing an inside element, > then > > a parent element, then expanding them in reverse. >

Re: [jQuery] TreeMenu height problem (curCSS issue)

2006-09-17 Thread Jörn Zaefferer
Mark Sams schrieb: > I have changed the obvious errors and the tree builds > and collapses and expands individual elements. The > problem exists when collapsing an inside element, then > a parent element, then expanding them in reverse. e.g. > Could you post a link to your modified version? That

Re: [jQuery] Interface: draggables, droppables, and sortables

2006-09-17 Thread Brendan O'Brien
Hi,I'm responding to a few things in this post.First, I took a look at Bryan's example pages.  The problem you see on the second page (where isortables.js has been included, but no Sortables have been declared) that throws the error "jQuery.iSort.helper.get is not a function"; I've had this proble

[jQuery] TreeMenu height problem (curCSS issue)

2006-09-17 Thread Mark Sams
The TreeView example given at: http://be.twixt.us/jquery/treeView.php does not change the heights properly with newer versions of JQuery. It works fine with Rev 29 of jquery from May, but not newere versions. I have changed the obvious errors and the tree builds and collapses and expands indivi

Re: [jQuery] hoe to get attributes?

2006-09-17 Thread John Resig
Oliver - Please make sure that you're using jQuery 1.0.1: http://jquery.com/src/jquery-1.0.1.js --John On 9/17/06, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote: > > Wow lots of answers thanks ;) > Unfortunatly this.attr('name') or this.attr('id') are breaking the code. > (No js error but

Re: [jQuery] Is there an equivalent to moo.fx scrollTo() ?

2006-09-17 Thread Olivier Percebois-Garve
Thanks a lot, its working fine. Matt Stith wrote: http://interface.eyecon.ro/demos/ifxscrollto.html If you are looking for something that is equivilent to something in script.aculio.us, or moo.fx, the first place you should try is Interface. http://interface.eyecon.ro/demos On 9/

Re: [jQuery] Error Handling with AJAX

2006-09-17 Thread Matt Stith
in case you dont know, FireBug is a firefox extention. You can find it pretty quick on google.On 9/17/06, Yehuda Katz < [EMAIL PROTECTED]> wrote:Get Firebug and turn on Debug XMLHttpRequests. On 9/17/06, Mike Rubits <[EMAIL PROTECTED]> wrote: Currently I'm using $("#loading").ajaxError(function(){

Re: [jQuery] Error Handling with AJAX

2006-09-17 Thread Yehuda Katz
Get Firebug and turn on Debug XMLHttpRequests.On 9/17/06, Mike Rubits <[EMAIL PROTECTED]> wrote: Currently I'm using $("#loading").ajaxError(function(){ to display an alertbox when an AJAX error occurs. Is there anyway I can get more detailed infoabout what the error it returned is? I'm currently t

[jQuery] Error Handling with AJAX

2006-09-17 Thread Mike Rubits
Currently I'm using $("#loading").ajaxError(function(){ to display an alert box when an AJAX error occurs. Is there anyway I can get more detailed info about what the error it returned is? I'm currently trying to make my way through a problem with a form, and am not quite sure where to start as al

Re: [jQuery] iUtil.getPos() seems too slow than below code

2006-09-17 Thread Stefan Petre
limodou wrote: > This code I copy from prototype, and made some changes, it doesnot > calculate the width and height, only x and y, but it's quicker than > jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin > use it to replace some functions written by me. > > $.fn.coordinate = fu

Re: [jQuery] iUtil.getPos() seems too slow than below code

2006-09-17 Thread Klaus Hartl
limodou schrieb: > This code I copy from prototype, and made some changes, it doesnot > calculate the width and height, only x and y, but it's quicker than > jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin > use it to replace some functions written by me. > > $.fn.coordinate

Re: [jQuery] hoe to get attributes?

2006-09-17 Thread Klaus Hartl
Olivier, this.attr('name') $(this.id) In the first line you are trying to call the attr method on a DOM node (which is not defined), in the second you are passing a string (the id of the element this refers to) to the $ function, which returns an empty jQuery object, because there is element w

Re: [jQuery] Drop Cap help - how to remove a single character?

2006-09-17 Thread Klaus Hartl
>> p:first-child:first-letter { >> font: 2.5em/80% serif; >> } > > Good idea. Of course, this will have no effect on IE. But I suppose > IE users already have to suffer much worse than a plain first letter, > so no big deal. ;-) IE supports the :first-letter selector (since 5.5), so if

Re: [jQuery] Is there an equivalent to moo.fx scrollTo() ?

2006-09-17 Thread Matt Stith
http://interface.eyecon.ro/demos/ifxscrollto.htmlIf you are looking for something that is equivilent to something in script.aculio.us, or moo.fx, the first place you should try is Interface.http://interface.eyecon.ro/demosOn 9/17/06, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote: Hi a

[jQuery] Is there an equivalent to moo.fx scrollTo() ?

2006-09-17 Thread Olivier Percebois-Garve
Hi again Sorry to spam with questions. Its my first real trial with jquery, and so far so good, I like what  could achieve. Is there an equivalent to moo.fx scrollTo() ? I looked at scroll() and scroll(fn) but it is for triggering when the scroll occurs not to make scroll. thx olivvv __

Re: [jQuery] tweenbox - image gallery

2006-09-17 Thread Will Jessup
TweenBox isn't ready, still bugs and stuff to fix. I'm building it mostly for kevo... and its does alot of cool stuff like before/after callbacks etc. I did email Cody but no reply, i'm sure he's swamped. > Will, > > Did you contact Cody about adding some of the features to ThickBox? I > like

Re: [jQuery] Drop Cap help - how to remove a single character?

2006-09-17 Thread Karl Swedberg
Thanks for the tips, Klaus! On Sep 17, 2006, at 3:54 AM, Klaus Hartl wrote: > Karl, for some nicer degradation you could use the first-letter > pseudo-element selector: > > p:first-child:first-letter { > font: 2.5em/80% serif; > } Good idea. Of course, this will have no effect on IE. But I

Re: [jQuery] spin 360°

2006-09-17 Thread Armand Datema
mm in theory it is possible, I have seen a raytrace engine build with javascript once, and if we would allply a transparent image on a small flat square this could be rerendered each time. so this would take some raytracing and it nees to be fast enough to do it each time around when the camera p

[jQuery] iUtil.getPos() seems too slow than below code

2006-09-17 Thread limodou
This code I copy from prototype, and made some changes, it doesnot calculate the width and height, only x and y, but it's quicker than jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin use it to replace some functions written by me. $.fn.coordinate = function(){ e = this[0];

Re: [jQuery] konquerer, safari

2006-09-17 Thread Christof Donat
Hi, > As I work on GNU/Linux I use Konquere to see if things wil work in > Safari. I still need a mac but don't have one. > > Now I notice that often things don't work under konquerer. For example > this simple line give nothing under konquerer while in IE and Firefox it > works fine. > > $("li

Re: [jQuery] JHeartbeat - New Plugin

2006-09-17 Thread Dan Atkinson
Jason Levine wrote: > > This is beta right now so please download it and let me know what you > think about it. (The lessons that I learn with JHeartbeat may be applied > to a plugin version of Slightly Thickerbox.) > Do you have a link for the download? -- View this message in context: htt

[jQuery] konquerer, safari

2006-09-17 Thread Onno Timmerman
As I work on GNU/Linux I use Konquere to see if things wil work in Safari. I still need a mac but don't have one. Now I notice that often things don't work under konquerer. For example this simple line give nothing under konquerer while in IE and Firefox it works fine. $("li a").click(functi

Re: [jQuery] behaviour of show()

2006-09-17 Thread Onno Timmerman
Onno Timmerman schreef: > Onno Timmerman schreef: >> I got in html >> >> >> >> lorum ipsum >> >> > >> >> ul p {display:none;} >> ul ul {display:none;} >> >> In jquery I give: >> >> $("li").click(function(){$(this).find("p").show("slow"); >>

Re: [jQuery] hoe to get attributes?

2006-09-17 Thread Olivier Percebois-Garve
Wow lots of answers thanks ;) Unfortunatly this.attr('name') or this.attr('id') are breaking the code. (No js error but just nothing working anymore) Klaus Hartl wrote: Onno Timmerman schrieb: Olivier Percebois-Garve schreef: Hi It seems that there is cases where

Re: [jQuery] hoe to get attributes?

2006-09-17 Thread Olivier Percebois-Garve
Seems that you are putting me on the way but $(this.id) outputs [object Object] Onno Timmerman wrote: Olivier Percebois-Garve schreef: Hi It seems that there is cases where it is not possible to get attributes. How to deal with this ? $(this).val() // works $(this).name() //no

Re: [jQuery] hoe to get attributes?

2006-09-17 Thread Jörn Zaefferer
Klaus Hartl schrieb: > If $(...).name()/$(...).id() are not working this is bug and will be > fixed. I added some more tests, name() and id() both work fine. Olivier: Please make sure you are working with an update-to-date version. -- Jörn ___ jQuery

Re: [jQuery] hoe to get attributes?

2006-09-17 Thread Klaus Hartl
Onno Timmerman schrieb: > > Olivier Percebois-Garve schreef: >> Hi >> >> It seems that there is cases where it is not possible to get attributes. >> How to deal with this ? >> $(this).val() // works >> $(this).name() //not working >> $(this).id() //not working > > more like $(this.id); Unfo

Re: [jQuery] behaviour of show()

2006-09-17 Thread Onno Timmerman
Onno Timmerman schreef: > I got in html > > > > lorum ipsum > > >> > > ul p {display:none;} > ul ul {display:none;} > > In jquery I give: > > $("li").click(function(){$(this).find("p").show("slow"); > $(this).next("ul").show("slow"); > > Se

Re: [jQuery] hoe to get attributes?

2006-09-17 Thread Onno Timmerman
Olivier Percebois-Garve schreef: > Hi > > It seems that there is cases where it is not possible to get attributes. > How to deal with this ? > $(this).val() // works > $(this).name() //not working > $(this).id() //not working more like $(this.id); > > etc... > > Here is my code : > > $.fn

[jQuery] hoe to get attributes?

2006-09-17 Thread Olivier Percebois-Garve
Hi It seems that there is cases where it is not possible to get attributes. How to deal with this ? $(this).val() // works $(this).name() //not working $(this).id() //not working etc... Here is my code : $.fn.checkform = function() { this.bind("click", function(){

[jQuery] behaviour of show()

2006-09-17 Thread Onno Timmerman
I got in html lorum ipsum Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo con

Re: [jQuery] Test suite refactoring

2006-09-17 Thread Jörn Zaefferer
John Resig schrieb: > I suspect that we could probably even optomize the tests further, by > including all the tests directly in the HTML file itself (or even > running the tests using an XSLT file). But that's for another day - > and this is more than fine for now. > For now, right. The problem

Re: [jQuery] ImagaBox plugin

2006-09-17 Thread Onno Timmerman
How are things going with your plugin? I want to use it in a project. As I believe thickbox doesn't let the box grow or shrink animation to the size of the picture? Or am I wrong about that? ___ jQuery mailing list discuss@jquery.com http://jquery.co

Re: [jQuery] spin 360°

2006-09-17 Thread Onno Timmerman
Andy Matthews schreef: > That's not quite what he's talking about. I think he's looking for something > that spins on the vertical axis. > > andy matthews > web developer > certified advanced coldfusion programmer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --//---

Re: [jQuery] Drop Cap help - how to remove a single character?

2006-09-17 Thread Klaus Hartl
Klaus Hartl schrieb: > Karl, for some nicer degradation you could use the first-letter > pseudo-element selector: > > p:first-letter { > font: 2.5em/80% serif; > You'll need that selector: p:first-child:first-letter { ... } -- Klaus ___ j

Re: [jQuery] Drop Cap help - how to remove a single character?

2006-09-17 Thread Klaus Hartl
Karl, for some nicer degradation you could use the first-letter pseudo-element selector: p:first-letter { font: 2.5em/80% serif; } And you should include an alt attribute in case users have images disabled: $('') .src('/images/alphabet/' + text[0].toLowerCase() + '.gif') .addCla

Re: [jQuery] Shopping Cart Demo?

2006-09-17 Thread Gordon Heydon
Hi, Woohoo. I think that sums it up. Gordon. Stefan Petre wrote: > John Resig wrote: >>> I do not know, but is the interface author going to follow the same path >>> as jQuery and dual license. I would make it easy for the Drupal module >>> developers to include this into Drupal. (This would al

Re: [jQuery] Shopping Cart Demo?

2006-09-17 Thread Gordon Heydon
Hi, Sam Collett wrote: > On 17/09/06, Gordon Heydon <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Drupal's E-Commerce is going to be implementing a AJAX shopping cart >> using jquery for the next release. >> >> However it is a pity that the interface plugin isn't released under GPL >> as it means that I