Re: [jQuery] Javascript MVC

2007-03-18 Thread Larry Garfield
On Sunday 18 March 2007 4:40 am, Erik Beeson wrote:
 Perhaps fun as an exercise, but it looks like a lot of overhead for
 relatively little gain. Also, it doesn't really fit my idea of MVC. In
 this, the Controller is pushing information from the Model into the View.
 To me, the View is supposed to pull information from the Model, and the
 Model is mapped to the View by way of the Controller, which also handles
 interactions and responds to events.

 It looks like a creative pairing of buzzwords to me :) But it's a clever
 exercise.

 --Erik

Oh bless you, someone who gets it. :-)  Yes, most web apps that claim to be 
MVC are actually PAC (Presentation-Abstraction-Control).  In MVC, the 
Controller is used only for updates and the View has direct read access to 
the Model.  In PAC, the Controller does everything and simply pushes it 
through the Presentation layer, using it as just an output channel and 
theming layer.  

There's nothing wrong with PAC, especially on the web, but people really need 
to stop confusing the two. :-)  I blame Sun for calling anything with 
JSP MVC just to sound cool.

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] Sites Powered by jQuery

2007-02-19 Thread Larry Garfield
Oh yes, there's a whole forum for it: http://drupal.org/forum/25

I'm going to be relaunching a Drupal site in the next day or two that's an 
upgrade from Drupal 4.7 to 5.  We're not doing much with jQuery specifically, 
but, well, it's in there. :-)

On Monday 19 February 2007 8:37 pm, John Resig wrote:
 Absolutely! Just like how Prototype gets more users everytime someone
 uses the Ajax capabilities of Ruby on Rails. Are there any places
 where new Drupal sites are listed/promoted?

 --John

 On 2/19/07, Larry Garfield [EMAIL PROTECTED] wrote:
  Random question.  Do sites powered by a system that uses jQuery count? 
  If so, then pretty much any Drupal 5 site, for instance, counts a a
  jQuery site.
 
  On Monday 19 February 2007 5:48 pm, Rey Bango wrote:
   Hey guys,
  
   Just a reminder that we're always taking submissions for new
   jQuery-powered websites. Please submit them to me or Karl Swedberg
   ([EMAIL PROTECTED]) and be sure to include:
  
   - Link
   - Name of Company
   - What the site does
   - The version of jQuery being used
   - Where and how jQuery is used
  
   For an up-to-date list, please visit:
  
   http://docs.jquery.com/Sites_Using_jQuery
  
   Thanks again for all of your help!
  
   Rey...
 
  --
  Larry Garfield  AIM: LOLG42
  [EMAIL PROTECTED]  ICQ: 6817012
 
  If nature has made any one thing less susceptible than all others of
  exclusive property, it is the action of the thinking power called an
  idea, which an individual may exclusively possess as long as he keeps it
  to himself; but the moment it is divulged, it forces itself into the
  possession of every one, and the receiver cannot dispossess himself of
  it.  -- Thomas Jefferson
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/

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

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] php frameworks

2006-12-04 Thread Larry Garfield
I actually have to look into several frameworks at work very soon, so I'm 
interested in this subject as well. :-)

Depending on what you're building, a CMS/framework hybrid like Drupal[1] could 
be useful.  It's widely used, very flexible, and version 5 (now in beta 2 
release) has adopted jQuery as its Javascript library of choice. :-)

[1] http://drupal.org/

On Monday 04 December 2006 22:10, bmsterling wrote:
 Hey all,
 A partially non-jquery question, anyone use any php frameworks?  I was
 looking at the zend framework, but not sure if it is any good.

 If you use a php frame work can you post a url and why you like it?

 Thanks,
 Ben

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] jQuery 1.1 by the end of Nov

2006-11-14 Thread Larry Garfield
On Tuesday 14 November 2006 15:17, John Resig wrote:
 I'm almost inclined to agree. When planning out the structure for the
 new documentation I realized that the 'Ajax' section was really more
 of a Design Methodologies/Cookbook section, more than anything else.
 Whereas the core dom/css is more of a toolset of functionality.

 That being said - Ajax functionality is used a lot. If it were
 extracted, I'd want to have a special jquery+ajax build to go along
 with it.

I see nothing wrong with multiple standard builds for those not up to 
building their own compressed libraries.  

Core - Minimal stripped version
Standard - More or less what it is now, including Ajax
Advanced - Throw in some of the more useful plugins (by some definition of 
useful, but probably including the forms handling stuff and dimensions and 
possibly Interface; I leave this to others to figure out).
Or Build Your Own! - Link to instructions on how to roll your own 
cherry-picked compressed library.

80% of people will just grab Standard, those that are very size conscious will 
get Core, those who like lots of bells and whistles for no effort get 
Advanced, and heavy-duty developers will build to order.

Excuse me while I go back to lurking. :-)

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] jQuery 1.0.2 RC2

2006-10-08 Thread Larry Garfield
On Sunday 08 October 2006 13:44, Kent Fredric wrote:
 Firefox 2.0_rc1 Linux fails #55 as well.

 Konqueror version 3.5.4 does the same as Larry's, ( Just he didn't specify
 what version so I wasn't sure )

3.5.4 as well, sorry. :-)  

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] JQuery Forge

2006-10-05 Thread Larry Garfield
I seem to recall John saying he was already planning to do exactly that. 
Although if you wanted to volunteer to do it for him, that would give him
more time to work on jQuery itself. ;-)

-- 
Larry Garfield

On Thu, October 5, 2006 11:02 am, Mike Hostetler said:
 A thread a while back mentioned a jQuery Forge website.  I have built a
 forge type website with Drupal for another open source project I'm
 involved
 with called Qcodo.  That website is at http://qforge.qcodo.com.

 I wanted to bring the issue back up because I still see people asking
 about
 it.  If this is already in the works, I don't want to step on anyones
 toes.
 Additionally, if John is working on something like this, I'd be happy to
 take the back seat to whatever he wants to do.

 So, is there any interest in a forge type website with Subversion hosting,
 written on top of Drupal?  Each project (or plugin) would have it's own
 site
 along with issue tracking and control of their piece of the SVN
 repository.

 Is there anyone out there that would be willing to help with this too?

 --
 Mike Hostetler
 [EMAIL PROTECTED]
 http://www.amountaintop.com
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/




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


Re: [jQuery] Mailing List Explosion

2006-09-29 Thread Larry Garfield
On Friday 29 September 2006 06:56, John Resig wrote:

  If making a forum please do not throw away the mailinglist. As a
  coder I personally find mailinglists more convenient than browsing
  forums.

 Same here - that's been a big requirement of mine - the transition has
 to be absolutely graceful, allowing those who want emails (me
 included) to continue receiving them.

 So far, only phpBB is capable of a smooth transition - unfortunately
 I'd prefer to use something that's more integrated with the rest of
 the site.

Amen for keeping the mailing list.  I far prefer lists to forums.  Have you 
looked into the og2list module for Drupal, though?

(I'm not a Drupal wizard, but I am decently versed in it and working on a 
major site implementation in it at work currently.)

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] Widget Challenge

2006-09-27 Thread Larry Garfield
Said famous CMS has support for doing precisely that, and in fact uses such 
support for its own module development.  John hinted before that he was 
looking to go in that direction, which I think would be terrific for all 
involved.

On Wednesday 27 September 2006 01:24, Paul Bakaus wrote:
 Hi there,
 as you may know, the jQuery website is going to be updated soon, supported
 by a famous cms. Maybe it would be good to build in a plugins platform into
 the page, where every developer can add his plugin, like for example
 Firefox Plugins, mozdev. etc.

 What do you think?

 2006/9/27, Dylan Verheul [EMAIL PROTECTED]:
  Feel free to include what's on http://www.dyve.net/jquery
  (autocomplete, autohelp, googlemaps, editable).
 
  On 9/27/06, Yehuda Katz [EMAIL PROTECTED] wrote:
   Dojo released a new widget today: a spreadsheet widget. and it ocurred
 
  to me
 
   that while we don't quite have anything like that yet, there are
 
  scattered
 
   widgets throughout the jQuerysphere. I figured it'd be nice for us to
 
  put
 
   together a jQuery widget package that, to the extent possible, mirrors
 
  the
 
   Dojo widget set.
  
   The challenge is this: where there is no existing widget, create it.
   The holy grail, at this point, would be a replication of their
   spreadsheet widget or their rich text editor widget.
  
   I'd like to put together the widget pack at some point in the next
 
  month,
 
   and I'll be featuring the widget pack in next month's Magazine.
   Theere's nothing requiring an exact mirror of the Dojo widgets, so feel
   free to submit widgets that are not present in Dojo.
  
   You can check out what Dojo has currently at http://dojotoolkit.org/
  
   Enjoy!
  
   --
   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/

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] Wiki Vandalism

2006-09-07 Thread Larry Garfield
On Thursday 07 September 2006 05:07, John Resig wrote:

 Yeah, I have no idea how to revert the page, so instead I just deleted
 all versions back to the one in question - the page is back in its
 original state now. Hopefully switching to Drupal will resolve
 ambiguity problems like this in the first place.

 --John

Are you planning to switch to Drupal for the jQuery site?  Or just the docs 
site?  It would be really nifty if you ended up using the Drupal project 
module as well. :-)

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] $.posting Array of Checkboxes

2006-09-06 Thread Larry Garfield
On Wednesday 06 September 2006 11:00, Rafael Santos wrote:
 Hey... im trying to post via ajax an array of checkboxes with the same id..
 if i do:

Well there's the problem right there.  Two elements in a page should NEVER 
have the same ID.  That is invalid to start with.

If you mean they all have the same NAME, that's OK, although the way you do 
that correctly varies with the server-side language.

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] Test Suit Update

2006-09-05 Thread Larry Garfield
I know Konquer isn't a supported browser, but it's what I use so here's 
results from it anyway:

11. tests/011-css.js (1, 0, 1)
15. tests/015-wrap.js (1, 0, 1)
32. tests/032-is.js (1, 21, 22)
34. tests/034-$.find.js (1, 48, 49)
41. tests/041-eventTesting.js (1, 2, 3)

Those came back red/failed.  Everything else got a green light.

On Tuesday 05 September 2006 13:01, Jörn Zaefferer wrote:
 Hi folks,

 there are now much more test cases in the jQuery code, together with
 some changes to the test suit itself. The difficulty of writing tests:
 The test code itself is error prone, too.Please have a look at this
 preview ( http://joern.jquery.com/test/ ) and check it with different
 browsers and operating systems. There should be two tests failing in the
 current suite, please report any other failures directly to me, post it
 on this list or file a bug report marked with [tests].

 If anyone has an idea how to test the FX module, in other words, all
 those animations, I'd appreciate them!

 -- Jörn

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

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] So I guess Ajax is the end of the web

2006-09-05 Thread Larry Garfield
On Tuesday 05 September 2006 22:04, Justin Carter wrote:
 On 9/6/06, Rey Bango [EMAIL PROTECTED] wrote:
  Figured you all might take a gander at this and weigh in:
 
  http://blogs.zdnet.com/Stewart/?p=101
 
  He and I have been having our own little discussion. :P
 
  Rey...

 Ugh, I stopped reading half way and just skimmed the rest :P

 Flash 9 and Flex 2 are awesome, but its horses for courses. Flex 2 is
 for full on applications. JavaScript CAN achieve some of the same
 things in web applications, but it's power is that it works well with
 HTML and CSS in enhancing a web site, whereas Flex can do no such
 thing without making the site less accessible (IMO, though I think
 most would agree).

When I can write Flash in the open source text editor of my choice and have it 
play in full glory in an open source web browser on an open source OS with an 
open source flash player that isn't 3 versions behind, then I'll care about 
Flash.  Until then, it's dead to me.

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] animate() support for custom tween/easing 'formulas'

2006-09-04 Thread Larry Garfield
On Monday 04 September 2006 06:30, George Smith wrote:

 Check it out -  http://gsgd.co.uk/sandbox/jquery.easing.php
 http://gsgd.co.uk/sandbox/jquery.easing.php

Hm.  In Konqueror, every one of the demos does exactly the same thing.  Click 
one and it slides out, click a second time and it slides back, always the 
same speed.

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] Interface Slider in Opera

2006-09-04 Thread Larry Garfield
I'm afraid I've bad news.  Neither of those work at all in Konqueror 3.5.  As 
in, I try to click and drag and nothing moves at all.

On Monday 04 September 2006 11:55, Stefan Petre wrote:
 hey Yehuda,

 Would you  try again the drag example
 http://interface.eyecon.ro/demos/drag.html and slider
 http://interface.eyecon.ro/demos/slider.html . It is possible I fix it,
 at least for Safari 1.3.2 which had the same behavior. I don't know
 about Opera.

 Also, please tell me which Opera version are you using.

 Thanks
 Stefan

 Yehuda Katz wrote:
  It's not a major problem. You might have missed it. When you start a
  drag, the element jumps a few pixels. This had bad consequences for
  the slider (which seems to rely on horizontal and vertical constraints).
 
  -- Yehuda
 
  On 9/4/06, *Stefan Petre* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  Yehuda Katz wrote:
   This seems to have to do with a general Opera issue with
 
  dragging. All
 
   of the drag demos have the same weird glitch.
  
   On 9/3/06, *Yehuda Katz*  [EMAIL PROTECTED]
 
  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
   wrote:
  
   The Interface slider doesn't work correctly in Opera. When you
   click on the slider, it jumps out of the constraining box.
  
   --
   Yehuda Katz
   Web Developer
   (ph)  718.877.1325
   (fax) 718.686.4288
  
  
  
  
   --
   Yehuda Katz
   Web Developer
   (ph)  718.877.1325
   (fax) 718.686.4288
 
 
  
 
   ___
   jQuery mailing list
   discuss@jquery.com mailto:discuss@jquery.com
   http://jquery.com/discuss/
 
  I tested Interface on Opera 8.01 and was OK.
 
  ___
  jQuery mailing list
  discuss@jquery.com mailto:discuss@jquery.com
  http://jquery.com/discuss/
 
 
 
 
  --
  Yehuda Katz
  Web Developer
  (ph)  718.877.1325
  (fax) 718.686.4288
  
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/

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

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] animate() support for custom tween/easing 'formulas'

2006-09-04 Thread Larry Garfield
I guess I'm turning into the Konqueror tester around here... :-)

They seem to work properly in Konqueror now.  The animation isn't perfectly 
smooth, but each one is working differently now.

Perhaps some better name than in and out could be used?  To me, out 
always means at the expanded point.  It seems like it's being used more 
for start and end.  That would be more descriptive.

On Monday 04 September 2006 14:41, George Smith wrote:
 Haha, yes it is :)

 I've taken it out for now, as Safari and Konq weren't getting it right, and
 reverted to rewriting the whole function :(

 Can't test in Konqueror, so if someone can check that for me.

 How soon before we get a better way? Looking forward to that...

 Thanks,
 George.

 John Resig wrote:
  Ok - that eval-rewrite thing is pretty scary ;-) I'll be sure to add
  in a proper way of doing it soon, so that you don't have to do it that
  way. Regardless, I like the final result. I'll be sure to let everyone
  know when the final code is ready.
 
  --John
 
  On 9/4/06, George Smith [EMAIL PROTECTED] wrote:
  I've been working on this for a while, trying to work out the best way
  of implementing this as a plugin whilst trying to keep as DRY as
  possible, just
  spotted this post, hope I'm not too late :)
 
  I finally figured out the easiest way of defining an ease method would
  be to
  bastardise the speed function rather than rewriting the animate
  function. Also, using a bit of String, rewrite and eval prevented having
  to redo the
  whole fx function. I used a switch for the easing selection function.
 
  As a result this works great as a plugin. The standard effects start
  using
  the penner equations without having to change a line of code. And
  specifying
  custom ones uses all the standard effects.
 
  Check it out -  http://gsgd.co.uk/sandbox/jquery.easing.php
  http://gsgd.co.uk/sandbox/jquery.easing.php
 
  I'd love to hear if anyone can tell me how to not use a switch for the
  easing function, not sure it's the best way, I'd like to be able to have
  a
  basic set of equations and then offer an extended set in a seperate
  file, but couldn't work out how to go about this. Any pointers anyone?
 
  Cheers,
  George.
 
  Jon Burger wrote:
   it would be good to be able
   to pass in a function to the animate method too - much like you can
 
  pass a
 
   function into the default array .sort() method - this function would
   enable
   different styles of easing anmation.
 
  --
  View this message in context:
  http://www.nabble.com/animate%28%29-support-for-custom-tween-easing-%27f
 ormulas%27-tf2169895.html#a6133934 Sent from the JQuery forum at
  Nabble.com.
 
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
  --
  John Resig
  http://ejohn.org/
  [EMAIL PROTECTED]
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] Slidebar with jquery

2006-08-26 Thread Larry Garfield
Hm.  Looks like almost none of the animaltion-based stuff on that site is 
working in Konqueror right now.

On Saturday 26 August 2006 12:35, Matt Stith wrote:
 Try out interface's Slider.

 http://interface.eyecon.ro/demos

 On 8/24/06, testebr [EMAIL PROTECTED] wrote:
  Hi,
 
  Anyone know where I can find an  SlideBar with Jquery like this website
  http://www.strategyinformer.com/pc/hiddenstrokeii/interview.html
  http://www.strategyinformer.com/pc/hiddenstrokeii/interview.html
(prototype
  based) ?
 
  see the YOUR SCORE BLOCK
 
  Thanks.
  --
  View this message in context:
  http://www.nabble.com/Slidebar-with-jquery-tf2161977.html#a5975055
  Sent from the JQuery forum at Nabble.com.
 
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] jQuery and XHTML as XML

2006-08-25 Thread Larry Garfield
On Fri, August 25, 2006 7:18 am, Klaus Hartl said:
 Hi,

 I just spotted in Revision 226, that jQuery will not by all means
 support XHTML as XML.

 Line 743 reads:

 if ( table  this.nodeName == TABLE  a[0].nodeName != THEAD ) {

 nodeName in XML preserves case, that means in XHTML as XML it would
 return table and thead so that doesn't work here.

 This may not have high priority but needs to be fixed, maybe in jQuery
 1.01 or something?

 Fix:

 if ( table  this.nodeName.toUpperCase() == TABLE 
 a[0].nodeName.toUpperCase() != THEAD ) {

Actually the standard fix I've seen most often is to fold to lowercase,
not uppercase.  (Lowercase, because it's variable height, is generally
easier to read.)

This is an incompatibility between HTML (where JS folds to uppercase) and
XHTML/XML (where JS stays at the existing lowercase).  Case folding to
lower is the recommended future-friendly method, I think.

--Larry Garfield


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


Re: [jQuery] Tabs plugin feature request

2006-08-17 Thread Larry Garfield

-- 
Larry Garfield

On Thu, August 17, 2006 3:19 pm, Klaus Hartl said:


 ashutosh bijoor schrieb:
 Hi Klaus
 I've been playing around with your tabs plugin, and would very much like
 it if you could add a callback facility. ie, when the tab is changed,
 i'd like a function to be called in the scope of the active tab.
 I can make this change myself, but dont know whether i have the latest
 version. does the URL quoted below contain the latest version?
 Regards
 Ashutosh

 This can be very useful... I will add that soon!

 -- Klaus

Use case here:

You have n tabs.  Each one is not actually loaded.  When you switch to it,
however, a callback fires that Ajax-loads the contents of that tab,
possibly skipping that if it's already been loaded.

Taing it a step further, an on-leaving callback would let you auto-submit
a form in a given tab as soon as you tab away from it.  Instant-save
tabbed forms for the cost of 2 callbacks.

Sorry, I just put 2 and 2 together and got a very cool 10. :-)

--Larry Garfield


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


Re: [jQuery] Tabs plugin feature request

2006-08-17 Thread Larry Garfield
On Thu, August 17, 2006 3:55 pm, Jörn Zaefferer said:
 Hi Larry!

 You have n tabs.  Each one is not actually loaded.  When you switch to
 it,
 however, a callback fires that Ajax-loads the contents of that tab,
 possibly skipping that if it's already been loaded.

 Sorry, I just put 2 and 2 together and got a very cool 10. :-)

 Sounds interessting. But if I get it right, those tabs wouldn't be
 unobtrusive any more, right?

 -- Jörn

True, if you go with dynamic loading of tab content then it doesn't
degrade nicely.  That's a trade-off with any dynamic-content-loading
system.  But if you don't do that, then the tab system itself would still
degrade nicely.

--Larry Garfield


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


Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread Larry Garfield
On Wednesday 16 August 2006 23:30, John Resig wrote:

 It should behave that way in all of them, since that feature wasn't
 implemented, only inline Javascript worked. However, I just committed
 a fix that implemented that :-)  Additionally, there is now a new
 function:

 $.getScript(foo.js);

 This loads a script and evals it when it comes in. Thanks for the good
 suggestions.

 --John

o_O  So John, when is the 1.0 release due out so that all of this amazing 
coolness in svn is available to the masses? :-)

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it.  -- Thomas 
Jefferson

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


Re: [jQuery] date picker plugin update

2006-08-15 Thread Larry Garfield
On Tue, August 15, 2006 11:49 am, bbuchs said:

 I would argue that less is more. One of the most fantastic things about
 jQuery and the syntax is that it's so damn light. What's the most common
 scenario for a date picker in a web app? Is it really neccessary to pick a
 date 2, 3 years in the future?

 Othewise, great plugin Kelvin. My only suggestions would be (1) to remove
 the extra markup and use a DOM creation method or a wrap() to add the
 container DIV, and (2) instead of doing INIT calls to use something more
 jquery-esque:

 $(input.mydate).datePicker({format:'mm/dd/', startdate:'08/15/2006',
 enddate:'08/31/2006'});

 But that's just me... Great work!

I would second this.  The init method in use currently, if I understand it
correctly, means that multiple date pickers on the same page must have the
same settings.  That is not always desirable.  Passing a config object as
in bbuchs's example above would not only look cleaner, it would make each
picker independently configurable.  Spiffy!

Now, if there were a way to make the start and end dates dependent on
another date picker field, then you'd have support for from and to
date fields, automatically enforcing the the to can't be after the from. 
That would be highly cool. :-)

That said, this is still a most excellent plugin!

--Larry Garfield


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


Re: [jQuery] jQuery form handling

2006-08-11 Thread Larry Garfield
Hm, spiffy.  If I wanted to get an element that didn't have an ID, I
should be able to do that with something like:

$('[EMAIL PROTECTED]myfield]').val();

Right?  What about multi-value fields like select boxes or radio button sets?

-- 
Larry Garfield

On Fri, August 11, 2006 10:25 am, Andy Matthews said:
 jQuery has great ways to interact with forms built right in.

 $('#formfieldID').val() gets the value
 $('#formfieldID').val(someVar) sets the value

 Those are just the two basics. There's loads more built in.

 !//--
 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 Larry Garfield
 Sent: Friday, August 11, 2006 10:14 AM
 To: discuss@jquery.com
 Subject: [jQuery] jQuery form handling


 Hey folks.  I'm evaluating jQuery for my company, and have a few questions
 that I've not been able to find answers to in the Docs on the site yet.

 The major question I have is about form handling.  Specifically, does
 jQuery (either core or a well-supported plugin) provide functions to
 easily manage forms?  By manage, I mean things like pulling values out,
 setting or changing form values programmatically, attaching events in a
 browser-independent way (Safari and events are vil, IME), validation
 rules, etc.  Compound form elements (date pickers, time pickers, drag-drop
 ordering of elements in a multi-select box, etc.) are good, too.

 Where does jQuery stand on these?  I'm hoping well, but am not sure
 presently. :-)  Thanks.

 --
 Larry Garfield




 ___
 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] Moving up the DOM

2006-08-11 Thread Larry Garfield
On Fri, August 11, 2006 11:07 am, John Resig said:
 Or would we need to add a .climb() plugin?

 There's the new .parent() and .parents() methods which allow you to
 traverse up - which is exactly what you want. You can find basic
 documentation for it is (temporarily) here:
 http://john.jquery.com/jquery/docs/

 --John

Hm, spiffy, that does look like just what I'm looking for.  Thanks!

Is that documentation page based on dev, beta, or latest?

I'm fast getting the impression that the jQuery web site docs are well out
of date compared to the current version.  Is the temp link you listed
auto-generated?  It would be really nice to have auto-generated docs built
out of code comments (a la JavaDoc and PHPDocumenter) available on the
site for each of the main trees (dev, beta, latest).  Is there a
Javascript equivalent for documentation?

--Larry Garfield


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