[jQuery] Re: animation: sequential showing / hiding : how-to?

2007-12-16 Thread wick
Here's the method I use on my site (modified a bit to fit your example), there's probably a better way, but my version is pretty clean: function showitems(i,max) { if (i <= max) { $('div.items:eq('+i+')').show('slow',function() { showitems(+ +i,max) }); } } $(function() { showitems(0,

[jQuery] help on accessing "this" inside callback function of a object

2007-12-16 Thread james_027
hi, Sorry if the subject sounds crazy. I have this MainPage object below function MainPage(){ this.init = function(){ $('#sample').click(function(){ // here is my problem, inside this anonymous function how can I access the method_one function? this.method_one(param_1, param_2)

[jQuery] [SITE SUBMISSION] YourDoorandMore.com

2007-12-16 Thread Rey Bango
Here's a new site from Jim Priest: http://www.yourdoorandmore.com/ "Your Door and More helps you share the joy and excitement of owning a home by providing personalized pen and ink illustrations of your door, front porch, or home."

[jQuery] [ANNOUNCE] Plugin Authors - PLEASE READ!!!

2007-12-16 Thread Rey Bango
If you are a plugin author, please be sure to test your plugin(s) with the upcoming release of jQuery, v1.2.2. John made an announcement today about it and having compatibility is extremely important. Following are the details of the release from John's email: Please use the unpacked version

[jQuery] jQuery in the wild

2007-12-16 Thread Benjamin Sterling
Stumbled across this site today that is actually quite impressive: http://drawter.com/ -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.benjaminsterling.com

[jQuery] Re: trigger all events of a type?

2007-12-16 Thread Dave Methvin
> If the events went to "document", how > would I dispatch them on to the desired object? I would have to > register receiver objects with the code attached to "document" which > would seem to me to be an indirect alternative to just registering > with the sending object, which I was hoping to av

[jQuery] Re: Draggable Counting

2007-12-16 Thread Shawn
Nice sample. I can see places I could put this sort of interface to use right away. If I move a coin to one of the metrics the counter goes up by one. Good so far. Now if I pick up the coin and then just drop it again without moving it, the counter goes up again. Not so good. Perhaps inte

[jQuery] Help Test jQuery 1.2.2

2007-12-16 Thread John Resig
Hey Everyone - We just pushed a beta copy of jQuery 1.2.2 live. We'd love for everyone to help test this release and make sure that it's in tip-top shape. Please use the unpacked version, it'll make it easier for us to spot/close bugs. http://code.jquery.com/jquery-1.2.2b.js Here's the full lis

[jQuery] Re: animation: sequential showing / hiding : how-to?

2007-12-16 Thread sawmac
> > $('div.items").show("slow"); > of course i could use the callback of each show so taht the next one only > start when current is finished animating, but i don't know in advance the > amount of divs there will be so i'm kind of stuck on how to achieve that. I think the FX Queues extension ca

[jQuery] Re: trigger all events of a type?

2007-12-16 Thread Mark Hahn
If I understand you correctly, you are saying to bind all my events to the single DOM element "document", correct? I agree that would be very fast. My goal though is for objects that are attached all over the DOM (expandos) to receive events. If the events went to "document", how would I dispat

[jQuery] Re: Autocomplete row colors

2007-12-16 Thread Shawn
I was able to get the alternating row colors with this code: $("#dialogTSKComp").autocomplete( "xhr/autocomplete_company.cfm", { formatItem : function (data, pos, qty) { if (pos % 2 == 0) { return "" + data[0] + ""; } return data[0]; } } ); And then

[jQuery] Re: get a hash into a form (interface)

2007-12-16 Thread Null
No 1 Plz help I am really stuck :( Null wrote: > > I am using the following interface demo page: > http://interface.eyecon.ro/demos/sort.html where I want to put the hash in > a input field. I need the hash from the sort 3 (3rd column). > > Okay this is a part of the code with a form add

[jQuery] Re: jQuery.dequeue is not a function

2007-12-16 Thread Dimatrix
@Christiaan: Many thanks for sharing that detail! Similar changes are required on: line 287 of ifxscale.js: change jQuery.dequeue(z.el.get(0), 'interfaceFX'); to jQuery(z.el.get(0)).dequeue('interfaceFX'); Regards Dimitri On Oct 23, 3:34 am, Christiaan van Woudenberg <[EMAIL PR

[jQuery] Re: server side jquery

2007-12-16 Thread Michael Geary
> Well of course talking about jQuery server side is pointless. > Now there's a context where it comes interesting. > Something I would really like to see is a ruby binding to > libxml with a jQuery like structure. > When I have to deal with xml in a server side app, I can't > stop telling me th

[jQuery] Re: Select the parent of current element!

2007-12-16 Thread Wizzud
$("input.saveButton").click(function () { alert( $(this).parent().find('input:first').val() ); }); or $("input.saveButton").click(function () { alert( $(this).siblings('input').eq(0).val() ); }); On Dec 16, 9:33 am, Karl Delandsheere <[EMAIL PROTECTED]> wrote: > Hi!

[jQuery] animation: sequential showing / hiding : how-to?

2007-12-16 Thread Alexandre Plennevaux
hi! i'm displaying a series of graphical items in one command: $('div.items").show("slow"); now, it was suggested by my mate that they appear one after the other, according to, say, their order of appearance in the html markup. of course i could use the callback of each show so taht the next on

[jQuery] no server response from .ajax call

2007-12-16 Thread malexs
Hi, im pretty new with the jquery stuff.. and i appear to be missing one giant big step. I want to do a simple ajax call, and post a variable to a php file that will then do something and return a result that the ajax will then display in the page i even tried the ajax example on this page h

[jQuery] Re: server side jquery

2007-12-16 Thread Fabien Meghazi
> Well, I feel silly now. Maybe jQuery + env.js + Rhino can come to my house > and do some laundry as well. Well of course talking about jQuery server side is pointless. Now there's a context where it comes interesting. Something I would really like to see is a ruby binding to libxml with a jQue

[jQuery] Re: Getting .html() AND the container element

2007-12-16 Thread Flesler
@Jeffrey Oops.. silly me, that's true, I didn't realize. :) Ariel Flesler On 15 dic, 23:07, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > That method will move the element into this new div, which messes up the > DOM. The outerHtml method below clones the element first so the original > stays un

[jQuery] Re: server side jquery

2007-12-16 Thread Josh Nathanson
Well, I feel silly now. Maybe jQuery + env.js + Rhino can come to my house and do some laundry as well. -- Josh - Original Message - From: "Kelvin Luck" <[EMAIL PROTECTED]> To: Sent: Sunday, December 16, 2007 2:35 AM Subject: [jQuery] Re: server side jquery Sharique wrote: Is

[jQuery] Re: ClockPick and IE7

2007-12-16 Thread Josh Nathanson
Jimbo, do you have a link you can post? I don't have IE7 running so I can't test it myself, but I can take a look at your code. Or if you can't post a link just post your code to the list. If it works in IE7 in the demo it should work in your own environment. -- Josh - Original Mess

[jQuery] Re: server side jquery

2007-12-16 Thread Alexandre Plennevaux
darn, that's quite amazing! my bad! it is possible after all! I guess that the true answer to Sheride is actually: to do what? On Dec 16, 2007 11:35 AM, Kelvin Luck <[EMAIL PROTECTED]> wrote: > > Sharique wrote: > > Is it possible to run excute jquery on server side. > > http://ejohn.org/blog/bri

[jQuery] Weird exception when extending Array

2007-12-16 Thread Francesco Vivoli
Hi all I've a strange issue that bugs me... Everything works fine in a page we've got, but when I add this simple function to one of our js files Array.prototype.contains = function (value){ var i; for (i=0; i < this.length; i++) { if (this[i] === value) { return tru

[jQuery] Ajax with Jquery : "Load" or "$.get"

2007-12-16 Thread Brandnew
Hello, i'm fairly new to the Jquery process, but i'm enjoying a lot learning how to use it. Lately, I made my first attempt at using a "kind of Ajax" page for the Newsletter of my website. I couldn't use things like $.get or $.post because I surely don't use them well since they don't work for m

[jQuery] Re: Clone dont work. Why?

2007-12-16 Thread Antonio Jozzolino
Everything works fine now. Thanks a lot! html Empresas Coligadas ou Filiais js $('span.bt-more').bind('click', function(){cloneDiv($(this))}); $('span.bt-less').bind('click', function(){removeDiv($

[jQuery] Fixed table header

2007-12-16 Thread Shawn
Hi all, I apologize if this is a little OT, but I've been at this for a couple hours now and am not making any head way. So I'm hoping one of the guru's on the list might point me in the right direction. My goal is simple - I need a table with a fixed header. I've found a few sites that pur

[jQuery] Re: Clone dont work. Why?

2007-12-16 Thread Antonio Jozzolino
Thanks David, Richard and Bryan I have try with "insertAfter" and this work fine. But I need to bind a event again in new button that will be created. HTML Empresas Coligadas ou Filiais JS version 1 /*$(

[jQuery] Re: $.append(html, callback); ?

2007-12-16 Thread Eric Teubert
Thank you for the answer, I am quite sure to know the main spot now. The eleID-Tag is affected by the following class: .window { border-collapse:collapse; position:absolute; top:-1px; left:-1px; display:none; max-width:500px; } This is bec

[jQuery] Re: $.append(html, callback); ?

2007-12-16 Thread Eric Teubert
Hi, very good question - I didn't even think about it. What I could not believe: the box has always been up to date, in any case! With that in mind I searched for other issues and about 5 minutes later I got it: "display:none". I hide my elements until they are completely loaded and set them to "

[jQuery] Re: Select the parent of current element!

2007-12-16 Thread Karl Delandsheere
Hi! Did you try this: $(document).ready(function () { $("input.saveButton").click(function () { var parent = this.parentNode; alert(parent); }); }); And if you want to get the jQuery object, $(this.parentNode). Anyway, you have the "parents()" method. Hope that I help

[jQuery] Re: server side jquery

2007-12-16 Thread Fabien Meghazi
> > No, it is not possible. > > Unfortunately, John Resig made a mistake while designing jQuery. He > > assumed that the window object is always defined. > > I don't think that was a mistake. I'm sure if John had intended for jQuery > to be used on the server, he would have designed it as such. I

[jQuery] Re: server side jquery

2007-12-16 Thread Kelvin Luck
Sharique wrote: Is it possible to run excute jquery on server side. http://ejohn.org/blog/bringing-the-browser-to-the-server/

[jQuery] Re: dynamic form: how to allow several inputs with same name ?

2007-12-16 Thread Alexandre Plennevaux
thanks Aaron, i'm still not sure i understand the whole of it but i'll experiment with this and come back if i'm still stuck. cheers! alexandre On Dec 16, 2007 12:18 AM, Aaron Heimlich <[EMAIL PROTECTED]> wrote: > This really depends on what server-side language you're using to process > the fo