Re: [jQuery] ImagaBox plugin

2006-09-14 Thread Milian Wolff
Am Donnerstag, 14. September 2006 12:31 schrieb Stefan Petre:
> Maybe some of you that migrated from prototype to jQuery miss the Lightbox
> plugin. I know I do for some projects.

Yes, I understand you. You made a good attempt in recreating those neat 
animations but there are still a few glitches:

In Firefox (1.5.0.6 on a Linux machine) it flickers after the fold animation.

In both Opera and Firefox it's a bit laggy (I have a 1.6 GHz CPU, that should 
be enough for a little animation..., also lightbox performs better).

It looks darn nice, I have to say, but you should think about putting the 
styles in a .css and not setting them via jquery.

Keep up the good work.

-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] datePicker plugin IE memory leak fixed

2006-09-10 Thread Milian Wolff
Hello Kelvin.

I just want to take the oportunity to give you some suggestions for features I 
miss in your date picker:

I would need a possibility to change the month and year in the popped up 
window:

<< | < | January 2006 | > | >>

Something like this, where < > would switch to the next month and << >> would 
go the next year.

I see that one can currently move forward in months, but not backwars and not 
in years.
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Greybox demo throws JS errors

2006-09-09 Thread Milian Wolff
Am Samstag, 09. September 2006 20:47 schrieb Sam:
> This is a link to greybox?  The code appears to be a parser???

No - that was a mistake. That was a answer to a different thread - I'm sorry 
to confuse you.

Just download greybox from http://jquery.com/demo/grey/ and test it - it 
works.
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ] inside attr value

2006-09-09 Thread Milian Wolff
Whoops, I forget to remove some lines I used for debugging, here is the 
updated fix:

http://nopaste.php-q.net/238509

Sorry...

PS: and I answered the wrong email... I think I need a break... *blushes*
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Greybox demo throws JS errors

2006-09-09 Thread Milian Wolff
Whoops, I forget to remove some lines I used for debugging, here is the 
updated fix:

http://nopaste.php-q.net/238509

Sorry...
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ] inside attr value

2006-09-09 Thread Milian Wolff
Am Freitag, 08. September 2006 19:02 schrieben Sie:
> Any comments / improvements / possible bugs are appriciated.
I found the test case system (which is totally jaw dropping!) and was able to 
fix two bugs in my hack. I updated the bug ticket [1] and pasted the fix [2]. 
Now all the tests are passed - should be save to port this fix into the 
trunk.

[1] http://jquery.com/dev/bugs/bug/185/
[2] http://nopaste.php-q.net/238501
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Greybox demo throws JS errors

2006-09-09 Thread Milian Wolff
Am Samstag, 09. September 2006 15:18 schrieb Sam:
> > http://jquery.com/blog/2006/02/10/greybox-redux/
> >
> > The demo site seems to be buggy though - download the package and try it!
>
> The greybox demo page throws JavaScript errors in Firefox, IE
>
> http://jquery.com/demo/grey/
>
> Sam

Like I said: the demo page is buggy (see the line at the top and bottom of the 
page "[an error occurred while processing this directive]"). I downloaded the 
archive and tested it on my local box. It worked like a charm - no js errors 
in FF.
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] select all checkboxes

2006-09-09 Thread Milian Wolff
Am Samstag, 09. September 2006 15:22 schrieb Claudio Poli:
> hi,
> what's the best way to select/deselect checkboxes in a form with jquery?
> can anyone provide a sample code, please?
>
> thanks in advance.

I'd do it like this:

$("[EMAIL PROTECTED]'checkbox']").each(function(){
this.checked = !$this.checked;
}

Not tested, but you should get the idea.
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Dynamically open a window

2006-09-08 Thread Milian Wolff
Am Freitag, 08. September 2006 21:13 schrieb Sam:
> I've looked at lightbox and thickbox, both are great products, but I need
> to dynamically open a "window" (dressed up div) to display results.  It
> needs to be closable, resizable, draggable
>
> Is this easy to do in jQuery or is there a plugin for support?
>
> Sam

http://jquery.com/blog/2006/02/10/greybox-redux/

The demo site seems to be buggy though - download the package and try it!
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ] inside attr value

2006-09-08 Thread Milian Wolff
Am Freitag, 08. September 2006 19:16 schrieb Klaus Hartl:
> "Point being: starting from code that's invalid and trying to script on
> top of it isn't going to make yr day any easier."

http://milianw.de/misc/test/grouped-form-elements.html

This site validates! It also passes the xml sheme validator:

http://www.validome.org/validate/?uri=http%3A%2F%2Fmilianw.de%2Fmisc%2Ftest%2Fgrouped-form-elements.html
http://www.validome.org/xml/validate/?url=http%3A%2F%2Fmilianw.de%2Fmisc%2Ftest%2Fgrouped-form-elements.html
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] ] inside attr value

2006-09-08 Thread Milian Wolff
Am Freitag, 08. September 2006 19:16 schrieb Klaus Hartl:
> A value
> of "foo[bar]" for the name attribute is invalid HTML, thus jQuery
> shouldn't be supposed to support that from the beginning.

So how do I group form fields?

   
   
   

That code can be accessed in PHP via $_POST['foo'] (which is an array). What 
is the correct way to handle this situation?
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] ] inside attr value

2006-09-08 Thread Milian Wolff
jQuery current version cant handle something like this:

$("[EMAIL PROTECTED]'foo[bar]']")

which I filed under bug #185 [1]. I now wrote a hack and would appreciate if 
you could test it. I saw testcases in the comments, so I think you have some 
way to do this? Furthermore the above code should be added to those 
testcases.

[1] http://jquery.com/dev/bugs/bug/185/

Any comments / improvements / possible bugs are appriciated.

PS: Thanks for this awesome piece of code!
-- 
Milian Wolff
http://milianw.de

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/