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,
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)
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."
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
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
> 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
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
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
>
> $('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
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
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
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
@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
> 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
$("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!
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
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
> 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
@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
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
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
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
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
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
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($
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
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
/*$(
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
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 "
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
> > 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
Sharique wrote:
Is it possible to run excute jquery on server side.
http://ejohn.org/blog/bringing-the-browser-to-the-server/
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
33 matches
Mail list logo