Re: [jQuery] jQuery 1.1a

2007-01-07 Thread David Duymelinck
John Resig schreef:
> Hi Everyone -
>
> We've just pushed jQuery 1.1a live. This is a testing release - so
> your help would be appreciated in testing it out and finding any bugs.
> 1.1 will be released this weekend (January 14th).
>
> Here's the quick-and-dirty on jQuery 1.1:
>  * Its selectors are 10-20x faster than those in jQuery 1.0.4.
>  * The documentation has been completely revamped.
>http://docs.jquery.com/
>  * The complexity of the API has dropped by 47%.
>  * It has a ton of bug fixes.
>  * It has a bunch of great new features.
>  * … and it's still the small 19KB that you've come to expect.
>
> More information can be found here:
> http://jquery.com/blog/2007/01/08/jquery-11a/
>
> You can download the code here:
> http://jquery.com/src/jquery-1.1a.js
>
> And submit a new bug report here:
> http://jquery.com/dev/bugs/new/
>
> Please post any bugs that you find to the bug tracker, and any
> comments that you have to this thread, or to the blog post. Thanks!
>
> --John
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>   
After having a quick look at the new documentation, much clearer now 
too, i must say it had to be hard work to realize all those things to 
make working with jQuery easier than before and more powerful with less 
code.

I bow my head/ take make hat off for all the people who worked on it.

-- 
David Duymelinck

[EMAIL PROTECTED]


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


Re: [jQuery] jQuery 1.1a

2007-01-07 Thread Yehuda Katz

First bug (let me know if I'm crazy):

$("garbage")[0] returns window, not undefined as I'd expect.

-- Yehuda

On 1/8/07, John Resig <[EMAIL PROTECTED]> wrote:


Hi Everyone -

We've just pushed jQuery 1.1a live. This is a testing release - so
your help would be appreciated in testing it out and finding any bugs.
1.1 will be released this weekend (January 14th).

Here's the quick-and-dirty on jQuery 1.1:
* Its selectors are 10-20x faster than those in jQuery 1.0.4.
* The documentation has been completely revamped.
   http://docs.jquery.com/
* The complexity of the API has dropped by 47%.
* It has a ton of bug fixes.
* It has a bunch of great new features.
* … and it's still the small 19KB that you've come to expect.

More information can be found here:
http://jquery.com/blog/2007/01/08/jquery-11a/

You can download the code here:
http://jquery.com/src/jquery-1.1a.js

And submit a new bug report here:
http://jquery.com/dev/bugs/new/

Please post any bugs that you find to the bug tracker, and any
comments that you have to this thread, or to the blog post. Thanks!

--John

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





--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jQuery 1.1a

2007-01-07 Thread John Resig
Hi Everyone -

We've just pushed jQuery 1.1a live. This is a testing release - so
your help would be appreciated in testing it out and finding any bugs.
1.1 will be released this weekend (January 14th).

Here's the quick-and-dirty on jQuery 1.1:
 * Its selectors are 10-20x faster than those in jQuery 1.0.4.
 * The documentation has been completely revamped.
   http://docs.jquery.com/
 * The complexity of the API has dropped by 47%.
 * It has a ton of bug fixes.
 * It has a bunch of great new features.
 * … and it's still the small 19KB that you've come to expect.

More information can be found here:
http://jquery.com/blog/2007/01/08/jquery-11a/

You can download the code here:
http://jquery.com/src/jquery-1.1a.js

And submit a new bug report here:
http://jquery.com/dev/bugs/new/

Please post any bugs that you find to the bug tracker, and any
comments that you have to this thread, or to the blog post. Thanks!

--John

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


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Yehuda Katz

it's a silly offset() exception that doesn't work when you don't give it
elements. That's not normal jQuery behavior and, imho, should be changed.

-- Yehuda

On 1/7/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote:


Hey Yehuda,

Very cool stuff! But I get the following error in Firefox whenever I click
on the blue arrow in the header that points to the right:

uncaught exception: jQuery.fn.offset requires an element. (no line #
given)

It happens in IE (and, given the message, I would assume others as well)
too, but with a much less helpful error message. Strangely, the (very cool)
effect doesn't seem to be affected by this at all.

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com

On 1/7/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
> I've been listening to all of the feedback I've gotten about Visual
> jQuery, and I've built a new version that I believe responds to many of
> those concerns:
> * a dramatically reduced title-bar (20px high)
> * a "path" in the titlebar indicating the current location in the API
> tree
> * the "text" area takes up the full remaining area of the screen
> * if the "text" area is less than 350px wide, it expands a column,
> pushing the remaining columns to the left
> * you can move columns off to the left to get more space for text (even
> if it has not automatically expanded)
> * selecting an node automatically jumps up to the top of the screen
> (specifically useful for automatically getting to the top of "text" areas)
> * the rendering is done differently, so the normal drawbacks of nesting
> are no longer present
>
> Check it out at:
>
> http://www.visualjquery.com/new.html
>
> Note that there are still some bugs, so I won't get upset if you report
> them. Just tell me exactly what you did and what went wrong.
>
> --
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/






--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Aaron Heimlich

One other thing:

It only happens when you're NOT looking at the docs for a particular
function.

On 1/7/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote:


Hey Yehuda,

Very cool stuff! But I get the following error in Firefox whenever I click
on the blue arrow in the header that points to the right:

uncaught exception: jQuery.fn.offset requires an element. (no line #
given)

It happens in IE (and, given the message, I would assume others as well)
too, but with a much less helpful error message. Strangely, the (very cool)
effect doesn't seem to be affected by this at all.

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com

On 1/7/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
> I've been listening to all of the feedback I've gotten about Visual
> jQuery, and I've built a new version that I believe responds to many of
> those concerns:
> * a dramatically reduced title-bar (20px high)
> * a "path" in the titlebar indicating the current location in the API
> tree
> * the "text" area takes up the full remaining area of the screen
> * if the "text" area is less than 350px wide, it expands a column,
> pushing the remaining columns to the left
> * you can move columns off to the left to get more space for text (even
> if it has not automatically expanded)
> * selecting an node automatically jumps up to the top of the screen
> (specifically useful for automatically getting to the top of "text" areas)
> * the rendering is done differently, so the normal drawbacks of nesting
> are no longer present
>
> Check it out at:
>
> http://www.visualjquery.com/new.html
>
> Note that there are still some bugs, so I won't get upset if you report
> them. Just tell me exactly what you did and what went wrong.
>
> --
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>



--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Aaron Heimlich

Hey Yehuda,

Very cool stuff! But I get the following error in Firefox whenever I click
on the blue arrow in the header that points to the right:

uncaught exception: jQuery.fn.offset requires an element. (no line # given)

It happens in IE (and, given the message, I would assume others as well)
too, but with a much less helpful error message. Strangely, the (very cool)
effect doesn't seem to be affected by this at all.

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com

On 1/7/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:


Hey guys,

I've been listening to all of the feedback I've gotten about Visual
jQuery, and I've built a new version that I believe responds to many of
those concerns:
* a dramatically reduced title-bar (20px high)
* a "path" in the titlebar indicating the current location in the API tree
* the "text" area takes up the full remaining area of the screen
* if the "text" area is less than 350px wide, it expands a column, pushing
the remaining columns to the left
* you can move columns off to the left to get more space for text (even if
it has not automatically expanded)
* selecting an node automatically jumps up to the top of the screen
(specifically useful for automatically getting to the top of "text" areas)
* the rendering is done differently, so the normal drawbacks of nesting
are no longer present

Check it out at:

http://www.visualjquery.com/new.html

Note that there are still some bugs, so I won't get upset if you report
them. Just tell me exactly what you did and what went wrong.

--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



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


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Yehuda Katz

You can IM me at outlookeic.

-- Yehuda

On 1/7/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:


I understand about browsers stuck at xsl 1, and when you try something
new... they break!
Do you have a handle on the incompatibility or do you need some xsl
help? I've written some mean xsl 2 code, that won't run on any
browser, but makes some pleasant xhtml.

PS
I read every line of the original xsl, and loved it!

On 1/7/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> Mozilla wasn't liking the XSL sheet this time around, so I'm doing the
> transform through Oxygen. I'm going to be finding a better solution to
> automate this thing better.
>
> I'm also going to be releasing an offline version in the near future in
> conjunction with jQuery 1.1.
>
> Regarding the Methods plugin, I'm in favor of a new "@plugin" doc tag
that
> would allow plugins that extended core functionality to be placed inside
the
> main API, but that I could set off with a different color (red?) inside.
I
> would not use it extensively, because it could be confusing, but there
are
> certain situations where plugins are adequately "official" to be in the
main
> API.
>
> -- Yehuda
>
>
> On 1/7/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> > It's beautiful! Your site has always been my first stop for reading
the
> docs!
> >
> > is it still xsl based? Did you have to do it offline because of xsl 2
> stuff?
> >
> > On 1/7/07, Yehuda Katz < [EMAIL PROTECTED]> wrote:
> > > Hey guys,
> > >
> > > I've been listening to all of the feedback I've gotten about Visual
> jQuery,
> > > and I've built a new version that I believe responds to many of
those
> > > concerns:
> > > * a dramatically reduced title-bar (20px high)
> > > * a "path" in the titlebar indicating the current location in the
API
> tree
> > > * the "text" area takes up the full remaining area of the screen
> > > * if the "text" area is less than 350px wide, it expands a column,
> pushing
> > > the remaining columns to the left
> > > * you can move columns off to the left to get more space for text
(even
> if
> > > it has not automatically expanded)
> > > * selecting an node automatically jumps up to the top of the screen
> > > (specifically useful for automatically getting to the top of "text"
> areas)
> > > * the rendering is done differently, so the normal drawbacks of
nesting
> are
> > > no longer present
> > >
> > > Check it out at:
> > >
> > > http://www.visualjquery.com/new.html
> > >
> > >  Note that there are still some bugs, so I won't get upset if you
report
> > > them. Just tell me exactly what you did and what went wrong.
> > >
> > > --
> > > Yehuda Katz
> > > Web Developer | Wycats Designs
> > > (ph)  718.877.1325
> > > ___
> > > jQuery mailing list
> > > discuss@jquery.com
> > > http://jquery.com/discuss/
> > >
> > >
> > >
> >
> >
> > --
> > Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
> > ___
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
>
>
>
> --
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>


--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/





--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Ⓙⓐⓚⓔ
I understand about browsers stuck at xsl 1, and when you try something
new... they break!
Do you have a handle on the incompatibility or do you need some xsl
help? I've written some mean xsl 2 code, that won't run on any
browser, but makes some pleasant xhtml.

PS
I read every line of the original xsl, and loved it!

On 1/7/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> Mozilla wasn't liking the XSL sheet this time around, so I'm doing the
> transform through Oxygen. I'm going to be finding a better solution to
> automate this thing better.
>
> I'm also going to be releasing an offline version in the near future in
> conjunction with jQuery 1.1.
>
> Regarding the Methods plugin, I'm in favor of a new "@plugin" doc tag that
> would allow plugins that extended core functionality to be placed inside the
> main API, but that I could set off with a different color (red?) inside. I
> would not use it extensively, because it could be confusing, but there are
> certain situations where plugins are adequately "official" to be in the main
> API.
>
> -- Yehuda
>
>
> On 1/7/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> > It's beautiful! Your site has always been my first stop for reading the
> docs!
> >
> > is it still xsl based? Did you have to do it offline because of xsl 2
> stuff?
> >
> > On 1/7/07, Yehuda Katz < [EMAIL PROTECTED]> wrote:
> > > Hey guys,
> > >
> > > I've been listening to all of the feedback I've gotten about Visual
> jQuery,
> > > and I've built a new version that I believe responds to many of those
> > > concerns:
> > > * a dramatically reduced title-bar (20px high)
> > > * a "path" in the titlebar indicating the current location in the API
> tree
> > > * the "text" area takes up the full remaining area of the screen
> > > * if the "text" area is less than 350px wide, it expands a column,
> pushing
> > > the remaining columns to the left
> > > * you can move columns off to the left to get more space for text (even
> if
> > > it has not automatically expanded)
> > > * selecting an node automatically jumps up to the top of the screen
> > > (specifically useful for automatically getting to the top of "text"
> areas)
> > > * the rendering is done differently, so the normal drawbacks of nesting
> are
> > > no longer present
> > >
> > > Check it out at:
> > >
> > > http://www.visualjquery.com/new.html
> > >
> > >  Note that there are still some bugs, so I won't get upset if you report
> > > them. Just tell me exactly what you did and what went wrong.
> > >
> > > --
> > > Yehuda Katz
> > > Web Developer | Wycats Designs
> > > (ph)  718.877.1325
> > > ___
> > > jQuery mailing list
> > > discuss@jquery.com
> > > http://jquery.com/discuss/
> > >
> > >
> > >
> >
> >
> > --
> > Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
> > ___
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
>
>
>
> --
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Allan Mullan
Excellent work - Looks great. As Karl mentioned, having a wider content 
area makes it look alot neater.

Allan



Yehuda Katz wrote:
> Mozilla wasn't liking the XSL sheet this time around, so I'm doing the 
> transform through Oxygen. I'm going to be finding a better solution to 
> automate this thing better.
>
> I'm also going to be releasing an offline version in the near future 
> in conjunction with jQuery 1.1.
>
> Regarding the Methods plugin, I'm in favor of a new "@plugin" doc tag 
> that would allow plugins that extended core functionality to be placed 
> inside the main API, but that I could set off with a different color 
> (red?) inside. I would not use it extensively, because it could be 
> confusing, but there are certain situations where plugins are 
> adequately "official" to be in the main API.
>
> -- Yehuda
>
> On 1/7/07, *Ⓙⓐⓚⓔ* <[EMAIL PROTECTED] > 
> wrote:
>
> It's beautiful! Your site has always been my first stop for
> reading the docs!
>
> is it still xsl based? Did you have to do it offline because of
> xsl 2 stuff?
>
> On 1/7/07, Yehuda Katz < [EMAIL PROTECTED]
> > wrote:
> > Hey guys,
> >
> > I've been listening to all of the feedback I've gotten about
> Visual jQuery,
> > and I've built a new version that I believe responds to many of
> those
> > concerns:
> > * a dramatically reduced title-bar (20px high)
> > * a "path" in the titlebar indicating the current location in
> the API tree
> > * the "text" area takes up the full remaining area of the screen
> > * if the "text" area is less than 350px wide, it expands a
> column, pushing
> > the remaining columns to the left
> > * you can move columns off to the left to get more space for
> text (even if
> > it has not automatically expanded)
> > * selecting an node automatically jumps up to the top of the screen
> > (specifically useful for automatically getting to the top of
> "text" areas)
> > * the rendering is done differently, so the normal drawbacks of
> nesting are
> > no longer present
> >
> > Check it out at:
> >
> > http://www.visualjquery.com/new.html
> >
> >  Note that there are still some bugs, so I won't get upset if
> you report
> > them. Just tell me exactly what you did and what went wrong.
> >
> > --
> > Yehuda Katz
> > Web Developer | Wycats Designs
> > (ph)  718.877.1325
> > ___
> > jQuery mailing list
> > discuss@jquery.com 
> > http://jquery.com/discuss/
> >
> >
> >
>
>
> --
> Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
> ___
> jQuery mailing list
> discuss@jquery.com 
> http://jquery.com/discuss/
>
>
>
>
> -- 
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> 
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>   


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


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Yehuda Katz

Mozilla wasn't liking the XSL sheet this time around, so I'm doing the
transform through Oxygen. I'm going to be finding a better solution to
automate this thing better.

I'm also going to be releasing an offline version in the near future in
conjunction with jQuery 1.1.

Regarding the Methods plugin, I'm in favor of a new "@plugin" doc tag that
would allow plugins that extended core functionality to be placed inside the
main API, but that I could set off with a different color (red?) inside. I
would not use it extensively, because it could be confusing, but there are
certain situations where plugins are adequately "official" to be in the main
API.

-- Yehuda

On 1/7/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:


It's beautiful! Your site has always been my first stop for reading the
docs!

is it still xsl based? Did you have to do it offline because of xsl 2
stuff?

On 1/7/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I've been listening to all of the feedback I've gotten about Visual
jQuery,
> and I've built a new version that I believe responds to many of those
> concerns:
> * a dramatically reduced title-bar (20px high)
> * a "path" in the titlebar indicating the current location in the API
tree
> * the "text" area takes up the full remaining area of the screen
> * if the "text" area is less than 350px wide, it expands a column,
pushing
> the remaining columns to the left
> * you can move columns off to the left to get more space for text (even
if
> it has not automatically expanded)
> * selecting an node automatically jumps up to the top of the screen
> (specifically useful for automatically getting to the top of "text"
areas)
> * the rendering is done differently, so the normal drawbacks of nesting
are
> no longer present
>
> Check it out at:
>
> http://www.visualjquery.com/new.html
>
>  Note that there are still some bugs, so I won't get upset if you report
> them. Just tell me exactly what you did and what went wrong.
>
> --
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>


--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/





--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Karl Swedberg
Excellent job, Yehuda! It's looking fantastic! Love the shorter title  
bar and the wider text area.


Looks like Jörn's Methods plugin is showing up in the JavaScript  
section, but unless it's moving into core, it should probably go in  
the Plugins section.


Keep up the great work!


--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Jan 7, 2007, at 10:17 PM, Yehuda Katz wrote:


Hey guys,

I've been listening to all of the feedback I've gotten about Visual  
jQuery, and I've built a new version that I believe responds to  
many of those concerns:

* a dramatically reduced title-bar (20px high)
* a "path" in the titlebar indicating the current location in the  
API tree

* the "text" area takes up the full remaining area of the screen
* if the "text" area is less than 350px wide, it expands a column,  
pushing the remaining columns to the left
* you can move columns off to the left to get more space for text  
(even if it has not automatically expanded)
* selecting an node automatically jumps up to the top of the screen  
(specifically useful for automatically getting to the top of "text"  
areas)
* the rendering is done differently, so the normal drawbacks of  
nesting are no longer present


Check it out at:

http://www.visualjquery.com/new.html

Note that there are still some bugs, so I won't get upset if you  
report them. Just tell me exactly what you did and what went wrong.


--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


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


Re: [jQuery] Visual jQuery Redux

2007-01-07 Thread Ⓙⓐⓚⓔ
It's beautiful! Your site has always been my first stop for reading the docs!

is it still xsl based? Did you have to do it offline because of xsl 2 stuff?

On 1/7/07, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I've been listening to all of the feedback I've gotten about Visual jQuery,
> and I've built a new version that I believe responds to many of those
> concerns:
> * a dramatically reduced title-bar (20px high)
> * a "path" in the titlebar indicating the current location in the API tree
> * the "text" area takes up the full remaining area of the screen
> * if the "text" area is less than 350px wide, it expands a column, pushing
> the remaining columns to the left
> * you can move columns off to the left to get more space for text (even if
> it has not automatically expanded)
> * selecting an node automatically jumps up to the top of the screen
> (specifically useful for automatically getting to the top of "text" areas)
> * the rendering is done differently, so the normal drawbacks of nesting are
> no longer present
>
> Check it out at:
>
> http://www.visualjquery.com/new.html
>
>  Note that there are still some bugs, so I won't get upset if you report
> them. Just tell me exactly what you did and what went wrong.
>
> --
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Visual jQuery Redux

2007-01-07 Thread Yehuda Katz

Hey guys,

I've been listening to all of the feedback I've gotten about Visual jQuery,
and I've built a new version that I believe responds to many of those
concerns:
* a dramatically reduced title-bar (20px high)
* a "path" in the titlebar indicating the current location in the API tree
* the "text" area takes up the full remaining area of the screen
* if the "text" area is less than 350px wide, it expands a column, pushing
the remaining columns to the left
* you can move columns off to the left to get more space for text (even if
it has not automatically expanded)
* selecting an node automatically jumps up to the top of the screen
(specifically useful for automatically getting to the top of "text" areas)
* the rendering is done differently, so the normal drawbacks of nesting are
no longer present

Check it out at:

http://www.visualjquery.com/new.html

Note that there are still some bugs, so I won't get upset if you report
them. Just tell me exactly what you did and what went wrong.

--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] 1.1 specs

2007-01-07 Thread Ⓙⓐⓚⓔ
I think the feature I like most is
- Added attr(String,Function) to calculate the value and support for
attr("key", "${formula}") syntax, a shortcut for the former...

that opens a lot of doors!

On 1/7/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Ⓙⓐⓚⓔ schrieb:
> > that looks sweet... are the specs of 1.1 online anywhere?
> >
> Sort of: http://jquery.com/dev/svn/trunk/jquery/ChangeLog.txt?format=txt
>
> --
> Jörn Zaefferer
>
> http://bassistance.de
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Events bubbling

2007-01-07 Thread Jörn Zaefferer
Ⓙⓐⓚⓔ schrieb:
> that looks sweet... are the specs of 1.1 online anywhere?
>   
Sort of: http://jquery.com/dev/svn/trunk/jquery/ChangeLog.txt?format=txt

-- 
Jörn Zaefferer

http://bassistance.de


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


Re: [jQuery] Dimension plugin updates

2007-01-07 Thread Erik Beeson
Thanks Brandon! For the lazy, get the latest version here:
http://jquery.com/dev/svn/trunk/plugins/dimensions/dimensions.js?format=raw
Or all the files related to the plugin here:
http://jquery.com/dev/svn/trunk/plugins/dimensions/

--Erik

On 1/7/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
> I just finished checking in some major updates to the dimensions plugin.
>
> * Added unit tests
> * Fixed a bug in .innerHeight() and .innerWidth()
> * Major refactor of .offset() method to be faster and fix a couple of bugs
> * Added a test/example/benchmark page for the .offset() method
>
> All of this can be found in SVN but you can try the unit tests for
> yourself here:
> http://brandon.jquery.com/plugins/dimensions/test/unit.html
> http://brandon.jquery.com/plugins/dimensions/test/offset.html
>
> The .offset() method has changed a lot in the name of performance.
> First it takes an optional param called, includeScrollOffsets. By
> default this param is true and will calculate the scroll offsets. The
> returned object will have two extra properties called scrollTop and
> scrollLeft. These two properties are the cumulative scroll offset. If
> the includeScrollOffsets param is set to false, then the scroll offset
> calculation is ignored and that should provide a performance boost.
>
> Even with the changes made getting the offset of an element is a slow
> process. So try and cache the offset value when you can instead of
> calling it lots of times in succession.
>
> There is a bug in Firefox with the .scrollWidth property where it only
> returns width of the visible area, hence the one failure in Firefox. I
> could use some help with this nasty little bug. :)
>
> If you find any bugs or have a feature request feel free to log them
> and set the component to dimensions. http://jquery.com/dev/bugs/new/
>
> --
> Brandon Aaron
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

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


Re: [jQuery] Events bubbling

2007-01-07 Thread Ⓙⓐⓚⓔ
that looks sweet... are the specs of 1.1 online anywhere?

On 1/7/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Fabien Meghazi schrieb:
> >> $('#foo').mouseout(function(e) {
> >>if (this == e.target) {
> >>  // do your magic
> >>}
> >> }
> >>
> >> In essence, check that the item being moused out of is in fact the
> >> item that the handler is attached to.
> >>
> >
> > Wow ! Thanks a lot ! It is indeed what I'm searching for.
> > By any chance, is it possible to delete the event ?
> > I could use .onemouseout() but I wonder if there's a way to do it
> > manually (not that I need to do it manually but it's just to add
> > something more in my knowledge ;-)
> >
> > So instead of doing unbind() that would erase other events, how could I do :
> > $('#foo').mouseout(function(e) {
> >if (this == e.target) {
> >  // code here
> >  // and here, unbind the element know as variable "e" in this scope
> >}
> > }
> >
> In 1.1 you can do this:
>
> $('#foo').mouseout(function(e) {
> if(this == e.target) {
> $(this).unbind(e);
> }
> });
>
> You have to be patient for a few days ;)
>
> --
> Jörn Zaefferer
>
> http://bassistance.de
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Splitter - here's my shot at it

2007-01-07 Thread Dave Methvin
Give this a try.

http://methvin.com/jquery/splitter/

Oskar, it sounds like you may have solved some of the problems with IE6 I
haven't tackled yet. This version doesn't yet handle min-width and max-width
for IE6 but I plan to put it there. Maybe we could join forces on this? It
looks like you've pulled the min-width and max-width support out into its
own plugin, which would be a great way to handle it.


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


Re: [jQuery] Events bubbling

2007-01-07 Thread Jörn Zaefferer
Fabien Meghazi schrieb:
>> $('#foo').mouseout(function(e) {
>>if (this == e.target) {
>>  // do your magic
>>}
>> }
>>
>> In essence, check that the item being moused out of is in fact the
>> item that the handler is attached to.
>> 
>
> Wow ! Thanks a lot ! It is indeed what I'm searching for.
> By any chance, is it possible to delete the event ?
> I could use .onemouseout() but I wonder if there's a way to do it
> manually (not that I need to do it manually but it's just to add
> something more in my knowledge ;-)
>
> So instead of doing unbind() that would erase other events, how could I do :
> $('#foo').mouseout(function(e) {
>if (this == e.target) {
>  // code here
>  // and here, unbind the element know as variable "e" in this scope
>}
> }
>   
In 1.1 you can do this:

$('#foo').mouseout(function(e) {
if(this == e.target) {
$(this).unbind(e);
}
});

You have to be patient for a few days ;)

-- 
Jörn Zaefferer

http://bassistance.de


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


Re: [jQuery] Events bubbling

2007-01-07 Thread Ⓙⓐⓚⓔ
if delete means get rid of that binding forever, unbind('mouseout')
if delete mean don't bother with the event anymore, jquery's
e.stopPropagation() should do it.

We've learned a lot in this thread!



On 1/7/07, Fabien Meghazi <[EMAIL PROTECTED]> wrote:
> > $('#foo').mouseout(function(e) {
> >if (this == e.target) {
> >  // do your magic
> >}
> > }
> >
> > In essence, check that the item being moused out of is in fact the
> > item that the handler is attached to.
>
> Wow ! Thanks a lot ! It is indeed what I'm searching for.
> By any chance, is it possible to delete the event ?
> I could use .onemouseout() but I wonder if there's a way to do it
> manually (not that I need to do it manually but it's just to add
> something more in my knowledge ;-)
>
> So instead of doing unbind() that would erase other events, how could I do :
> $('#foo').mouseout(function(e) {
>if (this == e.target) {
>  // code here
>  // and here, unbind the element know as variable "e" in this scope
>}
> }
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Dimension plugin updates

2007-01-07 Thread Brandon Aaron
I just finished checking in some major updates to the dimensions plugin.

* Added unit tests
* Fixed a bug in .innerHeight() and .innerWidth()
* Major refactor of .offset() method to be faster and fix a couple of bugs
* Added a test/example/benchmark page for the .offset() method

All of this can be found in SVN but you can try the unit tests for
yourself here:
http://brandon.jquery.com/plugins/dimensions/test/unit.html
http://brandon.jquery.com/plugins/dimensions/test/offset.html

The .offset() method has changed a lot in the name of performance.
First it takes an optional param called, includeScrollOffsets. By
default this param is true and will calculate the scroll offsets. The
returned object will have two extra properties called scrollTop and
scrollLeft. These two properties are the cumulative scroll offset. If
the includeScrollOffsets param is set to false, then the scroll offset
calculation is ignored and that should provide a performance boost.

Even with the changes made getting the offset of an element is a slow
process. So try and cache the offset value when you can instead of
calling it lots of times in succession.

There is a bug in Firefox with the .scrollWidth property where it only
returns width of the visible area, hence the one failure in Firefox. I
could use some help with this nasty little bug. :)

If you find any bugs or have a feature request feel free to log them
and set the component to dimensions. http://jquery.com/dev/bugs/new/

--
Brandon Aaron

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


Re: [jQuery] jQuery extension for Firefox

2007-01-07 Thread Jörn Zaefferer
Dan Atkinson schrieb:
> Hey all!
>
> I'm currently in the review process for an extension which basically puts
> jQuery on EVERY page. I did it after reading something on learningjquery
> which uses a bookmarklet.
>
> I'm pretty sure that there will be issues surrounding it (GMail had a weird,
> long button when I put jquery on my inbox), but it's more for developers
> right now anyway. Maybe future things would something like a blacklist,
> where sites you don't want adding will be excluded. Alternately, sites you
> want to add could be whitelisted.
>
> Anyway, it's just something which could be useful. I'm not sure if anyone
> will use it.
>   
I like the idea: I could sort tables instantly on any page on the web, 
no matter whether they provide server-based sorting or non at all.

Integration into Firebug would be very sexy: Press Ctrl+Shift+C to 
active inspect-mode, click an element, and apply any jQuery plugin to it 
(like the tablesorter).

-- 
Jörn Zaefferer

http://bassistance.de


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


Re: [jQuery] Events bubbling

2007-01-07 Thread Fabien Meghazi
> $('#foo').mouseout(function(e) {
>if (this == e.target) {
>  // do your magic
>}
> }
>
> In essence, check that the item being moused out of is in fact the
> item that the handler is attached to.

Wow ! Thanks a lot ! It is indeed what I'm searching for.
By any chance, is it possible to delete the event ?
I could use .onemouseout() but I wonder if there's a way to do it
manually (not that I need to do it manually but it's just to add
something more in my knowledge ;-)

So instead of doing unbind() that would erase other events, how could I do :
$('#foo').mouseout(function(e) {
   if (this == e.target) {
 // code here
 // and here, unbind the element know as variable "e" in this scope
   }
}

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


Re: [jQuery] insert HTML and then append loaded HTML file

2007-01-07 Thread insq

Thanks, that worked!


Brandon Aaron wrote:
> 
> Well if you want to replace the HTML within the div you should use
> .html() but if you want to just add some HTML to the div then you
> should use .append() or .prepend().
> 
> So if you first .load() and then in the callback do a .prepend() to
> add HTML to the top of the div that should solve the problem.
> 
> --
> Brandon Aaron
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/insert-HTML-and-then-append-loaded-HTML-file-tf2935505.html#a8208639
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Events bubbling

2007-01-07 Thread Jonathan Chaffer
On Jan 5, 2007, at 17:30 , Fabien Meghazi wrote:

> I'm trying to have a div displayed over the link when we click on it.
> When we mouse over the displayed div, I want it to disapear.
> My problem is that in the div I have many elements and some links.
> When the mouse come over a link, the mouseout event of the parent div
> is triggered.
> I want to avoid that. How can I do ?
>
> PS: Already tried stopPropagation()

There are two directions from which to approach this problem. One is  
to cause the child elements to stop event propagation, as you have  
been discussing. Sometimes, though, it might be more convenient to  
alter the parent handler with an extra test instead of putting the  
safeguard in the child elements. In addition to  
fixing .stopPropagation() so that it is cross-browser, jQuery makes  
the .target attribute available regardless of platform. So you might  
write

$('#foo').mouseout(function(e) {
   if (this == e.target) {
 // do your magic
   }
}

In essence, check that the item being moused out of is in fact the  
item that the handler is attached to.

--
Jonathan Chaffer
Technology Officer, Structure Interactive
(616) 364-7423http://www.structureinteractive.com/




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


Re: [jQuery] jQuery extension for Firefox

2007-01-07 Thread Arrix

Great idea!
The extension should be able to provide different versions of jQuery.
And something off the topic, so far jQuery is popular in web page
development, I wish Firefox extension development could benefit from jQuery
too.

On 1/8/07, Dan Atkinson <[EMAIL PROTECTED]> wrote:



I suppose that the inclusion of jQuery in each and every web page is in my
aim of providing jQuery-using plugins inside the browser, rather than a
single website.

The Wordpress plugin is borne out of intense frustration with the powers
that be behind it. In their short-sightedness, they're forcing Prototype
upon people, and I don't agree with it. So I'm going to do everything I
can
to put jQuery into Wordpress as easily as possible.


Rey Bango-2 wrote:
>
> This sounds very cool Dan. In terms of including jQuery on every page,
> what are the applicabilities? Can you give some examples of usage? This
> would be very helpful in our jQuery evangelism efforts and will help me
> tell users how to best use this.
>
> The Wordpress plugin is also a great idea and will certainly help expand
> jQuery's reach. Great work man!
>
> Rey
>
> Dan Atkinson wrote:
>> Hey all!
>>
>> I'm currently in the review process for an extension which basically
puts
>> jQuery on EVERY page. I did it after reading something on
learningjquery
>> which uses a bookmarklet.
>>
>> I'm pretty sure that there will be issues surrounding it (GMail had a
>> weird,
>> long button when I put jquery on my inbox), but it's more for
developers
>> right now anyway. Maybe future things would something like a blacklist,
>> where sites you don't want adding will be excluded. Alternately, sites
>> you
>> want to add could be whitelisted.
>>
>> Anyway, it's just something which could be useful. I'm not sure if
anyone
>> will use it.
>>
>>
>> In further news, after a long and interesting discussion with the owner
>> of
>> geekgrl.net, we have decided to join together to write a
>> 'Wordpress-compatible jQuery plugin library' plugin. We're basically
>> going
>> to go through a lot of plugins and check their general compatibility
with
>> Prototype, as of v2.1 Wordpress, will be forcing Prototype on its
users.
>> Initial tests on the SVN show that it won't matter too though, but the
>> idea
>> of extending jQuery through an easy to use Wordpress plugin is too good
>> to
>> wave off.
>>
>> We've had some ideas on what to do:
>> * Create a repository which gets a list of all available compatible
>> plugins
>> for the user. If they're on a Windows server, they'll be pointed to a
>> page
>> to download the file. If it's a Linux server, it should be able to be
>> uploaded automatically without any fuss.
>> * Wrap the extensions in their own zipped format initially (like XPIs),
>> so
>> the user doesn't have to deal with which file goes where. We'll do the
>> job
>> of unzipping and placing the file/s in the right location.
>>
>>
>> Any helpful suggestions, or ideas are more than welcome!
>>
>> Cheers,
>>
>> Dan
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>

--
View this message in context:
http://www.nabble.com/jQuery-extension-for-Firefox-tf2934403.html#a8207058
Sent from the JQuery mailing list archive at Nabble.com.


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





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


Re: [jQuery] insert HTML and then append loaded HTML file

2007-01-07 Thread Brandon Aaron
Well if you want to replace the HTML within the div you should use
.html() but if you want to just add some HTML to the div then you
should use .append() or .prepend().

So if you first .load() and then in the callback do a .prepend() to
add HTML to the top of the div that should solve the problem.

--
Brandon Aaron

On 1/7/07, insq <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I've been stuck for a moment trying to do as following:
>
> 1) Insert the specified HTML code to a div
> 2) Append whole content of the specified HTML file to the same div.
>
> As for know I may only do one of these points. Can't combine them together.
>
> Any suggestions how to easily combine load() and html()?
>
> Cheers
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/insert-HTML-and-then-append-loaded-HTML-file-tf2935505.html#a8206995
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

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


Re: [jQuery] Need Advise

2007-01-07 Thread Brandon Aaron
Have you tried to use the .hover() event? You can find the docs for it
at http://jquery.com/api/ and then click on 'H' or via
http://visualjquery.com/ and click on 'events' and then 'hover'

--
Brandon Aaron

On 1/7/07, Sanyi <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a site:
>
> http://mumor.freeweb.hu/gocsej/
>
> on the left side there is a menu, left beside there is a picture with
> transparent gif's to emulate some stonemovings. I used normal Javascript and
> Jquery mix on the mouseover and mouseout event to handle the hovering event.
> But when you run the mouse fast over the images, then at the currently
> standing menuitem the stone begins to flicker, passing all the events to the
> current image link.
>
> My question were, if is there any possibility to use only Jquery for this
> hovering event passing away this flickering?
> I tried many things with settimeout and stop it, but I couldn't solve this
> flickering about it's assinkron behaviour.
>
> thx forwarldy
> Alex
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>

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


[jQuery] Need Advise

2007-01-07 Thread Sanyi

Hi All,

I have a site:

http://mumor.freeweb.hu/gocsej/

on the left side there is a menu, left beside there is a picture with
transparent gif's to emulate some stonemovings. I used normal Javascript and
Jquery mix on the mouseover and mouseout event to handle the hovering event.
But when you run the mouse fast over the images, then at the currently
standing menuitem the stone begins to flicker, passing all the events to the
current image link.

My question were, if is there any possibility to use only Jquery for this
hovering event passing away this flickering?
I tried many things with settimeout and stop it, but I couldn't solve this
flickering about it's assinkron behaviour.

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


Re: [jQuery] jQuery extension for Firefox

2007-01-07 Thread Dan Atkinson

I suppose that the inclusion of jQuery in each and every web page is in my
aim of providing jQuery-using plugins inside the browser, rather than a
single website.

The Wordpress plugin is borne out of intense frustration with the powers
that be behind it. In their short-sightedness, they're forcing Prototype
upon people, and I don't agree with it. So I'm going to do everything I can
to put jQuery into Wordpress as easily as possible.


Rey Bango-2 wrote:
> 
> This sounds very cool Dan. In terms of including jQuery on every page, 
> what are the applicabilities? Can you give some examples of usage? This 
> would be very helpful in our jQuery evangelism efforts and will help me 
> tell users how to best use this.
> 
> The Wordpress plugin is also a great idea and will certainly help expand 
> jQuery's reach. Great work man!
> 
> Rey
> 
> Dan Atkinson wrote:
>> Hey all!
>> 
>> I'm currently in the review process for an extension which basically puts
>> jQuery on EVERY page. I did it after reading something on learningjquery
>> which uses a bookmarklet.
>> 
>> I'm pretty sure that there will be issues surrounding it (GMail had a
>> weird,
>> long button when I put jquery on my inbox), but it's more for developers
>> right now anyway. Maybe future things would something like a blacklist,
>> where sites you don't want adding will be excluded. Alternately, sites
>> you
>> want to add could be whitelisted.
>> 
>> Anyway, it's just something which could be useful. I'm not sure if anyone
>> will use it.
>> 
>> 
>> In further news, after a long and interesting discussion with the owner
>> of
>> geekgrl.net, we have decided to join together to write a
>> 'Wordpress-compatible jQuery plugin library' plugin. We're basically
>> going
>> to go through a lot of plugins and check their general compatibility with
>> Prototype, as of v2.1 Wordpress, will be forcing Prototype on its users.
>> Initial tests on the SVN show that it won't matter too though, but the
>> idea
>> of extending jQuery through an easy to use Wordpress plugin is too good
>> to
>> wave off.
>> 
>> We've had some ideas on what to do:
>> * Create a repository which gets a list of all available compatible
>> plugins
>> for the user. If they're on a Windows server, they'll be pointed to a
>> page
>> to download the file. If it's a Linux server, it should be able to be
>> uploaded automatically without any fuss.
>> * Wrap the extensions in their own zipped format initially (like XPIs),
>> so
>> the user doesn't have to deal with which file goes where. We'll do the
>> job
>> of unzipping and placing the file/s in the right location.
>> 
>> 
>> Any helpful suggestions, or ideas are more than welcome!
>> 
>> Cheers,
>> 
>> Dan
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jQuery-extension-for-Firefox-tf2934403.html#a8207058
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] insert HTML and then append loaded HTML file

2007-01-07 Thread insq

Hello,

I've been stuck for a moment trying to do as following:

1) Insert the specified HTML code to a div 
2) Append whole content of the specified HTML file to the same div.

As for know I may only do one of these points. Can't combine them together.

Any suggestions how to easily combine load() and html()?

Cheers



-- 
View this message in context: 
http://www.nabble.com/insert-HTML-and-then-append-loaded-HTML-file-tf2935505.html#a8206995
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jQuery extension for Firefox

2007-01-07 Thread Rey Bango
This sounds very cool Dan. In terms of including jQuery on every page, 
what are the applicabilities? Can you give some examples of usage? This 
would be very helpful in our jQuery evangelism efforts and will help me 
tell users how to best use this.

The Wordpress plugin is also a great idea and will certainly help expand 
jQuery's reach. Great work man!

Rey

Dan Atkinson wrote:
> Hey all!
> 
> I'm currently in the review process for an extension which basically puts
> jQuery on EVERY page. I did it after reading something on learningjquery
> which uses a bookmarklet.
> 
> I'm pretty sure that there will be issues surrounding it (GMail had a weird,
> long button when I put jquery on my inbox), but it's more for developers
> right now anyway. Maybe future things would something like a blacklist,
> where sites you don't want adding will be excluded. Alternately, sites you
> want to add could be whitelisted.
> 
> Anyway, it's just something which could be useful. I'm not sure if anyone
> will use it.
> 
> 
> In further news, after a long and interesting discussion with the owner of
> geekgrl.net, we have decided to join together to write a
> 'Wordpress-compatible jQuery plugin library' plugin. We're basically going
> to go through a lot of plugins and check their general compatibility with
> Prototype, as of v2.1 Wordpress, will be forcing Prototype on its users.
> Initial tests on the SVN show that it won't matter too though, but the idea
> of extending jQuery through an easy to use Wordpress plugin is too good to
> wave off.
> 
> We've had some ideas on what to do:
> * Create a repository which gets a list of all available compatible plugins
> for the user. If they're on a Windows server, they'll be pointed to a page
> to download the file. If it's a Linux server, it should be able to be
> uploaded automatically without any fuss.
> * Wrap the extensions in their own zipped format initially (like XPIs), so
> the user doesn't have to deal with which file goes where. We'll do the job
> of unzipping and placing the file/s in the right location.
> 
> 
> Any helpful suggestions, or ideas are more than welcome!
> 
> Cheers,
> 
> Dan

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


Re: [jQuery] :input selector (solved)

2007-01-07 Thread Christopher Jordan
Kelvin: I should have known that syntax was available. I use it all the 
time in ColdFusion, but didn't realize I could use it in JavaScript too. 
I know to avoid eval, but thought I had no choice in this case. You can 
be sure I'll use this method! :o)


Klaus: Thanks so much for your comments on this subject too.

You guys are so awesome! I learn something new *every* day! :o)

Cheers,
Chris

Kelvin Luck wrote:

var obj = new Object;
// all inputs of type text, hidden, select and textarea

$("input:text,input:hidden,select,textarea").each(function(){

eval("obj." + this.name + " = '" + this.value + "';");
});



Or even:

var obj = {};
$("input:text,input:hidden,select,textarea").each(function(){
obj[this.name] = this.value;
});

This solution avoids using eval because:

* It will still work if one of your values has a single quote (') in.
* It is faster (I think?) and cleaner.


Hope that helps,

Kelvin :)

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

  


--
http://cjordan.info

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


[jQuery] jQuery extension for Firefox

2007-01-07 Thread Dan Atkinson

Hey all!

I'm currently in the review process for an extension which basically puts
jQuery on EVERY page. I did it after reading something on learningjquery
which uses a bookmarklet.

I'm pretty sure that there will be issues surrounding it (GMail had a weird,
long button when I put jquery on my inbox), but it's more for developers
right now anyway. Maybe future things would something like a blacklist,
where sites you don't want adding will be excluded. Alternately, sites you
want to add could be whitelisted.

Anyway, it's just something which could be useful. I'm not sure if anyone
will use it.


In further news, after a long and interesting discussion with the owner of
geekgrl.net, we have decided to join together to write a
'Wordpress-compatible jQuery plugin library' plugin. We're basically going
to go through a lot of plugins and check their general compatibility with
Prototype, as of v2.1 Wordpress, will be forcing Prototype on its users.
Initial tests on the SVN show that it won't matter too though, but the idea
of extending jQuery through an easy to use Wordpress plugin is too good to
wave off.

We've had some ideas on what to do:
* Create a repository which gets a list of all available compatible plugins
for the user. If they're on a Windows server, they'll be pointed to a page
to download the file. If it's a Linux server, it should be able to be
uploaded automatically without any fuss.
* Wrap the extensions in their own zipped format initially (like XPIs), so
the user doesn't have to deal with which file goes where. We'll do the job
of unzipping and placing the file/s in the right location.


Any helpful suggestions, or ideas are more than welcome!

Cheers,

Dan
-- 
View this message in context: 
http://www.nabble.com/jQuery-extension-for-Firefox-tf2934403.html#a8204060
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] :input selector (solved)

2007-01-07 Thread Klaus Hartl
Christopher Jordan schrieb:
> Yeah, that's actually where I found my answer Klaus. I'm a bit 
> embarrassed that I basically posted the question a second time. It 
> didn't immediately occur to me that I could do the same thing with 
> "input:type" that I could with ".classA". I'm not a css stud so I guess 
> I didn't think of the index:type syntax as being a css selector... what 
> I did think it was, I have no idea. :o'
> 
> Well, I appreciate everyone's patience with me.
> 
> The upshot of all this is that I managed to condense what would have 
> taken at least one-hundred lines of code down to only three... well one 
> really, except that I like to split things out on to separate lines. The 
> idea was to gather all the form fields and put their values in an object 
> such that I could pass all the variables in one single structure. Here's 
> what I ended up with:
> 
> var obj = new Object;
> // all inputs of type text, hidden, select and textarea
> 
> $("input:text,input:hidden,select,textarea").each(function(){
> eval("obj." + this.name + " = '" + this.value + "';");
> });
> Very nice. Simple. Clean. Thank you, thank you, thank you jQuery! ... 
> and all you guys who help me with my questions no matter how basic. I am 
> learning, and I use more and more jQuery every day! :o)
> 
> Thanks heaps!
> Chris

Avoid eval whenever possible...

obj[this.name] = this.value


-- Klaus

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


Re: [jQuery] Events bubbling

2007-01-07 Thread Jörn Zaefferer
Ⓙⓐⓚⓔ schrieb:
> the simple way to stop bubbling is to return false.
> the only time I needed anything else was to activate the href after
> the click got caught.
>   if (!e) {
>   var e = window.event
>   e.cancelBubble = true
>   } else if (e.stopPropagation)
>   e.stopPropagation()
>
> is often overkill.
>   
jQuery provides an event object and both stopPropagation and 
preventDefault methods to your event handlers. The above code can be 
reduced to this "e.stopPropagation();"

-- 
Jörn Zaefferer

http://bassistance.de


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


Re: [jQuery] :input selector (solved)

2007-01-07 Thread Kelvin Luck
> 
> var obj = new Object;
> // all inputs of type text, hidden, select and textarea
> 
> $("input:text,input:hidden,select,textarea").each(function(){
> eval("obj." + this.name + " = '" + this.value + "';");
> });

Or even:

var obj = {};
$("input:text,input:hidden,select,textarea").each(function(){
obj[this.name] = this.value;
});

This solution avoids using eval because:

* It will still work if one of your values has a single quote (') in.
* It is faster (I think?) and cleaner.


Hope that helps,

Kelvin :)

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


[jQuery] Double fire

2007-01-07 Thread Bruce MacKay

Hello folks,

Despite my best efforts to understand previous posts about multiple 
firings of functions, I'm still having difficulty with a section of 
code that persists in firing twice.


When a particular section of a page is loaded, a function is 
triggered which completes an ajax call to load a list of radio 
buttons of the structure...


name='iLinkTypeID' value='1' />Standard link
name='iLinkTypeID' id='B' value='4' />for='B'>non-transaction

...etc

This function also contains the code...
$("a.ltype").click(function(){linkType(this.id);});

When one of the list items is clicked, a set of input elements 
appropriate to the item appear as per function linkType...


function linkType(ej) {
temp=ej.split('*');
var ei = temp[1];
$.log(ei);
$("#sNewNodeTitle,#sLinkText").val('');
$("#newlinks,#data1,#data2,#data3).hide();
$("#iLTG").val(ei);
switch(ei) {
case "1":
$("#newlinks,#data1,#data2").show();
break;
case "2":
$("#newlinks,#data1").show();
break;
case "3":
$("#newlinks,#data1,#data3").show();
break;
default:
alert("An unexpected error has occurred!");
}
return false;
};

From the evidence of the console log, this function fires twice each 
time a list item is clicked.


Is there sufficient info here for someone to explain why this is occuring?

Thanks,

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