[jQuery] Is $(document).ready() broken in IE?

2006-09-25 Thread SDisk SDisk
In my old revision of jQuery $Date: 2006-05-02 12:03:07 -0700 all works OK but I downloaded the new revision 1.0.1 and in this simple code:$(document).ready(function(){    userlang = navigator.language? navigator.language
 : navigator.userLanguage;    alert(userlang);});In IE not works, alerts undefined or simply no alerts (window.onload works)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] AJAX module - further suggestions?

2006-09-25 Thread Klaus Hartl


Jörn Zaefferer schrieb:
> Hi folks,
> 
> after the discussion about the global ajax handlers and the question, if 
> the form plugin should be merged into the core, I'd like to know 
> wheather anyone has any other issues, problems or ideas for the AJAX 
> module that can be addressed. Now is the time!
> 
> I'm currently adding lots of tests to make sure that the current code 
> works as documented (eg. timeout doesn't seem to work as expected) and 
> any refactorings won't break existing code. Planned are primarily 
> bugfixes, then the refactoring as proposed by Will 
> (http://jquery.com/dev/bugs/bug/159/), then the mentioned above, merging 
> form and improving the global handlers, eg. allowing to override them.

Hi Jörn,

John made a ticket for a local timeout option, like:

$.ajax({
 ...
 timeout: 5000,
 ...
});

To have that would be nice. See here:
http://jquery.com/dev/bugs/bug/195/

I reported a bug that an unset Last-Modified header breaks Firefox. I'm 
not sure if my proposed fix is sufficient, but I think it is really 
important that this is fixed (If you haven't configured your server to 
set such header, Ajax simply does not work in Firefox 1.0).
http://jquery.com/dev/bugs/bug/165/

I also found, that the only way to load an html fragment with having 
script blocks evaluated is to use the load() method. Shouldn't that work 
with $.ajax and a dataType of "html" as well?. It seems to me, that 
people tend to use $.ajax more and more.

Let me know if I can help out.

> One issue that could use some opinions is this: 
> http://jquery.com/dev/bugs/bug/196/
> Is there anyone who uses jQuery AND XMLHttpRequest directly?

I think what is meant here, is that other libraries do IE browser 
sniffing by checking the XHR object, right?

In my opinion, jQuery shouldn't be responsible for others bad code.


-- Klaus

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


Re: [jQuery] how to get the display value of an element?

2006-09-25 Thread Klaus Hartl


Geoff Knutzen schrieb:
> I am writing a routine that can accept any element.
> 
> I need to determine whether the element is displayed inline, as a box or 
> some other display type.
> 
> Is there a way to determine this if it has not already been set by a style?
> 
> An unstyled A tag should return a display type of inline, while a div 
> tag should return box.
> 
> How can I get this parameter?


A div *node* should return "block" by the way.


$(...).css('display');


-- Klaus

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


Re: [jQuery] Get attribute form $()

2006-09-25 Thread Klaus Hartl


Donny Kurnia schrieb:
> I've got this result while debugging with firebug:
> 
 $("type",line)
> []
 $("type",line).attr("value")
> --result nothing
 $("type",line).get(0)
> 
 $("type",line).get(0).attr("value")
> --result nothing
> 
> How do I got the value attribute from $("type",line) without assign it
> to another variable?
> Why chainable method didn't work for $().get() ??


Because there is no type element in HTML, I assume you process XML here. 
Do you have the proper MIME type set for that?

For XML I'd use getAttribute because val() is shorthand for HTML's value 
attribute and I'm not sure if it works in XML.

I would stick to the traditional DOM methods:

$("type",line)[0].getAttribute("value");

get(0) or the shorthand [0] breaks the chain, because it returns the 
true DOM node you are working with, thus you cannot apply jQuery methods 
anymore.


-- Klaus



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


Re: [jQuery] Get attribute form $()

2006-09-25 Thread Matt Grimm



Or to stay with jQuery objects:
 
$('type', line).eq(0).val()


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Blair 
McKenzieSent: Monday, September 25, 2006 7:53 PMTo: jQuery 
Discussion.Subject: Re: [jQuery] Get attribute form 
$()
I don't know about the other stuff, but get() is the exception to the 
chaining rule - it's purpose is to provide access to the underlying element when 
necessary. Try$("type",line).get(0).value
On 9/26/06, Donny 
Kurnia <[EMAIL PROTECTED]> wrote:
I've 
  got this result while debugging with firebug:>>> 
  $("type",line)[]>>> 
  $("type",line).attr("value")--result nothing >>> 
  $("type",line).get(0)>>> 
  $("type",line).get(0).attr("value")--result nothingHow do I got 
  the value attribute from $("type",line) without assign it to another 
  variable?Why chainable method didn't work for $().get() 
  ??--Donny Kurniahttp://hantulab.multiply.com/http://hantulab.blogspot.com/---At 
  times the world can seem an unfriendly and sinister place. Butbelieve us 
  when we say there is much more good in it than bad. Andwhat might seem to 
  be a series of unfortunate events, may in fact, bethe first steps of a 
  journey.-- A Series of Unfortunate 
  Events___jQuery 
  mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Magazine Typo corrections

2006-09-25 Thread Yehuda Katz
With the exception of the semantic issues, I have corrected the errors that have been reported. The updated issue (which also has several other small improvements) can be downloaded at 
http://www.visualjquery.com/magazine.html-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Get attribute form $()

2006-09-25 Thread Blair McKenzie
I don't know about the other stuff, but get() is the exception to the chaining rule - it's purpose is to provide access to the underlying element when necessary. Try$("type",line).get(0).value
On 9/26/06, Donny Kurnia <[EMAIL PROTECTED]> wrote:
I've got this result while debugging with firebug:>>> $("type",line)[]>>> $("type",line).attr("value")--result nothing
>>> $("type",line).get(0)>>> $("type",line).get(0).attr("value")--result nothingHow do I got the value attribute from $("type",line) without assign it
to another variable?Why chainable method didn't work for $().get() ??--Donny Kurniahttp://hantulab.multiply.com/
http://hantulab.blogspot.com/---At times the world can seem an unfriendly and sinister place. Butbelieve us when we say there is much more good in it than bad. And
what might seem to be a series of unfortunate events, may in fact, bethe first steps of a journey.-- A Series of Unfortunate Events___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Get attribute form $()

2006-09-25 Thread Aaron Heimlich
Why chainable method didn't work for $().get() ??Because $().get() returns DOM nodes, not jQuery objects

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


Re: [jQuery] Ready blocks not always firing

2006-09-25 Thread Dave Benjamin
Well, I removed some code that was creating the Flash-based MP3 player and 
the erratic behavior on IE went away. The other site that I had this 
problem with had Flash as well, and in both sites I was using the 
SWFObject JavaScript library according to the instructions, by creating a 
DIV to receive the Flash movie, and immediately following that a SCRIPT 
block that loads the movie into the DIV. If I put this code in a 
$(document).ready(...), the problem goes away. However, doing this results 
in the DIV's no-Flash placeholder content displaying for a second before 
being replaced with the SWF, which isn't really desirable.

I don't know at this point if it's specifically SWFObject+JQuery, or if 
it's due to the general technique of inline SCRIPT blocks that manipulate 
the document.

Thanks for the help,
Dave

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


[jQuery] Get attribute from $()

2006-09-25 Thread Donny Kurnia
I've got this result while debugging with firebug:

>>> $("type",line)
[]
>>> $("type",line).attr("value")
--result nothing
>>> $("type",line).get(0)

>>> $("type",line).get(0).attr("value")
--result nothing

How do I got the value attribute from $("type",line) without assign it
to another variable?
Why chainable method didn't work for $().get() ??

--
Donny Kurnia
http://hantulab.multiply.com/
http://hantulab.blogspot.com/
---
At times the world can seem an unfriendly and sinister place. But
believe us when we say there is much more good in it than bad. And
what might seem to be a series of unfortunate events, may in fact, be
the first steps of a journey.
-- A Series of Unfortunate Events

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


[jQuery] Get attribute form $()

2006-09-25 Thread Donny Kurnia
I've got this result while debugging with firebug:

>>> $("type",line)
[]
>>> $("type",line).attr("value")
--result nothing
>>> $("type",line).get(0)

>>> $("type",line).get(0).attr("value")
--result nothing

How do I got the value attribute from $("type",line) without assign it
to another variable?
Why chainable method didn't work for $().get() ??

--
Donny Kurnia
http://hantulab.multiply.com/
http://hantulab.blogspot.com/
---
At times the world can seem an unfriendly and sinister place. But
believe us when we say there is much more good in it than bad. And
what might seem to be a series of unfortunate events, may in fact, be
the first steps of a journey.
-- A Series of Unfortunate Events

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


Re: [jQuery] Ready blocks not always firing

2006-09-25 Thread Dave Benjamin
On Mon, 25 Sep 2006, Brandon Aaron wrote:

> I don't see the 'more' in IE but I do in Safari and Firefox. I noticed
> that in Firebug the console.log statment seems to get called twice but
> I could only find it once in all the javascript loaded for the home
> page. Does firebug double log or is the /lisp/spoomusic.js getting
> loaded twice? Can you fire an alert from the $(document).ready()?
> Often times when I run into issues like this I just start commenting
> out blocks of code and adding in debugging statments to try and find
> where the code is stopping. Perhaps building an empty page with just
> jQuery and calling the $(document).ready() would yeild some results.
> If that works, then just start slowly adding back in some of the
> JavaScript from the site until it breaks.

Hey Brandon, thanks for the feedback. The reason there are two 
console.logs is that there's an iframe on the page, and the iframe loads 
the same script. I could fire an alert from $(document).ready(), but it's 
a live site so I don't want visitors to start getting dialogs all of the 
sudden. ;) I'll try to put together a simpler test case.

Thanks again,
Dave

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


Re: [jQuery] Form plugin - move to core?

2006-09-25 Thread Rey Bango
Agreed and that would be really beneficial.

Rey...

> thought, maybe we can have small backward-compatibility layers that can 
> be peeled off if and when the user  gets a chance to upgrade his/her code
> -ashutosh



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


Re: [jQuery] Form plugin - move to core?

2006-09-25 Thread ashutosh bijoor
hey  mike, thanks for taking the trouble to answer!regarding backward compatibility - a necessary evil - along ur line of thought, maybe we can have small backward-compatibility layers that can be peeled off if and when the user  gets a chance to upgrade his/her code 
-ashutoshOn 9/25/06, Mike Alsup <[EMAIL PROTECTED]> wrote:
> BTW, curious to know answers to Mike's questions about the deserialize> pluginHi Ashutosh,Regarding your question,1. I think your deserializer is a great plugin and I expect to use it
in the future but I haven't had an actual use case for it yet.  So ithasn't been a matter of it not meeting my needs but rather just notneeding it (yet).2. I knew it existed and had saved a local copy back in July.
3. I don't have any preference against using plugins.  I use severalon a regular basis.To those following this discussion, the only reason I suggested movingthe form plugin into core was because there are so many questions
about form management and there seems to be an expectation that jquerywill solve these problems out of the box (which is not an unreasonableexpectation in my opinion).Also, to clarify, the form plugin is not my plugin.  I was involved in
some of the discussion earlier this year but the form plugin wasreally a collaborative effort by many, largely driven by MarkConstable.Cheers.Mike___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/-- Reach1to1 Communications
http://www.reach1to1.com[EMAIL PROTECTED]98201-94408
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Ready blocks not always firing

2006-09-25 Thread Brandon Aaron
I don't see the 'more' in IE but I do in Safari and Firefox. I noticed
that in Firebug the console.log statment seems to get called twice but
I could only find it once in all the javascript loaded for the home
page. Does firebug double log or is the /lisp/spoomusic.js getting
loaded twice? Can you fire an alert from the $(document).ready()?
Often times when I run into issues like this I just start commenting
out blocks of code and adding in debugging statments to try and find
where the code is stopping. Perhaps building an empty page with just
jQuery and calling the $(document).ready() would yeild some results.
If that works, then just start slowly adding back in some of the
JavaScript from the site until it breaks.

Brandon


On 9/25/06, Dave Benjamin <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Sep 2006, Brandon Aaron wrote:
>
> > The current revision in SVN is 346. A quick glance over the check-ins
> > didn't show a particular reversion # that the issue you are having was
> > fixed in. I have been using the latest SVN revision since around 289
> > and haven't seen this issue.
>
> I can't find a link anywhere on jquery.com for the latest SVN release, and
> I don't have a Java environment handy to build it with ant at the moment,
> but I did manage to get revision 303 at
> http://jquery.com/src/jquery-svn.js so I tried that. Still having the same
> problem.
>
> One place where the problem occurs for me is here:
> http://spoomusic.com/
>
> If you look at the list of links on the left-hand navigation under
> "Net.Radio", there should be a link that says "(more)". If this link does
> not appear (and instead you see the full list of net radio links at page
> load), then the $(document).ready(...) did not fire. One way I'm able to
> reliably produce this effect on IE is to click the "spoomusic" logo in the
> top-left corner of the page. If I hit reload, it works fine, but if I
> click that logo, the (more) link doesn't show up when the page redraws.
>
> Thanks,
> Dave
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

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


Re: [jQuery] Ready blocks not always firing

2006-09-25 Thread Dave Benjamin
On Mon, 25 Sep 2006, Brandon Aaron wrote:

> The current revision in SVN is 346. A quick glance over the check-ins
> didn't show a particular reversion # that the issue you are having was
> fixed in. I have been using the latest SVN revision since around 289
> and haven't seen this issue.

I can't find a link anywhere on jquery.com for the latest SVN release, and 
I don't have a Java environment handy to build it with ant at the moment, 
but I did manage to get revision 303 at 
http://jquery.com/src/jquery-svn.js so I tried that. Still having the same 
problem.

One place where the problem occurs for me is here:
http://spoomusic.com/

If you look at the list of links on the left-hand navigation under 
"Net.Radio", there should be a link that says "(more)". If this link does 
not appear (and instead you see the full list of net radio links at page 
load), then the $(document).ready(...) did not fire. One way I'm able to 
reliably produce this effect on IE is to click the "spoomusic" logo in the 
top-left corner of the page. If I hit reload, it works fine, but if I 
click that logo, the (more) link doesn't show up when the page redraws.

Thanks,
Dave

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


Re: [jQuery] Someone want to subscribe this maillist

2006-09-25 Thread John Resig
> >  I just said that, due to the community being so
> > active, I rarely have to reply to the mailing list.
> so sorry for my misunderstanding. :(

Ha, don't worry about it ;-)

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


Re: [jQuery] Ready blocks not always firing

2006-09-25 Thread Brandon Aaron
The current revision in SVN is 346. A quick glance over the check-ins
didn't show a particular reversion # that the issue you are having was
fixed in. I have been using the latest SVN revision since around 289
and haven't seen this issue.

Brandon

On 9/25/06, Dave Benjamin <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Sep 2006, Matt Stith wrote:
> >
> > On 9/25/06, Dave Benjamin <[EMAIL PROTECTED]> wrote:
> >>
> >> Am I the only one here that finds $(document).ready() to be completely
> >> unreliable? IE seems to be the main culprit. If I don't put the
> >> $(document).ready() call in a script block after the HTML I'm trying to
> >> modify, it seems to break every other page load.
> >
> > That should be fixed in the newest jquery, old versions had problems.
>
> Which version was it fixed in? I'm experiencing these problems in the
> version with this header:
>
>   * $Date: 2006-08-31 13:26:31 -0400 (Thu, 31 Aug 2006) $
>   * $Rev: 249 $
>
> Thanks,
> Dave
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

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


Re: [jQuery] Someone want to subscribe this maillist

2006-09-25 Thread Realazy XA Chen
On 9/26/06, John Resig <[EMAIL PROTECTED]> wrote:
 I just said that, due to the community being soactive, I rarely have to reply to the mailing list. so sorry for my misunderstanding. :(-- Laziness, DRY always.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Multiple Ready Blocks

2006-09-25 Thread Brandon Aaron
I haven't seen this behavior and I've been using jQuery very heavily.
Perhaps it was an older version as Matt sugested. I'm using latest SVN
and haven't had but just a couple of issues.

Brandon

On 9/25/06, Dave Benjamin <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Sep 2006, Michael Geary wrote:
>
> >> Is it permissable to have more than one
> >> $(document).ready(function() {})
> >> per page?
> >
> > Yes, as many as you want. They will be called in the same order that the
> > $(document).ready() calls were made.
>
> If it gets called at all.
>
> Am I the only one here that finds $(document).ready() to be completely
> unreliable? IE seems to be the main culprit. If I don't put the
> $(document).ready() call in a script block after the HTML I'm trying to
> modify, it seems to break every other page load.
>
> Dave
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

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


Re: [jQuery] Someone want to subscribe this maillist

2006-09-25 Thread John Resig
> ooops...try another email or ask John Resig ( but jQuery magazine say he
> will not reply the mailing list anymore -_- )

I didn't say that! I just said that, due to the community being so
active, I rarely have to reply to the mailing list. With that being
said, I'm quite sick right now, so it might be a little bit before I
get all this admin stuff taken care of.

--John

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


Re: [jQuery] [PATCH] IE opacity issues

2006-09-25 Thread Brandon Aaron
I've been using it very successfully thus far and have been trying to
find some time to write some tests for it. However, my only concern is
that it will conflict with other filters in IE. I plan on addressing
that once I find the time to write the tests.

We are actually sending the project I just built the patch for over to
client review very soon with a scheduled Oct. 2nd launch date. This
site uses jQuery very heavily and I have a few more patches and a
couple of plugins that I hope to get documented and tested to release.

Anyways, let me know if you have any issues with the patch and I'll
see if I can't fix it.

limodou's patch actually pointed me in the right direction. Digging
through jQuery's core can be a bit confusing at first. Thanks limodou.
(I like python too!)

Brandon Aaron

On 9/25/06, limodou <[EMAIL PROTECTED]> wrote:
> On 9/26/06, Kelvin Luck <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Has anyone tested this patch? I've just run into some problems with
> > opacity in IE and I'm hoping this can fix it... Is there any reason for
> > it not to find its way into the code?
> >
> > Cheers,
> >
> I don't test it, but I have the same problem, and the solution is
> similar, and I also post en email in this maillist before.
>
> http://jquery.com/discuss/2006-September/011740/
>
> So I think the patch should be the right. Although some code is not
> very similar with my patch.
>
> --
> I like python!
> UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad
> My Blog: http://www.donews.net/limodou
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

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


[jQuery] Ready blocks not always firing

2006-09-25 Thread Dave Benjamin
On Mon, 25 Sep 2006, Matt Stith wrote:
>
> On 9/25/06, Dave Benjamin <[EMAIL PROTECTED]> wrote:
>> 
>> Am I the only one here that finds $(document).ready() to be completely 
>> unreliable? IE seems to be the main culprit. If I don't put the 
>> $(document).ready() call in a script block after the HTML I'm trying to 
>> modify, it seems to break every other page load.
>
> That should be fixed in the newest jquery, old versions had problems.

Which version was it fixed in? I'm experiencing these problems in the 
version with this header:

  * $Date: 2006-08-31 13:26:31 -0400 (Thu, 31 Aug 2006) $
  * $Rev: 249 $

Thanks,
Dave

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


Re: [jQuery] Someone want to subscribe this maillist

2006-09-25 Thread limodou
On 9/26/06, Realazy XA Chen <[EMAIL PROTECTED]> wrote:
> On 9/26/06, limodou <[EMAIL PROTECTED]> wrote:
>
> > He said he tried many times, but he cann't receive any back email.
> >
>
> ooops...try another email or ask John Resig ( but jQuery magazine say he
> will not reply the mailing list anymore -_- )
>
I'v told him the John's email. Hope John will help him.

-- 
I like python!
UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou

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


Re: [jQuery] Someone want to subscribe this maillist

2006-09-25 Thread Realazy XA Chen
On 9/26/06, limodou <[EMAIL PROTECTED]> wrote:
He said he tried many times, but he cann't receive any back email.ooops...try another email or ask John Resig ( but jQuery magazine say he will not reply the mailing list anymore -_- )
-- Laziness, DRY always.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Multiple Ready Blocks

2006-09-25 Thread Matt Stith
That should be fixed in the newest jquery, old versions had problems.On 9/25/06, Dave Benjamin <[EMAIL PROTECTED]
> wrote:On Mon, 25 Sep 2006, Michael Geary wrote:>> Is it permissable to have more than one
>> $(document).ready(function() {})>> per page?>> Yes, as many as you want. They will be called in the same order that the> $(document).ready() calls were made.If it gets called at all.
Am I the only one here that finds $(document).ready() to be completelyunreliable? IE seems to be the main culprit. If I don't put the$(document).ready() call in a script block after the HTML I'm trying to
modify, it seems to break every other page load.Dave___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Someone want to subscribe this maillist

2006-09-25 Thread limodou
On 9/26/06, Realazy XA Chen <[EMAIL PROTECTED]> wrote:
> On 9/26/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> >
> > > jQuery questions, and he said he tried to subscribe this maillist, but
> > > failed.
> >
>
> check this out: http://jquery.com/discuss/
>
He said he tried many times, but he cann't receive any back email.

-- 
I like python!
UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Someone want to subscribe this maillist

2006-09-25 Thread Realazy XA Chen
On 9/26/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> jQuery questions, and he said he tried to subscribe this maillist, but> failed. check this out: http://jquery.com/discuss/
-- Laziness, DRY always.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Multiple Ready Blocks

2006-09-25 Thread Dave Benjamin
On Mon, 25 Sep 2006, Michael Geary wrote:

>> Is it permissable to have more than one
>> $(document).ready(function() {})
>> per page?
>
> Yes, as many as you want. They will be called in the same order that the
> $(document).ready() calls were made.

If it gets called at all.

Am I the only one here that finds $(document).ready() to be completely 
unreliable? IE seems to be the main culprit. If I don't put the 
$(document).ready() call in a script block after the HTML I'm trying to 
modify, it seems to break every other page load.

Dave

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


Re: [jQuery] Multiple Ready Blocks

2006-09-25 Thread Michael Geary
> Is it permissable to have more than one
> $(document).ready(function() {})
> per page?

Yes, as many as you want. They will be called in the same order that the
$(document).ready() calls were made.

Note that there is a handy shortcut for $(document).ready():

$( function(){} );

-Mike


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


Re: [jQuery] Multiple Ready Blocks

2006-09-25 Thread Chris Domigan
On 26/09/06, Glen Lipka <[EMAIL PROTECTED]> wrote:
Is it permissable to have more than one 
$(document).ready(function() {})
per page?Absolutely. The function is just appended to the handler I believe.Chris
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] [PATCH] IE opacity issues

2006-09-25 Thread limodou
On 9/26/06, Kelvin Luck <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Has anyone tested this patch? I've just run into some problems with
> opacity in IE and I'm hoping this can fix it... Is there any reason for
> it not to find its way into the code?
>
> Cheers,
>
I don't test it, but I have the same problem, and the solution is
similar, and I also post en email in this maillist before.

http://jquery.com/discuss/2006-September/011740/

So I think the patch should be the right. Although some code is not
very similar with my patch.

-- 
I like python!
UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou

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


Re: [jQuery] Someone want to subscribe this maillist

2006-09-25 Thread Ⓙⓐⓚⓔ
I had the same problem asked JR, and all of a sudden I was subscribed!

On 9/25/06, limodou <[EMAIL PROTECTED]> wrote:
> I don't know who is the administrator of this maillist, and I received
> a man his email is [EMAIL PROTECTED], and he talk with me some
> jQuery questions, and he said he tried to subscribe this maillist, but
> failed. So he asked me talk to the administrator that adding him into
> this maillist, very thanks.
>
> email is:
>
> [EMAIL PROTECTED]
>
> --
> I like python!
> UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad
> My Blog: http://www.donews.net/limodou
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>


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


[jQuery] Multiple Ready Blocks

2006-09-25 Thread Glen Lipka
Is it permissable to have more than one 
$(document).ready(function() {})
per page?
 
If it is not, would this be a good workaround?
$(document).ready(function() {runGlobalJQueryFunctions();runLocalJQueryFunctions();

return false;
});
The reason is that one group is managing a global header and another group is managing the content on the page.  Thanks. :)
Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Someone want to subscribe this maillist

2006-09-25 Thread limodou
I don't know who is the administrator of this maillist, and I received
a man his email is [EMAIL PROTECTED], and he talk with me some
jQuery questions, and he said he tried to subscribe this maillist, but
failed. So he asked me talk to the administrator that adding him into
this maillist, very thanks.

email is:

[EMAIL PROTECTED]

-- 
I like python!
UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou

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


Re: [jQuery] how to get the display value of an element?

2006-09-25 Thread Geoff Knutzen
Ah, got it. 
.css returns the currentStyle

Thanks
-Geoff

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Will Jessup
Sent: Monday, September 25, 2006 4:03 PM
To: jQuery Discussion.
Subject: Re: [jQuery] how to get the display value of an element?

www.visualjquery.com

go to .css

Will
>
> I am writing a routine that can accept any element.
>
> I need to determine whether the element is displayed inline, as a box 
> or some other display type.
>
> Is there a way to determine this if it has not already been set by a 
> style?
>
> An unstyled A tag should return a display type of inline, while a div 
> tag should return box.
>
> How can I get this parameter?
>
>  
>
> Thanks
>
> -Geoff
>
> 
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>   


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




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


Re: [jQuery] [PATCH] IE opacity issues

2006-09-25 Thread Kelvin Luck
Hi,

Has anyone tested this patch? I've just run into some problems with 
opacity in IE and I'm hoping this can fix it... Is there any reason for 
it not to find its way into the code?

Cheers,

Kelvin :)

Brandon Aaron wrote:
> I just added a patch to trac [1] that resolves the opacity issues (at
> least all the ones I was having thus far) in IE. Unfortunately, I am
> running behind as it is on my project and don't have time to write
> tests also (other than my project, which I can't show yet). It would
> be very nice if a few people could test it out.
> 
> [1]: http://jquery.com/dev/bugs/bug/204/
> 
> Thanks.
> Brandon Aaron

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


Re: [jQuery] Ajaxian Framework Results

2006-09-25 Thread Clodelio Delfino
same here, seldom did i use javascript... until jquery came, and the
jquery plugins, the best!!! c",)

Chris Mcleod wrote:
> That's certainly true of me! I didn't use JS at all until I came across
> jQuery. Now I'm using it _all_ the time.
>
> -Original Message-
>   
>> The motto will be "I never liked javascript, until I met jQuery".
>> 
>
>   
>> -- Fil
>> 
>
> __
>
> This email has been scanned by Senergy Ltd for viruses.
>
> Powered by MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> __
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>   



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


Re: [jQuery] how to get the display value of an element?

2006-09-25 Thread Will Jessup
www.visualjquery.com

go to .css

Will
>
> I am writing a routine that can accept any element.
>
> I need to determine whether the element is displayed inline, as a box 
> or some other display type.
>
> Is there a way to determine this if it has not already been set by a 
> style?
>
> An unstyled A tag should return a display type of inline, while a div 
> tag should return box.
>
> How can I get this parameter?
>
>  
>
> Thanks
>
> -Geoff
>
> 
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>   


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


[jQuery] Bug in Droppables and Code Revert

2006-09-25 Thread Brendan O'Brien
There is a bug in Droppables right now (I have the latest code, and the bug is also present on the Droppables demo page on interface.eyecon.ro), where the tolerance : "pointer" isn't working.  I debugged a little and 
jQuery.iDrop.pointer is using the value of jQuery.iDrag.dragged.dragCfg.pointer.x and jQuery.iDrag.dragged.dragCfg.pointer.y whereas jQuery.iDrop.fit and intersect are both using jQuery.iDrag.dragged.dragCfg.nx and ny.  I changed pointer to use nx and ny in my code and that seems to have fixed it.  Just wanted to point that out in case anyone else was seeing this.
Also, and I guess this is directed at Stefan.  Bryan and I have requested to revert the change made so that draggables could be dropped in Sortables because the new version isn't quite working properly (you can go back to that discussion thread to see the problems we had).  I was just wondering if that's going to happen, or if some other change will be made.  As it is right now, I can't really work on my project.
Thanks,Brendan
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] how to get the display value of an element?

2006-09-25 Thread Geoff Knutzen








I am writing a routine that can accept any element. 

I need to determine whether the element is displayed inline,
as a box or some other display type. 

Is there a way to determine this if it has not already been
set by a style?

An unstyled A tag should return a display type of inline,
while a div tag should return box.

How can I get this parameter?

 

Thanks

-Geoff






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


Re: [jQuery] Digg push

2006-09-25 Thread Matt Stith
I know ajaxian has a lot of readers, when i figured out the mooglets API, ajaxian linked to it, and i just about tripled my hits for the days that that article was on the front page.On 9/25/06, 
Justin Carter <[EMAIL PROTECTED]> wrote:
On 9/26/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:> You guys have put Visual jQuery on the map. If you can help with one final> push, I'd be eternally grateful.
I'd suggest getting a Visual jQeury Magazine article on Ajaxian.com. Ithink it has a reasonable amount of readers. You can use thecontribute news link on the top right hand corner of the front page:
http://www.ajaxian.com/cheers,Justin___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Digg push

2006-09-25 Thread Yehuda Katz
I did so a few days ago. They didn't pick up the story.On 9/25/06, Justin Carter <[EMAIL PROTECTED]
> wrote:On 9/26/06, Yehuda Katz <[EMAIL PROTECTED]
> wrote:> You guys have put Visual jQuery on the map. If you can help with one final> push, I'd be eternally grateful.I'd suggest getting a Visual jQeury Magazine article on 
Ajaxian.com. Ithink it has a reasonable amount of readers. You can use thecontribute news link on the top right hand corner of the front page:http://www.ajaxian.com/
cheers,Justin___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Digg push

2006-09-25 Thread Justin Carter
On 9/26/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> You guys have put Visual jQuery on the map. If you can help with one final
> push, I'd be eternally grateful.

I'd suggest getting a Visual jQeury Magazine article on Ajaxian.com. I
think it has a reasonable amount of readers. You can use the
contribute news link on the top right hand corner of the front page:

http://www.ajaxian.com/

cheers,
Justin

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


Re: [jQuery] Digg push

2006-09-25 Thread Dave Benjamin
On Mon, 25 Sep 2006, Yehuda Katz wrote:

> Good fyi. I'd quibble about the front-page of the programming section. 
> I'm sure there are *some* people that check sections of interest to 
> them. May not be a whole lot of people, but there are certainly *some.* 
> Am I missing something?

I get the programming RSS feeds for both reddit and digg. However, I find 
the digg feed rather boring, and the articles there to be of lesser 
quality on average. So, while I will possibly glance at an article on the 
programming digg, if it makes it to the front of the programming reddit 
I've probably read it.

Dave

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


[jQuery] AJAX module - further suggestions?

2006-09-25 Thread Jörn Zaefferer
Hi folks,

after the discussion about the global ajax handlers and the question, if 
the form plugin should be merged into the core, I'd like to know 
wheather anyone has any other issues, problems or ideas for the AJAX 
module that can be addressed. Now is the time!

I'm currently adding lots of tests to make sure that the current code 
works as documented (eg. timeout doesn't seem to work as expected) and 
any refactorings won't break existing code. Planned are primarily 
bugfixes, then the refactoring as proposed by Will 
(http://jquery.com/dev/bugs/bug/159/), then the mentioned above, merging 
form and improving the global handlers, eg. allowing to override them.

One issue that could use some opinions is this: 
http://jquery.com/dev/bugs/bug/196/
Is there anyone who uses jQuery AND XMLHttpRequest directly?

-- Jörn

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


[jQuery] Spread jQuery Request

2006-09-25 Thread Yehuda Katz
Hey guys,I'm going to be putting together a video to be posted on YouTube as an advertisement for jQuery.I'd love to get MP3 or text testimonials from you guys explaining why the switch to jQuery changed the way you do _javascript_. MP3s are ideal, but I can work with text too.
Send your comments to [EMAIL PROTECTED]-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread Yehuda Katz
Cool. The next step would be to get a working checkbox ;)-- YehudaOn 9/25/06, dizzledorf <[EMAIL PROTECTED]
> wrote:Yehuda,That was it.  Replaced the mangled ("[EMAIL PROTECTED]") version with the
one you just posted and it's running smoothly.Nice work!--DIZZLEwycats wrote:>> There was a glitch along the way. I've updated it with what should be a> correct version.
>> -- Yehuda>> On 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:>> This is exactly what was in the code section of
>> http://jquery.com/docs/Plugins/editInPlace/.>> I simply copied it into a file called "editinplace.js". Is there a .js file that can be downloaded directly?
 wycats wrote:>> >>> > What's up with the [EMAIL PROTECTED] stuff in the value section of the>> > code?>> >>> > -- Yehuda
>> >>> > On 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:>>   >> 
http://www.engagingdesigns.com/sandbox/editinplace/>>  >> Thanks,>> >> --DIZZLE>>    >> wycats wrote:
>> >> >>> >> > Do you have a link?>> >> >>> >> > -- Yehuda>> >> >>> >> > On 9/25/06, dizzledorf <
[EMAIL PROTECTED]> wrote:>> >>  >>  >> >> Yehuda,>> >>  >>  >> >> I like it!  But I keep getting "null" for the value parameter when
>> I>> >> pass>> >> >> it>> >> >> onto my PHP processor.  "ID" comes through OK...>> >>  >> >> Any ideas?
>> >>  >> >> My code, simply:>> >> >> $(document).ready(function() {>> >> >> var url="">>> >> >> $(".editable").editInPlace(url);
>> >> >> });>> >>  >> >> (assign to all elements with "editable" class)>> >>  >>  >> >> --DIZZLE
>> >>  >>  >>  >> >> wycats wrote:>> >> >> >>> >> >> > Hey guys,>> >> >> >
>> >> >> > I finally got around to doing a bit of documentation on my>> >> editInPlace>> >> >> > plugin. You can check it out at>> >> >> > 
http://jquery.com/docs/Plugins/editInPlace/>> >> >> >>> >> >> > There are two major benefits of my plugin over the "official"
>> one:>> >> >> >  * Gives "submit" and "cancel" buttons>> >> >> >  * Supports checkboxes and select boxes>> >> >> >
>> >> >> > -->> >> >> > Yehuda Katz>> >> >> > Web Developer | Wycats Designs>> >> >> > (ph)  718.877.1325>> >> >> >
>> >> >> > ___>> >> >> > jQuery mailing list>> >> >> > discuss@jquery.com
>> >> >> > http://jquery.com/discuss/>> >> >> >>> >> >> >>> >>  >> >> --
>> >> >> View this message in context:>> >> >> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6491195
>> >> >> Sent from the JQuery mailing list archive at Nabble.com.>> >>  >>  >> >> ___
>> >> >> 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/>> >> >>> >> >>>  >> -->> >> View this message in context:
>> >> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492023>> >> Sent from the JQuery mailing list archive at 
Nabble.com.>>   >> ___>> >> 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/>> >>> > -->> View this message in context:
>> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492596>> Sent from the JQuery mailing list archive at 
Nabble.com.>> ___>> 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/>>--View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6493568Sent from the JQuery mailing list archive at Nabble.com
.___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] TableSorter Preview: Filtering.

2006-09-25 Thread Jörn Zaefferer
Christian Bach schrieb:
> Hi All!
>
> I have been working hard to get filtering into the next release of 
> TableSorter. So i have put up a "rough" demo of how it will work.
>
> The demo is located here: 
> http://motherrussia.polyester.se/pub/jquery/demos/filter/filter-demo.html
>
> In the full release filtering on dates will work and there will be an 
> option to apply text filtering on all columns, more of a search function 
> for tables.
>
> Feedback would be appreciated.
>   
Thats pretty cool stuff!

I think this could very nicely work like this (maybe partly the same on 
what you are planning already):
Click on the filter icon for a column, a popup is displayed at the icon 
with an input (with focus!), I enter something, hit enter key and watch 
the result. Pressing escape removes the popup. By deleting what I 
entered and pressing enter, I get the full result again. That way I can 
apply more than one filter column. With one or more filters applied, 
clicking on a column sorter then sorts the filtered table. The icon 
changes for each column that has a filter active, that way I can find 
and remove them.
Though the range filter is nice, I want to be able to do a text search 
on all columns, eg. all IDs containing 004. A simple grep/regex syntax 
to search for start or end of strings would be nice, too.

-- Jörn

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


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread dizzledorf

Yehuda,


That was it.  Replaced the mangled ("[EMAIL PROTECTED]") version with the
one you just posted and it's running smoothly.
Nice work!


--DIZZLE



wycats wrote:
> 
> There was a glitch along the way. I've updated it with what should be a
> correct version.
> 
> -- Yehuda
> 
> On 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:
>>
>>
>> This is exactly what was in the code section of
>> http://jquery.com/docs/Plugins/editInPlace/.
>> I simply copied it into a file called "editinplace.js".
>>
>> Is there a .js file that can be downloaded directly?
>>
>>
>>
>> wycats wrote:
>> >
>> > What's up with the [EMAIL PROTECTED] stuff in the value section of the
>> > code?
>> >
>> > -- Yehuda
>> >
>> > On 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> http://www.engagingdesigns.com/sandbox/editinplace/
>> >>
>> >> Thanks,
>> >> --DIZZLE
>> >>
>> >>
>> >>
>> >> wycats wrote:
>> >> >
>> >> > Do you have a link?
>> >> >
>> >> > -- Yehuda
>> >> >
>> >> > On 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> Yehuda,
>> >> >>
>> >> >>
>> >> >> I like it!  But I keep getting "null" for the value parameter when
>> I
>> >> pass
>> >> >> it
>> >> >> onto my PHP processor.  "ID" comes through OK...
>> >> >>
>> >> >> Any ideas?
>> >> >>
>> >> >> My code, simply:
>> >> >> $(document).ready(function() {
>> >> >> var url="test_proc.php";
>> >> >> $(".editable").editInPlace(url);
>> >> >> });
>> >> >>
>> >> >> (assign to all elements with "editable" class)
>> >> >>
>> >> >>
>> >> >> --DIZZLE
>> >> >>
>> >> >>
>> >> >>
>> >> >> wycats wrote:
>> >> >> >
>> >> >> > Hey guys,
>> >> >> >
>> >> >> > I finally got around to doing a bit of documentation on my
>> >> editInPlace
>> >> >> > plugin. You can check it out at
>> >> >> > http://jquery.com/docs/Plugins/editInPlace/
>> >> >> >
>> >> >> > There are two major benefits of my plugin over the "official"
>> one:
>> >> >> >  * Gives "submit" and "cancel" buttons
>> >> >> >  * Supports checkboxes and select boxes
>> >> >> >
>> >> >> > --
>> >> >> > Yehuda Katz
>> >> >> > Web Developer | Wycats Designs
>> >> >> > (ph)  718.877.1325
>> >> >> >
>> >> >> > ___
>> >> >> > jQuery mailing list
>> >> >> > discuss@jquery.com
>> >> >> > http://jquery.com/discuss/
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6491195
>> >> >> Sent from the JQuery mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >> ___
>> >> >> 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/
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492023
>> >> Sent from the JQuery mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ___
>> >> 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/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492596
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> ___
>> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6493568
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Digg push

2006-09-25 Thread Yehuda Katz
On 9/25/06, John Resig <[EMAIL PROTECTED]> wrote:
> The Visual jQuery Magazine is about to fall off the bottom of the front page> of the Programming Category. To try to forestall that for a bit, please digg> it if you haven't already (and ask your friends to do so as well!).
You do realize that that's not how Digg works, right? Stories get duggand once they reach a certain threshold, they hit the frontpage. Thisis the only step that matters, because it'll then hit people's RSS
readers - and hit the people who simply refresh the homepage all day.After that, it doesn't matter what you do - at all. A couple facts:- Once a story is off the frontpage, no one reads it anymore.- Giving a story more votes won't keep it on the frontpage for longer
(reddit does this, not digg)- Being on the frontpage of the programming section has no consequenceone way or another.Just FYI.Good fyi. I'd quibble about the front-page of the programming section. I'm sure there are *some* people that check sections of interest to them. May not be a whole lot of people, but there are certainly *some.* Am I missing something?
Also, how does Digg figure out how long to keep something on the front page? Does it simply get pushed off once something else gets pushed on? That seems a bit strange.
--John___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread Yehuda Katz
There was a glitch along the way. I've updated it with what should be a correct version.-- YehudaOn 9/25/06, dizzledorf <
[EMAIL PROTECTED]> wrote:This is exactly what was in the code section of
http://jquery.com/docs/Plugins/editInPlace/.I simply copied it into a file called "editinplace.js".Is there a .js file that can be downloaded directly?
wycats wrote:>> What's up with the [EMAIL PROTECTED] stuff in the value section of the> code?>> -- Yehuda>> On 9/25/06, dizzledorf <
[EMAIL PROTECTED]> wrote:>> http://www.engagingdesigns.com/sandbox/editinplace/ Thanks,
>> --DIZZLE wycats wrote:>> >>> > Do you have a link?>> >>> > -- Yehuda>> >>> > On 9/25/06, dizzledorf <
[EMAIL PROTECTED]> wrote:>>   >> Yehuda,>>   >> I like it!  But I keep getting "null" for the value parameter when I
>> pass>> >> it>> >> onto my PHP processor.  "ID" comes through OK...>>  >> Any ideas?>>  >> My code, simply:
>> >> $(document).ready(function() {>> >> var url="">>> >> $(".editable").editInPlace(url);>> >> });>> >>
>> >> (assign to all elements with "editable" class)>>   >> --DIZZLE>>    >> wycats wrote:
>> >> >>> >> > Hey guys,>> >> >>> >> > I finally got around to doing a bit of documentation on my>> editInPlace>> >> > plugin. You can check it out at
>> >> > http://jquery.com/docs/Plugins/editInPlace/>> >> >>> >> > There are two major benefits of my plugin over the "official" one:
>> >> >  * Gives "submit" and "cancel" buttons>> >> >  * Supports checkboxes and select boxes>> >> >>> >> > -->> >> > Yehuda Katz
>> >> > Web Developer | Wycats Designs>> >> > (ph)  718.877.1325>> >> >>> >> > ___>> >> > jQuery mailing list
>> >> > discuss@jquery.com>> >> > http://jquery.com/discuss/>> >> >>> >> >
>>  >> -->> >> View this message in context:>> >> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6491195
>> >> Sent from the JQuery mailing list archive at Nabble.com.>>   >> ___
>> >> 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/>> >>> >
 -->> View this message in context:>> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492023
>> Sent from the JQuery mailing list archive at Nabble.com.>> ___>> 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/>>--View this message in context: http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492596
Sent from the JQuery mailing list archive at Nabble.com.___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Digg push

2006-09-25 Thread John Resig
> The Visual jQuery Magazine is about to fall off the bottom of the front page
> of the Programming Category. To try to forestall that for a bit, please digg
> it if you haven't already (and ask your friends to do so as well!).

You do realize that that's not how Digg works, right? Stories get dugg
and once they reach a certain threshold, they hit the frontpage. This
is the only step that matters, because it'll then hit people's RSS
readers - and hit the people who simply refresh the homepage all day.

After that, it doesn't matter what you do - at all. A couple facts:
- Once a story is off the frontpage, no one reads it anymore.
- Giving a story more votes won't keep it on the frontpage for longer
(reddit does this, not digg)
- Being on the frontpage of the programming section has no consequence
one way or another.

Just FYI.

--John

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


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread dizzledorf

This is exactly what was in the code section of
http://jquery.com/docs/Plugins/editInPlace/.
I simply copied it into a file called "editinplace.js".

Is there a .js file that can be downloaded directly?



wycats wrote:
> 
> What's up with the [EMAIL PROTECTED] stuff in the value section of the
> code?
> 
> -- Yehuda
> 
> On 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:
>>
>>
>> http://www.engagingdesigns.com/sandbox/editinplace/
>>
>> Thanks,
>> --DIZZLE
>>
>>
>>
>> wycats wrote:
>> >
>> > Do you have a link?
>> >
>> > -- Yehuda
>> >
>> > On 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Yehuda,
>> >>
>> >>
>> >> I like it!  But I keep getting "null" for the value parameter when I
>> pass
>> >> it
>> >> onto my PHP processor.  "ID" comes through OK...
>> >>
>> >> Any ideas?
>> >>
>> >> My code, simply:
>> >> $(document).ready(function() {
>> >> var url="test_proc.php";
>> >> $(".editable").editInPlace(url);
>> >> });
>> >>
>> >> (assign to all elements with "editable" class)
>> >>
>> >>
>> >> --DIZZLE
>> >>
>> >>
>> >>
>> >> wycats wrote:
>> >> >
>> >> > Hey guys,
>> >> >
>> >> > I finally got around to doing a bit of documentation on my
>> editInPlace
>> >> > plugin. You can check it out at
>> >> > http://jquery.com/docs/Plugins/editInPlace/
>> >> >
>> >> > There are two major benefits of my plugin over the "official" one:
>> >> >  * Gives "submit" and "cancel" buttons
>> >> >  * Supports checkboxes and select boxes
>> >> >
>> >> > --
>> >> > Yehuda Katz
>> >> > Web Developer | Wycats Designs
>> >> > (ph)  718.877.1325
>> >> >
>> >> > ___
>> >> > jQuery mailing list
>> >> > discuss@jquery.com
>> >> > http://jquery.com/discuss/
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6491195
>> >> Sent from the JQuery mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ___
>> >> 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/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492023
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> ___
>> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492596
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] TableSorter Preview: Filtering.

2006-09-25 Thread Christian Bach
Hi All!

I have been working hard to get filtering into the next release of 
TableSorter. So i have put up a "rough" demo of how it will work.

The demo is located here: 
http://motherrussia.polyester.se/pub/jquery/demos/filter/filter-demo.html

In the full release filtering on dates will work and there will be an 
option to apply text filtering on all columns, more of a search function 
for tables.

Feedback would be appreciated.

Best regards
Christian Bach

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


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread Yehuda Katz
What's up with the [EMAIL PROTECTED] stuff in the value section of the code?-- YehudaOn 9/25/06, dizzledorf <
[EMAIL PROTECTED]> wrote:
http://www.engagingdesigns.com/sandbox/editinplace/Thanks,--DIZZLEwycats wrote:>> Do you have a link?>> -- Yehuda>> On 9/25/06, dizzledorf <
[EMAIL PROTECTED]> wrote:>> Yehuda,>> I like it!  But I keep getting "null" for the value parameter when I pass>> it>> onto my PHP processor.  "ID" comes through OK...
 Any ideas? My code, simply:>> $(document).ready(function() {>> var url="">>> $(".editable").editInPlace(url);
>> }); (assign to all elements with "editable" class)>> --DIZZLE wycats wrote:>> >
>> > Hey guys,>> >>> > I finally got around to doing a bit of documentation on my editInPlace>> > plugin. You can check it out at>> > 
http://jquery.com/docs/Plugins/editInPlace/>> >>> > There are two major benefits of my plugin over the "official" one:>> >  * Gives "submit" and "cancel" buttons
>> >  * Supports checkboxes and select boxes>> >>> > -->> > Yehuda Katz>> > Web Developer | Wycats Designs>> > (ph)  718.877.1325>> >
>> > ___>> > jQuery mailing list>> > discuss@jquery.com>> > 
http://jquery.com/discuss/>> >>> > -->> View this message in context:>> 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6491195>> Sent from the JQuery mailing list archive at Nabble.com.>> ___
>> 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/>>--View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492023Sent from the JQuery mailing list archive at Nabble.com.___
jQuery mailing listdiscuss@jquery.comhttp://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] editInPlace Plugin

2006-09-25 Thread dizzledorf

http://www.engagingdesigns.com/sandbox/editinplace/

Thanks,
--DIZZLE



wycats wrote:
> 
> Do you have a link?
> 
> -- Yehuda
> 
> On 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:
>>
>>
>> Yehuda,
>>
>>
>> I like it!  But I keep getting "null" for the value parameter when I pass
>> it
>> onto my PHP processor.  "ID" comes through OK...
>>
>> Any ideas?
>>
>> My code, simply:
>> $(document).ready(function() {
>> var url="test_proc.php";
>> $(".editable").editInPlace(url);
>> });
>>
>> (assign to all elements with "editable" class)
>>
>>
>> --DIZZLE
>>
>>
>>
>> wycats wrote:
>> >
>> > Hey guys,
>> >
>> > I finally got around to doing a bit of documentation on my editInPlace
>> > plugin. You can check it out at
>> > http://jquery.com/docs/Plugins/editInPlace/
>> >
>> > There are two major benefits of my plugin over the "official" one:
>> >  * Gives "submit" and "cancel" buttons
>> >  * Supports checkboxes and select boxes
>> >
>> > --
>> > Yehuda Katz
>> > Web Developer | Wycats Designs
>> > (ph)  718.877.1325
>> >
>> > ___
>> > jQuery mailing list
>> > discuss@jquery.com
>> > http://jquery.com/discuss/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6491195
>> Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>> ___
>> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6492023
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread Yehuda Katz
Do you have a link?-- YehudaOn 9/25/06, dizzledorf <[EMAIL PROTECTED]> wrote:
Yehuda,I like it!  But I keep getting "null" for the value parameter when I pass itonto my PHP processor.  "ID" comes through OK...Any ideas?My code, simply:$(document).ready(function() {
var url="">$(".editable").editInPlace(url);});(assign to all elements with "editable" class)--DIZZLEwycats wrote:
>> Hey guys,>> I finally got around to doing a bit of documentation on my editInPlace> plugin. You can check it out at> http://jquery.com/docs/Plugins/editInPlace/
>> There are two major benefits of my plugin over the "official" one:>  * Gives "submit" and "cancel" buttons>  * Supports checkboxes and select boxes>
> --> Yehuda Katz> Web Developer | Wycats Designs> (ph)  718.877.1325>> ___> jQuery mailing list> 
discuss@jquery.com> http://jquery.com/discuss/>>--View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6491195Sent from the JQuery mailing list archive at Nabble.com.___
jQuery mailing listdiscuss@jquery.comhttp://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] Cool technique

2006-09-25 Thread Yehuda Katz
Nice anecdote.You can check out a demo here:http://www.visualjquery.com/plugins/animate.html-- Yehuda
On 9/25/06, Michael Geary <[EMAIL PROTECTED]> wrote:
> From: Yehuda Katz>> In my editInPlace script, I do:>> $(editable).animate({opacity: .5}, "normal", function(){$(editable).animate({opacity: 1}, "normal")});>
> which results in a slow emphasis. I think it works better than> the yellow-fade for emphasizing success of an update.>> What do you guys think?A friend once asked me, "Can you taste a recipe?" I thought she had cooked
some new dish, but then she handed me a cookbook. She meant it literally:Could I read the recipe and imagine what it would taste like, to tell if itwas worth cooking or not? After many years of cooking, I discovered that I
actually *could* taste the recipe.Sometimes I can do that with code, but my tasting skills are failing me thismorning. So I think I'd have to see this in action to know what I thought ofit.So... Do you have a demo page to take a look at? :-)
One caveat does come to mind: Is there text with a transparent background inthe element that you are fading in? That could give you grief on systemswith anti-aliasing.-Mike___
jQuery mailing listdiscuss@jquery.comhttp://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] editInPlace Plugin

2006-09-25 Thread dizzledorf

Yehuda,


I like it!  But I keep getting "null" for the value parameter when I pass it
onto my PHP processor.  "ID" comes through OK...

Any ideas?

My code, simply:
$(document).ready(function() {
var url="test_proc.php";
$(".editable").editInPlace(url);
});

(assign to all elements with "editable" class)


--DIZZLE



wycats wrote:
> 
> Hey guys,
> 
> I finally got around to doing a bit of documentation on my editInPlace
> plugin. You can check it out at
> http://jquery.com/docs/Plugins/editInPlace/
> 
> There are two major benefits of my plugin over the "official" one:
>  * Gives "submit" and "cancel" buttons
>  * Supports checkboxes and select boxes
> 
> -- 
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6491195
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Cool technique

2006-09-25 Thread Michael Geary
> From: Yehuda Katz
> 
> In my editInPlace script, I do:
>
> $(editable).animate({opacity: .5}, "normal", function()
{$(editable).animate({opacity: 1}, "normal")});
>
> which results in a slow emphasis. I think it works better than
> the yellow-fade for emphasizing success of an update.
> 
> What do you guys think?

A friend once asked me, "Can you taste a recipe?" I thought she had cooked
some new dish, but then she handed me a cookbook. She meant it literally:
Could I read the recipe and imagine what it would taste like, to tell if it
was worth cooking or not? After many years of cooking, I discovered that I
actually *could* taste the recipe.

Sometimes I can do that with code, but my tasting skills are failing me this
morning. So I think I'd have to see this in action to know what I thought of
it.

So... Do you have a demo page to take a look at? :-)

One caveat does come to mind: Is there text with a transparent background in
the element that you are fading in? That could give you grief on systems
with anti-aliasing.

-Mike


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


Re: [jQuery] $().load didn't works ini IE6

2006-09-25 Thread Michael Geary
> From: Dan Atkinson
> 
> Also, I'm unsure why you want to use document.writeln as I 
> find jQuery's methods much more compact and neat.

I don't know if it relates to this specific code, but there are things you
can do with document.writeln that you can't do with DOM manipulation.
Specifically, the HTML that you write with document.writeln behaves as if it
were part of the original document. This allows you to get totally clean
page transitions like you can get with straight-up server-delivered HTML -
and cannot achieve with DOM manipulation.

-Mike


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


Re: [jQuery] $().load didn't works ini IE6

2006-09-25 Thread Michael Geary
> I need help to make the following code works in IE :
> 
> document.writeln("");
>   var tablename = "some_table";
>   $("#"+name).load("table_query.php", {table: tablename});
> document.writeln("<\/select>");
> 
> Script table_query.php return  elements. This code work well
> in Firefox, but in IE, the select had no option.
> I tried to change table_query.php result to xml, and use 
> following code...

In both the original code and the lengthier version, you are trying to
access the DOM while you're in the middle of writing the document. There's
no guarantee that this would work in any browser.

When it fails, did you look at the result of $("#"+name) in the debugger to
see if it actually contains any elements?

At the very least, you should defer the attempt to reference the DOM:

 $( function() {
$("#"+name).load("table_query.php", {table: tablename});
 });

Also, a few tips on the string handling:

* You don't need to escape forward slashes.

* Use single quotes for your strings so you don't need to escape the double
quotes inside the strings.

* Use Array.join instead of string concatenation. On many browsers, it is
much faster. In a case like this it won't make any noticeable difference,
but if you are doing a lot of string concats it really helps. So it's good
to get in the habit of using Array.join.

Putting that all together, you may end up with something like this:

 document.writeln( [
'',
''
 ].join('') );

 $( function() {
$("#"+name).load("table_query.php", {table: tablename});
 });

-Mike


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


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread Mike Rubits

Looks great! It would be a cool addition if there were a way to edit
everything inside a ; sort of like the ajaxSubmit feature but for
editing, and have one Submit button at the bottom. It's probably a bit out
of the scope of this plugin, but would be a cool idea nonetheless. At least
I'd use it, anything to clean up the mess of PHP pages for every single
action :)


wycats wrote:
> 
> Hey guys,
> 
> I finally got around to doing a bit of documentation on my editInPlace
> plugin. You can check it out at
> http://jquery.com/docs/Plugins/editInPlace/
> 
> There are two major benefits of my plugin over the "official" one:
>  * Gives "submit" and "cancel" buttons
>  * Supports checkboxes and select boxes
> 
> -- 
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6490261
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Cool technique

2006-09-25 Thread Dan Atkinson

If someone writes a plugin which determines that the user is partially
sighted, then I'll be there with alert boxes and size 128 fonts on my site*.
And cool stuff for the rest.

Has someone written something like this?

*Please note, there will be no size 128 fonts on my site. But, I'll cater
for those with disablilities when the government finally recognises my sense
of humour is actually a mental problem.


wycats wrote:
> 
> BTW: I think Accessibility is super-important (there will even be an
> article
> in Issue 2 of the Magazine about it), but it's a bit foolish to never use
> any effects because of accessibility concerns. It's pretty much a given
> that
> the way the Accesible functionality will work will be less "rich-app-like"
> than the functionality that's designed for folks that do not use
> screen-readers and the like. The trick is finding a way to make sure that
> virtually everybody can get *something* out of the website, and that
> everyone gets the content in the manner that is most pleasing to them and
> the way they are using the website.
> 

-- 
View this message in context: 
http://www.nabble.com/Cool-technique-tf2332216.html#a6490335
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Cool technique

2006-09-25 Thread Yehuda Katz
BTW: I think Accessibility is super-important (there will even be an article in Issue 2 of the Magazine about it), but it's a bit foolish to never use any effects because of accessibility concerns. It's pretty much a given that the way the Accesible functionality will work will be less "rich-app-like" than the functionality that's designed for folks that do not use screen-readers and the like. The trick is finding a way to make sure that virtually everybody can get *something* out of the website, and that everyone gets the content in the manner that is most pleasing to them and the way they are using the website.
-- YehudaOn 9/25/06, Dan Atkinson <[EMAIL PROTECTED]> wrote:
Lol!That's so cruel!Will Jessup wrote:>> Dan ,>> Just append the DOM w/ a paypal donate button.>> "Ajax has been successfully implemented, now send me cash to continue"
 The title was 'cool', not 'accessible'! ;-) You're probably right, but somehow text with large letters saying>> 'SUCCESS'>> or 'FAILURE' just don't seem 'cool' enough.
>> Konstantin K?fer wrote:> I don't think you should symbolize success or failure through colors>>> or subtle effects. People with disabilities can't easily recognize
>>> that. Better create a text that shows "Saving successful." and obeys>>> the font size the user has set (and voiceover etc.).> Am 25.09.2006
 um 17:11 schrieb Yehuda Katz:>> In my editInPlace script, I do: $(editable).animate({opacity: .5}, "normal", function() {$ (editable).animate({opacity: 1}, "normal")});
 which results in a slow emphasis. I think it works better than the yellow-fade for emphasizing success of an update. What do you guys think?
 -- 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 mailing list> 
discuss@jquery.com> http://jquery.com/discuss/>>--View this message in context: 
http://www.nabble.com/Cool-technique-tf2332216.html#a6489912Sent from the JQuery mailing list archive at Nabble.com.___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/-- Yehuda KatzWeb Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Digg push

2006-09-25 Thread Dan Atkinson

Here's the proposed title for issue two:

BREAKING NEWS: MOST AMAZING FREE NON-RIAA WEB 2.0/AJAX MAGAZINE EVER WITH
PHOTOS!

The use of specific words are well known to SEO folks now. A good freelancer
can make hundreds of dollars a day by digging stories to the front page.

References:
http://www.gadzooki.com/the-economic-value-of-a-front-page-digg/
http://digg.com/tech_news/Nano-mario_wants_his_amazing_RIAA_photos_
http://www.xedant.com/researches/top_422_digg_com_attention_grabbing_words.php


David Olinsky wrote:
> 
> Yehuda, next time put a combination of 'Most Amazing Video Ever!',  
> 'Ruby', 'Free', 'Ajax' and 'OSX' and you'll never move off the front  
> page :)
> 
> Again, nice work on the magazine.
> 
> --
> -David
> 

-- 
View this message in context: 
http://www.nabble.com/Digg-push-tf2332312.html#a6489887
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Digg push

2006-09-25 Thread Yehuda Katz
We should work up a digg-strategy based on the new digg algorithm. I was quite happy about the diggs, but I know it could have been a lot better.At some point, I'll do a site redesign, and we can digg that up.
-- YehudaOn 9/25/06, David Olinsky <[EMAIL PROTECTED]> wrote:
Yehuda, next time put a combination of 'Most Amazing Video Ever!','Ruby', 'Free', 'Ajax' and 'OSX' and you'll never move off the frontpage :)Again, nice work on the magazine.---DavidQuoting Yehuda Katz <
[EMAIL PROTECTED]>:> Sorry to be doing this, but I just want to try one last round of promotion.>> The Visual jQuery Magazine is about to fall off the bottom of the front page
> of the Programming Category. To try to forestall that for a bit, please digg> it if you haven't already (and ask your friends to do so as well!).>> You guys have put Visual jQuery on the map. If you can help with one final
> push, I'd be eternally grateful.>> --> Yehuda Katz> Web Developer | Wycats Designs> (ph)  718.877.1325___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/-- Yehuda KatzWeb Developer | Wycats Designs
(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread Yehuda Katz
Yup. When I get some time, I may add a "plugin" section to visualjQuery.com with some of my plugins (I have some other cool stuff I worked on for a VERY AJAXy project I did).-- Yehuda
On 9/25/06, Dan Atkinson <[EMAIL PROTECTED]> wrote:
Coolaid!It's just a damned shame that the wiki chews the code tags.wycats wrote:>> Hey guys,>> I finally got around to doing a bit of documentation on my editInPlace> plugin. You can check it out at
> http://jquery.com/docs/Plugins/editInPlace/>> There are two major benefits of my plugin over the "official" one:>  * Gives "submit" and "cancel" buttons
>  * Supports checkboxes and select boxes>> --> Yehuda Katz> Web Developer | Wycats Designs> (ph)  718.877.1325>> ___
> jQuery mailing list> discuss@jquery.com> http://jquery.com/discuss/>>--View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6489706Sent from the JQuery mailing list archive at Nabble.com
.___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Cool technique

2006-09-25 Thread Dan Atkinson

Lol!

That's so cruel!


Will Jessup wrote:
> 
> Dan ,
> 
> Just append the DOM w/ a paypal donate button.
> 
> "Ajax has been successfully implemented, now send me cash to continue"
> 
> 
>> The title was 'cool', not 'accessible'! ;-)
>>
>> You're probably right, but somehow text with large letters saying
>> 'SUCCESS'
>> or 'FAILURE' just don't seem 'cool' enough.
>>
>>
>> Konstantin K?fer wrote:
>>   
>>> I don't think you should symbolize success or failure through colors  
>>> or subtle effects. People with disabilities can't easily recognize  
>>> that. Better create a text that shows "Saving successful." and obeys  
>>> the font size the user has set (and voiceover etc.).
>>>
>>>
>>> Am 25.09.2006 um 17:11 schrieb Yehuda Katz:
>>>
>>> 
 In my editInPlace script, I do:
 $(editable).animate({opacity: .5}, "normal", function() {$ 
 (editable).animate({opacity: 1}, "normal")});
 which results in a slow emphasis. I think it works better than the  
 yellow-fade for emphasizing success of an update.

 What do you guys think?

 -- 
 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 mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Cool-technique-tf2332216.html#a6489912
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Digg push

2006-09-25 Thread Andy Matthews
Well hopefully, by that time the magazine will have taken off on it's own
and it won't be a problem.

Good point though.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Dan Atkinson
Sent: Monday, September 25, 2006 11:01 AM
To: discuss@jquery.com
Subject: Re: [jQuery] Digg push



I should point out that, after Digg's recent changes, it'll quite easily
spot
'cartels' which regularly vote on the same stories.

If the same people digg the same articles, then what'll happen is that, by
issue 3 - 6 or so, our votes will be nigh on worthless as they will be
reweighted to prevent 'digg-bombing', and simply won't go very far to the
front page.


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


Re: [jQuery] Cool technique

2006-09-25 Thread Will Jessup
Dan ,

Just append the DOM w/ a paypal donate button.

"Ajax has been successfully implemented, now send me cash to continue"


> The title was 'cool', not 'accessible'! ;-)
>
> You're probably right, but somehow text with large letters saying 'SUCCESS'
> or 'FAILURE' just don't seem 'cool' enough.
>
>
> Konstantin K?fer wrote:
>   
>> I don't think you should symbolize success or failure through colors  
>> or subtle effects. People with disabilities can't easily recognize  
>> that. Better create a text that shows "Saving successful." and obeys  
>> the font size the user has set (and voiceover etc.).
>>
>>
>> Am 25.09.2006 um 17:11 schrieb Yehuda Katz:
>>
>> 
>>> In my editInPlace script, I do:
>>> $(editable).animate({opacity: .5}, "normal", function() {$ 
>>> (editable).animate({opacity: 1}, "normal")});
>>> which results in a slow emphasis. I think it works better than the  
>>> yellow-fade for emphasizing success of an update.
>>>
>>> What do you guys think?
>>>
>>> -- 
>>> 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 mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] editInPlace Plugin

2006-09-25 Thread Dan Atkinson

Coolaid!

It's just a damned shame that the wiki chews the code tags.

wycats wrote:
> 
> Hey guys,
> 
> I finally got around to doing a bit of documentation on my editInPlace
> plugin. You can check it out at
> http://jquery.com/docs/Plugins/editInPlace/
> 
> There are two major benefits of my plugin over the "official" one:
>  * Gives "submit" and "cancel" buttons
>  * Supports checkboxes and select boxes
> 
> -- 
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/editInPlace-Plugin-tf2332202.html#a6489706
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Digg push

2006-09-25 Thread Will Jessup
David,

Add "top 10" and "bush" to that list.

Will
> Yehuda, next time put a combination of 'Most Amazing Video Ever!',  
> 'Ruby', 'Free', 'Ajax' and 'OSX' and you'll never move off the front  
> page :)
>
> Again, nice work on the magazine.
>
> --
> -David
>
> Quoting Yehuda Katz <[EMAIL PROTECTED]>:
>
>   
>> Sorry to be doing this, but I just want to try one last round of promotion.
>>
>> The Visual jQuery Magazine is about to fall off the bottom of the front page
>> of the Programming Category. To try to forestall that for a bit, please digg
>> it if you haven't already (and ask your friends to do so as well!).
>>
>> You guys have put Visual jQuery on the map. If you can help with one final
>> push, I'd be eternally grateful.
>>
>> -- 
>> 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] Cool technique

2006-09-25 Thread Dan Atkinson

The title was 'cool', not 'accessible'! ;-)

You're probably right, but somehow text with large letters saying 'SUCCESS'
or 'FAILURE' just don't seem 'cool' enough.


Konstantin K?fer wrote:
> 
> I don't think you should symbolize success or failure through colors  
> or subtle effects. People with disabilities can't easily recognize  
> that. Better create a text that shows "Saving successful." and obeys  
> the font size the user has set (and voiceover etc.).
> 
> 
> Am 25.09.2006 um 17:11 schrieb Yehuda Katz:
> 
>> In my editInPlace script, I do:
>> $(editable).animate({opacity: .5}, "normal", function() {$ 
>> (editable).animate({opacity: 1}, "normal")});
>> which results in a slow emphasis. I think it works better than the  
>> yellow-fade for emphasizing success of an update.
>>
>> What do you guys think?
>>
>> -- 
>> 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/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Cool-technique-tf2332216.html#a6489576
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Digg push

2006-09-25 Thread David Olinsky
Yehuda, next time put a combination of 'Most Amazing Video Ever!',  
'Ruby', 'Free', 'Ajax' and 'OSX' and you'll never move off the front  
page :)

Again, nice work on the magazine.

--
-David

Quoting Yehuda Katz <[EMAIL PROTECTED]>:

> Sorry to be doing this, but I just want to try one last round of promotion.
>
> The Visual jQuery Magazine is about to fall off the bottom of the front page
> of the Programming Category. To try to forestall that for a bit, please digg
> it if you haven't already (and ask your friends to do so as well!).
>
> You guys have put Visual jQuery on the map. If you can help with one final
> push, I'd be eternally grateful.
>
> -- 
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325



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


Re: [jQuery] Digg push

2006-09-25 Thread Dan Atkinson

I should point out that, after Digg's recent changes, it'll quite easily spot
'cartels' which regularly vote on the same stories.

If the same people digg the same articles, then what'll happen is that, by
issue 3 - 6 or so, our votes will be nigh on worthless as they will be
reweighted to prevent 'digg-bombing', and simply won't go very far to the
front page.
 

wycats wrote:
> 
> Sorry to be doing this, but I just want to try one last round of
> promotion.
> 
> The Visual jQuery Magazine is about to fall off the bottom of the front
> page
> of the Programming Category. To try to forestall that for a bit, please
> digg
> it if you haven't already (and ask your friends to do so as well!).
> 
> You guys have put Visual jQuery on the map. If you can help with one final
> push, I'd be eternally grateful.
> 
> -- 
> Yehuda Katz
> Web Developer | Wycats Designs
> (ph)  718.877.1325
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Digg-push-tf2332312.html#a6489475
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Cool technique

2006-09-25 Thread Konstantin Käfer
I don't think you should symbolize success or failure through colors  
or subtle effects. People with disabilities can't easily recognize  
that. Better create a text that shows "Saving successful." and obeys  
the font size the user has set (and voiceover etc.).


Am 25.09.2006 um 17:11 schrieb Yehuda Katz:

> In my editInPlace script, I do:
> $(editable).animate({opacity: .5}, "normal", function() {$ 
> (editable).animate({opacity: 1}, "normal")});
> which results in a slow emphasis. I think it works better than the  
> yellow-fade for emphasizing success of an update.
>
> What do you guys think?
>
> -- 
> 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] Digg push

2006-09-25 Thread Yehuda Katz
Sorry to be doing this, but I just want to try one last round of promotion.The Visual jQuery Magazine is about to fall off the bottom of the front page of the Programming Category. To try to forestall that for a bit, please digg it if you haven't already (and ask your friends to do so as well!).
You guys have put Visual jQuery on the map. If you can help with one final push, I'd be eternally grateful.-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Interface Sortables callback

2006-09-25 Thread Kevin Bosak
Got this worked out.  I didn't realize I needed id's on the LI elements.On 9/25/06, Kevin Bosak <[EMAIL PROTECTED]
> wrote:I'm attempting to use Sortables to sort a list of images but can't get the onchange callback to work.  I am able to drag and drop the elements just fine.  I've also tried other callbacks like onDrag and tried 'onChange' as well.  
Here is my code:  $('ul').Sortable({  onchange: function(){alert('test');},  accept: 'image',  activeclass: 'activedrop',  hoverclass: 'hoverdrop',  helperclass: 'sorthelper',
  tolerance: 'intersect',  opacity:  .7  });And of course the html looks similar to this:

Any help will be greatly appreciated.Thanks,Kevin


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


Re: [jQuery] InnerFade plugin in live site

2006-09-25 Thread dizzledorf

Armand,


Looks good, but it's tough to click on a particular item as the ticker
cycles awfully fast...

Maybe consider using the newsTicker plugin:
http://www.texotela.co.uk/code/jquery/newsticker/

It's very lightweight and pauses on hover, so individual items can be
"frozen", allowing for easier reading and fewer mistimed clicks.


--DIZZLE




Armand Datema wrote:
> 
> http://www.politieknieuws.nl/Home/tabid/36/Default.aspx
> 
> just added the innerfade plugin to the politieknieuws site. Just below
> the tabs it rotates to the most read newsitems on the portal
> 
> thanks for the plugin, now all i need to remove is the scrollign
> photobar with jquery and the site is even faster ( is there such a
> smooth scroller in jquery allready )
> 
> As far as I can see hte carousel only slides per nr of items and it
> doesnt continue when the end is reaced
> 
> Armand
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/InnerFade-plugin-in-live-site-tf2332033.html#a6488498
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] Cool technique

2006-09-25 Thread Yehuda Katz
In my editInPlace script, I do:$(editable).animate({opacity: .5}, "normal", function() {$(editable).animate({opacity: 1}, "normal")});which results in a slow emphasis. I think it works better than the yellow-fade for emphasizing success of an update.
What do you guys think?-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] editInPlace Plugin

2006-09-25 Thread Yehuda Katz
Hey guys,I finally got around to doing a bit of documentation on my editInPlace plugin. You can check it out at http://jquery.com/docs/Plugins/editInPlace/
There are two major benefits of my plugin over the "official" one: * Gives "submit" and "cancel" buttons * Supports checkboxes and select boxes-- Yehuda Katz
Web Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] InnerFade plugin in live site

2006-09-25 Thread Armand Datema
http://www.politieknieuws.nl/Home/tabid/36/Default.aspx

just added the innerfade plugin to the politieknieuws site. Just below
the tabs it rotates to the most read newsitems on the portal

thanks for the plugin, now all i need to remove is the scrollign
photobar with jquery and the site is even faster ( is there such a
smooth scroller in jquery allready )

As far as I can see hte carousel only slides per nr of items and it
doesnt continue when the end is reaced

Armand

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


Re: [jQuery] Ajaxian Framework Results

2006-09-25 Thread Chris Mcleod
That's certainly true of me! I didn't use JS at all until I came across
jQuery. Now I'm using it _all_ the time.

-Original Message-
> The motto will be "I never liked javascript, until I met jQuery".

> -- Fil

__

This email has been scanned by Senergy Ltd for viruses.

Powered by MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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


Re: [jQuery] Visual jQuery Magazine

2006-09-25 Thread Yehuda Katz
Expect a corrected copy (call it issue 1.01) tonight.-- YehudaOn 9/23/06, Klaus Hartl <[EMAIL PROTECTED]
> wrote:Yehuda Katz schrieb:> One of the nice things about having a *digital* publication is that I
> can make these changes :). Expect an updated copy of the Visual jQuery> Magazine in a few days for archival purposes.>> I know about the semantically incorrect XHTML. While you're technically
> correct (and I'll make an effort to use valid XHTML in the future), it> doesn't take much away from the point of the article (and assuming the> page rendered, jQuery is capable of grabbing child elements even if
> they're bad XHTML).Hey Yehuda, it is maybe not so much about semantic incorrectness (InXHTML 2 you can put much more things into a paragraph). It's invalid. Itwouldn't be well-formed. If one uses XHTML as XML with such HTML you
would simply get a yellow error screen (In Firefox at least).-- Klaus___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] $().load didn't works ini IE6

2006-09-25 Thread Donny Kurnia
On 9/25/06, Dan Atkinson <[EMAIL PROTECTED]> wrote:
>
> While I'm I can't answer your problem, I can say that load works fine for me
> in IE6, and for it not to work would have been noticed much sooner as it's
> quite a widely used part of jQuery.
>
> The test suite also confirms that it's working as well.
>
> Ok So... name...  It's used further up the script, but it's not declared
> until further down at the bottom.
>
> Also, I'm unsure why you want to use document.writeln as I find jQuery's
> methods much more compact and neat.

I'm using document.writeln() cause I generate form from a xml file. I
create the xml file to have format like this:

  

  

  
  

  


With above example, I want to produce an select element, then do query
to database using $().load method.
Because the form design could have many lines, I have to loop each
line, do something spesific according to the type value (text,
password, chekbox, etc)
That's why I use document.writeln() function

I suspect the same thing. In firefox, $().load could produce the right
result because it insert the result in the right time, while IE tried
to insert it while the select element still not written . I'm
downloading IE Web Developer right now, I hope I could debug the code.

Anyone have another suggestion to solve my problems?

--
Donny Kurnia
http://hantulab.multiply.com/
http://hantulab.blogspot.com/
---
At times the world can seem an unfriendly and sinister place. But
believe us when we say there is much more good in it than bad. And
what might seem to be a series of unfortunate events, may in fact, be
the first steps of a journey.
-- A Series of Unfortunate Events

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


Re: [jQuery] Form plugin - move to core?

2006-09-25 Thread Rey Bango
Thanks Dave. I think as long as its not a regular occurence (breaking 
backward compatibility) and its well thought out, then it shouldn't be 
an issue.

Rey...

Dave Benjamin wrote:
> On Mon, 25 Sep 2006, Rey Bango wrote:
> 
> 
>>I refer back to EasyDOM that, at the moment, will only work on v1.0a.
>>The upgrade to v1.0.1 broke the functionality. Further, I recall an
>>email that I sent out early this month that referred to the set()
>>method, which is used in EasyDOM, to which John replied letting me know
>>that it had been superseded by attr(). This affected EasyDOM and I'm
>>sure others that took advantage of the original method.
> 
> 
> You can create an alias for set() like this:
> 
> if (!$.fn.set) $.fn.set = $.fn.attr;
> 
> I agree that breaking backward compatibility like this is a bit 
> frustrating. However, it was a pre-release, so I'd say John picked a 
> reasonable time to do it.
> 
> Dave
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 

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


Re: [jQuery] find 2 different element types but keep dom order?

2006-09-25 Thread Mike Alsup
> I want to selecting all input and select elements that are not hidden, while
> remaining there original dom order..

You can do that with expressions.  I think this will work:

$('#myForm :visible')

Mike

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


Re: [jQuery] Form plugin - move to core?

2006-09-25 Thread Dave Benjamin
On Mon, 25 Sep 2006, Rey Bango wrote:

> I refer back to EasyDOM that, at the moment, will only work on v1.0a.
> The upgrade to v1.0.1 broke the functionality. Further, I recall an
> email that I sent out early this month that referred to the set()
> method, which is used in EasyDOM, to which John replied letting me know
> that it had been superseded by attr(). This affected EasyDOM and I'm
> sure others that took advantage of the original method.

You can create an alias for set() like this:

if (!$.fn.set) $.fn.set = $.fn.attr;

I agree that breaking backward compatibility like this is a bit 
frustrating. However, it was a pre-release, so I'd say John picked a 
reasonable time to do it.

Dave

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


Re: [jQuery] Form plugin - move to core?

2006-09-25 Thread Rey Bango
Hi Jorn,

> ...As long as this is 
> introduced with a major release with proper release notes, it shouldn't 
> be a big problem to upgrade.

I disagree with this statement. If my codebase is dependent on a 
specific type of return value from a method and I've used that method in 
numerous places in my code, upgrading will not be a trivial task 
depending on how I've used the return value.

I refer back to EasyDOM that, at the moment, will only work on v1.0a. 
The upgrade to v1.0.1 broke the functionality. Further, I recall an 
email that I sent out early this month that referred to the set() 
method, which is used in EasyDOM, to which John replied letting me know 
that it had been superseded by attr(). This affected EasyDOM and I'm 
sure others that took advantage of the original method.

I understand the need to enhance the library but there has to be a 
better way of moving forward without simply (or arbitrarily) deprecating 
methods. I would really like some thought given to how this would be 
done. I'm using serialize() extensively now in my current project and 
would hate to have to modify code when alternatives to implementing the 
form plugin exist.

Rey




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


[jQuery] Interface Sortables callback

2006-09-25 Thread Kevin Bosak
I'm attempting to use Sortables to sort a list of images but can't get the onchange callback to work.  I am able to drag and drop the elements just fine.  I've also tried other callbacks like onDrag and tried 'onChange' as well.  
Here is my code:  $('ul').Sortable({  onchange: function(){alert('test');},  accept: 'image',  activeclass: 'activedrop',  hoverclass: 'hoverdrop',  helperclass: 'sorthelper',
  tolerance: 'intersect',  opacity:  .7  });And of course the html looks similar to this:
Any help will be greatly appreciated.Thanks,Kevin
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Form plugin - move to core?

2006-09-25 Thread Mike Alsup
> BTW, curious to know answers to Mike's questions about the deserialize
> plugin

Hi Ashutosh,

Regarding your question,

1. I think your deserializer is a great plugin and I expect to use it
in the future but I haven't had an actual use case for it yet.  So it
hasn't been a matter of it not meeting my needs but rather just not
needing it (yet).

2. I knew it existed and had saved a local copy back in July.

3. I don't have any preference against using plugins.  I use several
on a regular basis.

To those following this discussion, the only reason I suggested moving
the form plugin into core was because there are so many questions
about form management and there seems to be an expectation that jquery
will solve these problems out of the box (which is not an unreasonable
expectation in my opinion).

Also, to clarify, the form plugin is not my plugin.  I was involved in
some of the discussion earlier this year but the form plugin was
really a collaborative effort by many, largely driven by Mark
Constable.

Cheers.

Mike

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


[jQuery] find 2 different element types but keep dom order?

2006-09-25 Thread Boonstra, T.H. \(Tim\)



Hi 
all,
 
I want to 
selecting 
all input and select elements that are not hidden, while remaining there 
original dom order..
but when i 
use$('input','select') or .find('input','select') it first adds all input 
elements and then all select elements, which causes me to lose the dom 
order..
 
Does anyone if this 
is possible? and if so, how?
 
Greetings 
Tim
 

This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html

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


Re: [jQuery] Visual jQuery Magazine

2006-09-25 Thread Andy Matthews
No doubt.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rey Bango
Sent: Friday, September 22, 2006 4:44 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Visual jQuery Magazine


I think thats what you call the 5:30am proof-reading error. ;o)

Rey...

Andy Matthews wrote:
> Yehuda...
>
> Wanted to point out a few proofreading issues.
>
> In the Prototype article, under jQuery Workflow, first paragraph, the
> sentence reads
>
> "Most jQuery methods start with the the collection of elements, " (the
> is shown twice).
>
> --
>
> In the interview with John, the callout box covering John's chest has a
> misspelling "the community self-maining...". I assume that should be
> self-maintaining.
>
> ---
>
> In John's interview, the second full paragraph in the right hand column
> on page 7 has a misspelling:
>
> The run-up to jQuery 1.0 had its share of hassles, but had its rewards
> as well. "The major tirumph was simply getting the code out the
> door...". Triumph is misspelled.
>
> -
>
> John's interview ends sort of abruptly. I was fully expecting there to
> be more of it. You might want to consider a better closing paragraph, or
> use some sort of graphical element to indicate the end of the article.
> Many paper mags use a large square "period" to indicate a story's
> completion.
>
> -
>
> The same with the jQuery Object article. It ends rather abruptly.
>
> ---
>
> Other than these few minor things, the magazine was good for the first
> issue and had some good content. Good job Yehuda.
>
>
>  andy matthews
> web developer
> certified advanced coldfusion programmer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --//->
>
> -Original Message-
> *From:* [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of *Lewis, David
> *Sent:* Friday, September 22, 2006 3:54 PM
> *To:* jQuery Discussion.
> *Subject:* Re: [jQuery] Visual jQuery Magazine
>
> Looks great! I look forward to reading it in detail. Congratulations
> on your fine “first issue”.
>
>
>
> --
--
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> *Sent:* September 22, 2006 12:02 PM
> *To:* jQuery Discussion.
> *Subject:* [jQuery] Visual jQuery Magazine
>
>
>
> The release of the first issue of the Visual jQuery Magazine is
> official.
>
> In our first issue, we have:
>
> * an editor's note about the magazine
> * a profile of jQuery's founder, John Resig
> * an introduction to jQuery's basic principles
> * an argument for jQuery's philosophy
> * an interview with the creator of the jqMinMax plugin, Dave
>   Cardwell
> * a roundup of three plugins that are useful for creating rich
>   web applications
> * a really cool back-page ad (check it out!)
>
> Also, make sure to digg the magazine
> .
>
> --
> 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 mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] XPath Axes: ancestor(-or-self) / parents / descendent / children

2006-09-25 Thread George Adamson

I'm interested to know how to extend the selector syntax to accept things
like axis definitions etc. (I know from the forum that we should be using
the .parents() methods etc but I'd like to extend the selector syntax
myself.)

While the .parent() and .children() methods etc work very well when combined
with the excellent XPath-style selector support, I'm finding many situations
where axis selectors such as ancestor:: and ancestor-or-self:: etc (or a
shorthand) would be very useful in the selector expression itself as an
alternative. (Note: The "//" syntax is already a good way to do some
descendent:: like functionality.)

I'm gradually building up a simple 'selectors' plugin to add selectors that
are not in the core. Another kind member has already explained how to add to
the :expr selectors so I have already developed :focus and :hover, with more
on their way (such as those in the docs pages that are not actually in the
current jquery release).

Please note that I'm not trying to restart this debate, I'm just after info
on the best way to provide axis filters in the expression strings. Adding to
the :expr is easy enough because they just need to return true or false. I
just can't figure out how to enable axis:: selectors.

Many thanks,
George Adamson
-- 
View this message in context: 
http://www.nabble.com/XPath-Axes%3A-ancestor%28-or-self%29---parents---descendent---children-tf2331493.html#a6486088
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Ajaxian Framework Results

2006-09-25 Thread Dan Atkinson

Yes. But this is classed as 'web 2.0' so everything is aged from its beta
release! ;)


Fil wrote:
> 
>> > jQuery is only, what, one month old?
>> 
>> Try thirteen months! :) It moved from beta to stable last month, but it
>> has
>> been around for over a year now.
> 
> Yes I know that. But the official release is only one month old.
> 
> -- Fil
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Ajaxian-Framework-Results-tf2324688.html#a6485627
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Ajaxian Framework Results

2006-09-25 Thread Fil
> > jQuery is only, what, one month old?
> 
> Try thirteen months! :) It moved from beta to stable last month, but it has
> been around for over a year now.

Yes I know that. But the official release is only one month old.

-- Fil


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


Re: [jQuery] Ajaxian Framework Results

2006-09-25 Thread Dan Atkinson


Fil wrote:
> 
> jQuery is only, what, one month old?
> 

Try thirteen months! :) It moved from beta to stable last month, but it has
been around for over a year now.
-- 
View this message in context: 
http://www.nabble.com/Ajaxian-Framework-Results-tf2324688.html#a6485512
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Form plugin - move to core?

2006-09-25 Thread Klaus Hartl
Hi Mike,

I too vote for putting the form plugin to the core.


> The recent increase in questions about form serialization and form
> submission makes me wonder the following about why the form plugin is
> not used more:
> 
> 1.  Is it not meeting your needs?

No.


> 2.  Did you not know it exists?

No


> 3.  Do you prefer not to use plugins?

No.

> 4.  Something else?

I am simply to lazy to having to switch to another plugin and so far my 
own solution works and I don't have to support multiple selects yet.


-- Klaus

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


  1   2   >