[jQuery] Re: How to know if the entire page has loaded, AFTER it has loaded? [advanced]

2008-03-07 Thread Jeffrey Kretz
Sure, here you go: http://www.lawcrime.com/ JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris J. Lee Sent: Friday, March 07, 2008 10:13 AM To: jQuery (English) Subject: [jQuery] Re: How to know if the entire page has loaded, AFTER it has

[jQuery] Re: every nth element - photo grid arranging

2008-03-07 Thread jason
Here's one way: $(function(){ newRowAt = 5; inc = newRowAt - 1; $('li').each(function(i){ if(newRowAt == i + 1){ $(this).css('clear','left'); newRowAt += inc; } }); }); - jason On M

[jQuery] Re: A simple loop - but I can't do it

2008-03-07 Thread jason
I think you're looking for something more like this for that last bit: $('#sshoweditor fieldset').each(function(i){ $(this).attr('id','fs' + i); }); - jason On Mar 7, 8:51 pm, Bruce MacKay <[EMAIL PROTECTED]> wrote: > Hi folks, > > I have a form (id="sshoweditor") containing - let's say 6

[jQuery] Re: jqGrid final preview

2008-03-07 Thread jquertil
/* rant */ oh man, lemme tell you something... cross-browser display for scrolling grids is a NIGHTMARE. either you end up doing a zliilion lines of old-school JS coding to get the table rewritten on the fly, which slows down rendering-time a LOT, or you end up loosing column header alignment, esp

[jQuery] toggle() animation - maybe there is a neater way to do this?

2008-03-07 Thread jquertil
I have this code shown below - it works fine but I imagine there is a neater way to accomplish this... anyone? I would love to somehow shrink this to less lines of code. stoggle = 0; $("#button").).click(function(){ var extra = 150; if(stoggle==0){ $('#div').anim

[jQuery] Re: Current element position on sort change

2008-03-07 Thread Michael Klishin
Using map, like this http://pastie.org/private/dauwu4p28g5hzsm6e8nreq On 07/03/2008, applecoremilo <[EMAIL PROTECTED]> wrote: > Is there a way I am able to find out what position the dragged element > is in.. > > IE: i have 5 list elements which are sortable, i drag element 4 into > positi

[jQuery] Re: problems with event triggering in IE6, presumably 5.5 as well.

2008-03-07 Thread hedgomatic
So far loading up a DIV with  s and then something like: target_div { overflow: hidden; text-decoration:none; } is the only thing I've been able to pull off in IE. It does seem to work tolerably though. You can see it in action/grab source via the URL in the original post. It's not what I'd co

[jQuery] Re: .serialize() not working on DOM form

2008-03-07 Thread Ken Gregg
I ran into this and discovered serialize won't find a field if it does not have a name tag. I see you only have ids in your code above. On Mar 6, 1:39 pm, jayturley <[EMAIL PROTECTED]> wrote: > On Mar 6, 1:36 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > > > indicating that the form and its in

[jQuery] basic Show & Hide icon

2008-03-07 Thread SparrowDog
I am using the Basic Show & Hide (code below) succesfully and have figured out how to link it to text rather than a 'submit button'. What I would like to do though is to have a hand (or some other meaningful icon) show up on mouse over instead of the cursor. Is there a way to do this? When I wra

[jQuery] yet another post about the $(this) scope

2008-03-07 Thread jquertil
been reading other posts about $(this) and what it refers to. And still I dont understand. I thought $(this) is a refernce to the object I am operating on, no? So this (no pun intended, tee hee) should work ,I thought: $('#div').animate({top:parseInt($(this).css('top'))+50},400); because my a

[jQuery] Re: .serialize() not working on DOM form

2008-03-07 Thread Mike Alsup
> I ran into this and discovered serialize won't find a field if it does > not have a name tag. I see you only have ids in your code above. Good catch, Ken. The name attribute is required for form elements.

[jQuery] Re: A simple loop - but I can't do it

2008-03-07 Thread Bruce MacKay
Thanks Jason - appreciated. At 03:33 p.m. 8/03/2008, you wrote: I think you're looking for something more like this for that last bit: $('#sshoweditor fieldset').each(function(i){ $(this).attr('id','fs' + i); }); - jason On Mar 7, 8:51 pm, Bruce MacKay <[EMAIL PROTECTED]> wrote: > Hi

<    1   2