Re: [jQuery] OT: technique to pass values to JS/JQuery through HTML

2006-09-11 Thread Paul Bakaus
Hi there,another interesting feature I use very often is to extend the XHTML namespace and just use custom attributes like isDisabled, isEditable and such stuff.At any rate, your browser will ignore these attributes and you will have access to them via getAttribute, if you want a validating xhtml file, you should also add a custom dtd file. Check this out: 
http://www.w3.org/TR/xhtml-modularization/dtd_developing.htmlHope this helps!2006/9/10, Arash Yalpani 
[EMAIL PROTECTED]:Hi Klaus,thanks for your answer and your hint to w3! So it seems to be a common
technique. I was wondering if I am the only one doing this, but it'sgood to know that I have accomplices out there ;-)Cheers, ArashKlaus Hartl schrieb:Arash, you could as an alternative use the class attribute for that, but
theres no need to feel false about the id as well. From the HTML Spec:The id attribute has several roles in HTML: * As a style sheet selector. * As a target anchor for hypertext links.
 * As a means to reference a particular element from a script. * As the name of a declared OBJECT element. * For general purpose processing by user agents (e.g. foridentifying fields when extracting data from HTML pages into a database,
translating HTML documents into other formats, etc.).The class attribute, on the other hand, assigns one or more class namesto an element; the element may be said to belong to these classes. A
class name may be shared by several element instances. The classattribute has several roles in HTML: * As a style sheet selector (when an author wishes to assign styleinformation to a set of elements).
 * For general purpose processing by user agents.http://www.w3.org/TR/REC-html40/struct/global.html#h-7.5.2
-- klausArash Yalpani schrieb:Hi,this has nothing to do with JQuery directly but since the brightestminds are around in this mailing list and this should be of general
interest...What I am trying to do is to pass values along with a tag, so I can usethat values on a mouse click or so. A short example:ulli id=li_123Johnny/li
li id=li_345Nina/lili id=li_54Olga/li/ulNow I could do something like this (pseudocode, might not work):
$('ulli').click(function(){var userId = $(this).attr('id').split('_')[1];$.get('doSomething.php?userId=userId');});But it's an ugly workaround, most of the times I wouldn't want to use
the id-attribute like this and I am not sure if any other HTML universalattribute can be used for this purpose. I have seen some otherimplementations of this technique for tooltips for example. Stefan uses
it for his great Interface library where he takes the title tag's valueas an input for the tooltip text. It is even semantically ok:a href="" href="http://www.yahoo.com">
http://www.yahoo.com title=Link to YahooYahoo/aMy question is: do you use similar techniques and what benefits/problemsto they bring with? What are the alternatives?
Cheers, Arash--Arash YalpaniEntwicklung browserbasierter Software-AnwendungenPrenzlauer Allee 173 | 10409 Berlin
[EMAIL PROTECTED] | http://www.yalpani.de___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/-- Paul BakausWeb DeveloperHildastr. 3579102 Freiburg
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Preserving context within closure

2006-09-11 Thread Patrick Hall
Hi guys,

My friend has had some trouble signing up for this list, so he asked
me to forward this question while he tries to get his signup sorted
out:

// start quote

Is there any standardized way to preserve context when setting
callbacks within an object's method? Here's how I see it is done now:

function Editor() { // class Editor
  var self = this;
  $(document).ready(function() { self.doSomething(); });
}

Here's how I think it could be improved:

function Editor() { // class Editor
  $(document).ready(function(ctx
) { ctx.doSomething(); }, this);
}

Do you see what I mean?

Thanks in advance,
--Jonas Galvez

// end quote

thanks,
-Pat

-- 
ᗷɭoℊẚᗰսɳᑯѲ⁈⁈⁈
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Preserving context within closure

2006-09-11 Thread Michael Geary
 From: Jonas Galvez (via Patrick Hall)
 Is there any standardized way to preserve context when setting
 callbacks within an object's method? Here's how I see it is done now:
 
 function Editor() { // class Editor
   var self = this;
   $(document).ready(function() { self.doSomething(); });
 }
 
 Here's how I think it could be improved:
 
 function Editor() { // class Editor
   $(document).ready(function(ctx
 ) { ctx.doSomething(); }, this);
 }

No offense, but that seems more complicated to me. To use it, I have to
remember two rules:

1) The second argument to .ready() is an object.

2) This object is passed into the callback function as the first argument.

That's not too bad, but what about .hover()? It takes two callback
functions. I guess we will have to add that context object as the third
argument. Every jQuery method would have to have this extra argument added,
documented, and tested.

By contrast, for the first example all I have to remember is:

1) Lexical scoping always works, with any nested function, in any JavaScript
code.

And it requires no code in jQuery to implement this.

I think I can understand a possible motivation for the context argument
approach, having been through a similar discussion a few years ago at Adobe.
I was using closures extensively in the Acrobat multimedia JavaScript API
that I was developing. My manager, an outstanding C++ programmer, saw this
code and got a little freaked out - he asked me if I had a bug, because it
didn't possibly look like it could work. I explained about closures, but he
thought JavaScript programmers were unlikely to understand them or be
comfortable with them, so he insisted that we provide context arguments very
much like the one in your example.

In retrospect, I should have stood my ground. Closures may be a bit
discomforting when coming from other languages that do not encourage or
allow them (C++, Java, etc.), but they are so powerful and useful that it
pays to get familiar with them.

If there's another motivation for the context argument I'd be curious to
know what it is - I certainly may have overlooked something.

-Mike


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


Re: [jQuery] Display Data in Chunks

2006-09-11 Thread Arash Yalpani
Hi Rahul,


 I am running a PHP script which processes around 1500 records. Is 
 there a way in jQuery to get partial data back from the server. i.e. 
 get 100 finished records.


no, this is not JQuery's business (and this goes for every other 
Ajax-Framework too). You have to make the *server* return only 100 records.

So you could call your server like this:

$('div').load('http://myserver.com/script.php?page=1pageSize=100');
$('div').load('http://myserver.com/script.php?page=2pageSize=100');
$('div').load('http://myserver.com/script.php?page=3pageSize=100');
...

And of course you have to adjust your script to process page/pageSize.
Cheers, Arash

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


Re: [jQuery] Preserving context within closure

2006-09-11 Thread Christof Donat
Hi,

 As it stands the solution is having a var self = 
 this variable declared in the same function context as the event callback
 closure is defined... but am I the only one who sees it as a bit way too
 messy?

I guess so ;-) I don't think it is messy, actually it is very clear what 
happens and why it should be that way. I think your additional parameter is a 
lot more messy.

Actually I don't see any problem with var selft=this.

 I guess only a few people use class-based approaches like I do, that
 might a possible explanation why no one has complained about it before

The var selft=this-construct has no problems with your class-based approach. 
Maybe it is not comfortable for you, but JavaScript is not a class-based 
language and jQuery is not a class-based library.

Christof

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


Re: [jQuery] Can XPath support multi-attributes selector?

2006-09-11 Thread limodou
On 9/11/06, Blair McKenzie [EMAIL PROTECTED] wrote:
 The selector docs are missing at the moment, so I'll just take a stab at two
 possible causes:
 1) I can't remember if 'thead//input' is the child or descendant selector,
 but 'thead input' is definitely descendant.

'thead//input' is means the input could be the directly child or
descendant child of the thead.

 2) It's possible multiple attribute selectors aren't supported. Try 'thead
 input[...], thead input[...]' instead.

 Blair

Using two selector, does this mean the relationship is *or*? I want is
*and*. But don't worry, the [EMAIL PROTECTED]'checkbox'] is eough for me now.

Thanks.

-- 
I like python!
My Blog: http://www.donews.net/limodou
UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad
UliPad Maillist: http://groups.google.com/group/ulipad

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


Re: [jQuery] XPath '[EMAIL PROTECTED]' doesn't work on XML documents

2006-09-11 Thread Mark Gibson
Mark Gibson wrote:
 John Resig wrote:
 Just a hunch, but IE's DOM support isn't native Javascript. If they got
 their typelib wrong it may be trying to call getAttribute rather than check
 elem for a getAttribute property. Can you replace that last line with this
 and see if it works?

 } else if ( typeof(elem.getAttribute) != undefined ) {
 
 Ok, this fixes one problem, but a further error occurs on line 641:
 
   return elem.getAttribute( name, 2 );
 
 It appears that the getAttribute method on XML elements only accepts
 a single argument:
 
   return elem.getAttribute( name );
 
  From the MS docs the second argument of 2 forces the method to be
 case-sensitive, which if I'm correct, isn't required by any browser
 other than IE. So is it possible to detect whether the browser is IE
 and the document is an HTML doc - in which case use the two args method,
 otherwise call with just one arg.

Sorry, I got this wrong - it doesn't force case sensitive.

According to the docs:
2 - Returns the value exactly as it was set in script or in the source 
document.

Now I'm even more confused, what else would it return?

- Mark.

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


Re: [jQuery] Ajax Throbber How-to?

2006-09-11 Thread Andy Matthews



Rey...

Do you 
have an example?

!//--andy matthewsweb 
developercertified advanced coldfusion programmerICGLink, 
Inc.[EMAIL PROTECTED]615.370.1530 
x737--//- 

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Rey 
  BangoSent: Saturday, September 09, 2006 11:07 PMTo: 
  jQuery Discussion.Subject: Re: [jQuery] Ajax Throbber 
  How-to?Man, that is REALLY powerful John. I added a 
  .hide() method like this:$("#throbber").hide() 
   .ajaxStart(function(){ 
   
  $(this).show();  
  })  
  .ajaxStop(function(){ 
   
  $(this).hide();  });and 
  then added my div like this:div id="throbber"img 
  src="" width="16" height="16" alt="" border="0" 
  //divand it worked like a charm!Thanks for your 
  help and patience John.Rey...John Resig wrote: 
  $("#throbber")
.ajaxStart(function(){
$(this).show();
})
.ajaxStop(function(){
$(this).hide();
 });

jQuery's system is more dynamic than just hiding/showing a single
element, as you can see. Let me know if this helps you at all.

--John

  
I've seen some Ajax libraries that have an Ajax throbber/indicator
function built in which allows you to specify an indicator during the
Ajax call.

Does JQuery have something like this? If not, whats everyone doing to
display one? Any plugins for this?

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

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


Re: [jQuery] New site using jquery ( jcarousel )

2006-09-11 Thread Andy Matthews
Well done!

!//--
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 Armand Datema
Sent: Monday, September 11, 2006 2:16 AM
To: jQuery Discussion.
Subject: [jQuery] New site using jquery ( jcarousel )


Well the site is life now ( soft launch )

http://www.politieknieuws.nl/

Still need to add a few more modules and ad some extra serverside code
to make sure the carousel id is only attached if the rows returned are
10 or more

but so far im pretty happ with it and takes a lot fatser to load then
a custom on i did a while back and the YUI one.

Armand

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


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


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Andy Matthews
I can understand laws on physical access. My uncle is a parapalegic, and had
to fight to gain access to public buildings in Jacksonville, Flordai (where
he lives). But to carry the law over to the website is just pushing it. It's
less expensive than building ramps to all of your stores, but why?!? At
what point do we stop bowing to political correctness and start telling
people you're BLIND...get a friend to help you with the website.

!//--
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 Morbus Iff
Sent: Monday, September 11, 2006 8:28 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.


 I completely and totally disagree with the court in this case. At what
point
 does it stop? Does my personal blog need to be accessible to the blind?
What
 if I don't care about them? Why should the courts get involved in this

No, your personal blog doesn't need to be accessible because it does not
have a commercial brick and mortar store. Much like government agencies
have to follow accessibility in the real world (and are /required/ to do
the same on the Web with US 508), commercial entities have the same
basic requirements (wheelchair ramp). These laws extending to their
commercial entities on the web is not a huge leap to make.

 I just think that we're taking things like this a little too far, IMO.

 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

It's !-- , not !- ..., and signatures should be four lines
maximum, delimited by -- \n, not the monstrosity you're using.

--
Morbus Iff ( take your rosaries off my ovaries )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

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


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


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Morbus Iff
 I completely and totally disagree with the court in this case. At what point
 does it stop? Does my personal blog need to be accessible to the blind? What
 if I don't care about them? Why should the courts get involved in this

No, your personal blog doesn't need to be accessible because it does not 
have a commercial brick and mortar store. Much like government agencies 
have to follow accessibility in the real world (and are /required/ to do 
the same on the Web with US 508), commercial entities have the same 
basic requirements (wheelchair ramp). These laws extending to their 
commercial entities on the web is not a huge leap to make.

 I just think that we're taking things like this a little too far, IMO.
 
 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

It's !-- , not !- ..., and signatures should be four lines 
maximum, delimited by -- \n, not the monstrosity you're using.

-- 
Morbus Iff ( take your rosaries off my ovaries )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

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


Re: [jQuery] Interface Draggable in a container

2006-09-11 Thread Yehuda Katz
I was under the impression that contaiment kept the element constrained inside the parent element, so its X and Y coordinates could not be smaller than the X and Y coordinates of the parent.That's not what I need. I need something like Google Maps, where the element can be outside the parent box, but will still be wrapped inside it.
-- YehudaOn 9/11/06, Stefan Petre [EMAIL PROTECTED] wrote:
If you want to keep the draggable inside its parent you can usecontainment 'parent'. This way the dragged element will never leave itsparent.Paul Bakaus wrote: Hi there, this is because of Interface appending the draggable element to the
 body, rather then to its parent. For example, scriptaculous appends the draggable to it's parent, so it will stay in context. I had the problem the other way around: When using scriptaculous, I
 had to modify scriptaculous to append to body, because of this: My draggable was in a overflow: auto container and I wanted to move it out. However, trying to move a overflow: auto's child will give you
 only scrollbars. Perhaps we should implement a option to toggle between appending to body/parent, like appendTo: 'body' 2006/9/10, Yehuda Katz 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]: Anyone have any idea about this. Resolving this issue is honestly the difference between using Prototype and jQuery for a particular
 project. On 9/8/06, *Yehuda Katz * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 Stefan or anyone who can answer this, I'd like to use a sortable inside a container a la Google Maps. Unfortunately, the current sortable code lifts items
 wrapper inside a container out of the container (regardless of zIndex) so you can see the entire item being dragged. Is there a way to have a draggable item inside a container that stays
 inside the container when being dragged? -- Yehuda Katz Web Developer (ph)718.877.1325 --
 Yehuda Katz Web Developer (ph)718.877.1325 ___ jQuery mailing list 
discuss@jquery.com mailto:discuss@jquery.com http://jquery.com/discuss/ --
 Paul Bakaus Web Developer  Hildastr. 35 79102 Freiburg  ___
 jQuery mailing list discuss@jquery.com http://jquery.com/discuss/___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/-- Yehuda Katz
Web Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Stephen Howard
Consider your own independence.  Now consider needing to rely on others 
for many tasks in your life.  Why would someone with disabilities be any 
less desirous of independence than yourself?  Sure, it's a bit of a 
hassle from a developer's point of view when you have so much else 
already stacked on your plate.  Maybe screen reader companies who want 
an edge on the market should work harder at working with the mess of a 
web that is already out there.  And maybe we can all chip in a bit to 
make the web a more useful place for everyone.  Frankly, solid semantic 
web design is a goal for me regardless of the accessibility issue.  
Where it gets tricky of course is graceful degredation of all the 
javascript work we're so fond of on this list.  But I've heard enough 
other people also express that as a goal that I would expect we'd be 
batting pretty well there too.

-Stephen

Andy Matthews wrote:
 I can understand laws on physical access. My uncle is a parapalegic, and had
 to fight to gain access to public buildings in Jacksonville, Flordai (where
 he lives). But to carry the law over to the website is just pushing it. It's
 less expensive than building ramps to all of your stores, but why?!? At
 what point do we stop bowing to political correctness and start telling
 people you're BLIND...get a friend to help you with the website.

 !//--
 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 Morbus Iff
 Sent: Monday, September 11, 2006 8:28 AM
 To: jQuery Discussion.
 Subject: Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.


   
 I completely and totally disagree with the court in this case. At what
 
 point
   
 does it stop? Does my personal blog need to be accessible to the blind?
 
 What
   
 if I don't care about them? Why should the courts get involved in this
 

 No, your personal blog doesn't need to be accessible because it does not
 have a commercial brick and mortar store. Much like government agencies
 have to follow accessibility in the real world (and are /required/ to do
 the same on the Web with US 508), commercial entities have the same
 basic requirements (wheelchair ramp). These laws extending to their
 commercial entities on the web is not a huge leap to make.

   
 I just think that we're taking things like this a little too far, IMO.

 !//--
 andy matthews
 web developer
 certified advanced coldfusion programmer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-
 

 It's !-- , not !- ..., and signatures should be four lines
 maximum, delimited by -- \n, not the monstrosity you're using.

 --
 Morbus Iff ( take your rosaries off my ovaries )
 Technical: http://www.oreillynet.com/pub/au/779
 Culture: http://www.disobey.com/ and http://www.gamegrene.com/
 icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

 ___
 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] mootools

2006-09-11 Thread Stefan Petre




Hi,

yes, there is a bug in fx part. I fixed it already and will be on-line
today. I also submitted a bug regarding float on IE with the solution.
I hope someone can take some time to fix css('float') in jQuery.

Meece, Clifford T wrote:

  I'm using the interface library effects, so it could be those, or CSS as
you mentioned.  The sample page is:

http://langdata.potowski.org/Tests/InterfaceTest.php# 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of John Resig
Sent: Friday, September 08, 2006 6:48 PM
To: jQuery Discussion.
Subject: Re: [jQuery] mootools

  
  
If that makes any sense.  It seems like the float attribute is being 
turned off during the animation.  Or something.

  
  
Must be a CSS issue, seems to work fine for me:
http://john.jquery.com/jquery/test/float.html

Make sure that all the floated elements have a display of block, that
might help.

--John

___
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] Interface Draggable in a container

2006-09-11 Thread Stefan Petre
True, that's the behavior. I will let you know when the new feature (to 
drag en element inside it's parent) is available for download.

Yehuda Katz wrote:
 I was under the impression that contaiment kept the element 
 constrained inside the parent element, so its X and Y coordinates 
 could not be smaller than the X and Y coordinates of the parent.

 That's not what I need. I need something like Google Maps, where the 
 element can be outside the parent box, but will still be wrapped 
 inside it.

 -- Yehuda



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


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Rey Bango
I think the hardest part for many web developers to grasp, including 
myself, is how web accessibility is handled in web apps. Just hearing 
the term web accessibility makes it sound like a massive task when it 
may be as simple as placing text in ALT or TITLE tags. Since I've never 
coded for this personally, I can't say whats involved but I will be 
looking further into this as I'm sure that my clients, one day, will be 
affected by this.

 From an Ajax perspective, though, I'm not sure of what the implications 
are and with the dynamic nature of Ajax-enabled apps, I'm sure that 
there are additional challenges that we'll face.

Rey...

Morbus Iff wrote:
I completely and totally disagree with the court in this case. At what point
 
 No, your personal blog doesn't need to be accessible because it does not 
 have a commercial brick and mortar store. Much like government agencies 
 have to follow accessibility in the real world (and are /required/ to do 
 the same on the Web with US 508), commercial entities have the same 
 basic requirements (wheelchair ramp). These laws extending to their 
 commercial entities on the web is not a huge leap to make.
 
 
I just think that we're taking things like this a little too far, IMO.

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
 
 
 It's !-- , not !- ..., and signatures should be four lines 
 maximum, delimited by -- \n, not the monstrosity you're using.
 

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


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Yehuda Katz
Or we could say, As a society, we will insist that people who are physically disabled be afforded a minimal level of access to large, commercial or public areas. Disabled people are human beings too, and if we can do something to ensure that those who cannot do the things we take for granted can do them too, we'll be better off in the long run.
Some of our greatest geniuses have been disabled, and we should not risk losing another genius because they cannot operate at a minimal level in the new information age.-- Yehuda
On 9/11/06, Andy Matthews [EMAIL PROTECTED] wrote:
I can understand laws on physical access. My uncle is a parapalegic, and hadto fight to gain access to public buildings in Jacksonville, Flordai (wherehe lives). But to carry the law over to the website is just pushing it. It's
less expensive than building ramps to all of your stores, but why?!? Atwhat point do we stop bowing to political correctness and start tellingpeople you're BLIND...get a friend to help you with the website.
!//--andy matthewsweb developercertified advanced coldfusion programmerICGLink, Inc.[EMAIL PROTECTED]615.370.1530 x737--//-
-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]OnBehalf Of Morbus Iff
Sent: Monday, September 11, 2006 8:28 AMTo: jQuery Discussion.Subject: Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps. I completely and totally disagree with the court in this case. At what
point does it stop? Does my personal blog need to be accessible to the blind?What if I don't care about them? Why should the courts get involved in thisNo, your personal blog doesn't need to be accessible because it does not
have a commercial brick and mortar store. Much like government agencieshave to follow accessibility in the real world (and are /required/ to dothe same on the Web with US 508), commercial entities have the same
basic requirements (wheelchair ramp). These laws extending to theircommercial entities on the web is not a huge leap to make. I just think that we're taking things like this a little too far, IMO.
 !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 
615.370.1530 x737 --//-It's !-- , not !- ..., and signatures should be four linesmaximum, delimited by -- \n, not the monstrosity you're using.
--Morbus Iff ( take your rosaries off my ovaries )Technical: http://www.oreillynet.com/pub/au/779Culture: http://www.disobey.com/
 and http://www.gamegrene.com/icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/-- Yehuda KatzWeb Developer(ph)
718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Morbus Iff
 I think the hardest part for many web developers to grasp, including 
 myself, is how web accessibility is handled in web apps. Just hearing 
 the term web accessibility makes it sound like a massive task when it 
 may be as simple as placing text in ALT or TITLE tags. Since I've never 
 coded for this personally, I can't say whats involved but I will be 
 looking further into this as I'm sure that my clients, one day, will be 

At my old job, we did a large number of government websites, which had 
to meet up with 508. In 90% of the cases, you were fine if:

  * you wrote the HTML/CSS yourself - no WYSIWIGs.

  * you didn't use tables for presentation purposes.

  * you didn't use Javascript for necessary features (this wasn't
that bad for me anyways, cos I was never much a fan of JS for
features, and our clients didn't really want them anyways).

  * every image that was a link had a text equivalent somewhere.
and yes, title and alt attributes [1] not just on images, but also
on /every/ a element. And writing strong alt/title is the key too
- saying Click here to visit the Features page is NOT what
you're looking for.

  * you validated your HTML and your CSS at validator.w3.org,
and validated every page against Bobby.

Honestly, if you start with a strong and semantic and validated X?HTML 
design, adding the accessibility to just that HTML is easy as pie. 
Adding accessibility to jQuery would be a whole 'nother issue.

 From an Ajax perspective, though, I'm not sure of what the implications 
 are and with the dynamic nature of Ajax-enabled apps, I'm sure that 
 there are additional challenges that we'll face.

For my needs, if you can't bookmark the results of an
AJAX application, it's not ready for prime time. Note that
this is the /exact/ metric I applied to good Flash apps.

[1] There is no such thing as an ALT or TITLE tag - they are
 attributes. Please start referring to them as such.

-- 
Morbus Iff ( omnia mutantur, nihil interit )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

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


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Rey Bango
 Honestly, if you start with a strong and semantic and validated X?HTML 
 design, adding the accessibility to just that HTML is easy as pie. 
 Adding accessibility to jQuery would be a whole 'nother issue.

Thanks for the feedback.

   For my needs, if you can't bookmark the results of an
 AJAX application, it's not ready for prime time. Note that
 this is the /exact/ metric I applied to good Flash apps.

I'd be interested in hearing John's perspective on this.

 [1] There is no such thing as an ALT or TITLE tag - they are
  attributes. Please start referring to them as such.

Yes I know. I was typing quickly and had the img and anchor tags on my 
mind when I wrote that. A little bossy today aren't we? ;o)

Rey...

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


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Mike Alsup
 Why should the courts get involved in this matter?

Because few would make the effort otherwise.  Sad but true.  Section
508 was written to call out the fact that software companies CAN NOT
ignore our disabled citizens.  Even so, most do anyway.  Believe me,
it's MUCH easier going into a project thinking about A11y than trying
to tack it on later.  And if you do any work for the government or for
IBM then this is moot point anyway; they won't even consider a product
w/o a VPAT.

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


[jQuery] Help with loading a Google Map

2006-09-11 Thread Jim Davis
I am trying to load this map page:

http://www.4realty.info/newAugust06/maps/map_test.html

into this test page:

http://www.4realty.info/newAugust06/map_example.html

The map_test.html file is the standard Google maps API script with
fixed coordinates.

The map_example.html file uses jquery to load map_test into a div using

script type=text/javascript
  $(document).ready(function(){
  $(a.snoco).click(function(){
$(div#mapContainer).load(maps/map_test.html);
});
  });
/script

As you can see by viewing the example, the file is loading into the
div, but the map is not being displayed.

I was unsuccessful in trying to use pieces of the Google Map plugin found here:
http://olbertz.de/jquery/googlemap.html

My goal is to have a list of cities that when clicked will load the
corresponding map into the div on the page (Ajax style).

Thanks for any help.

Jim

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


[jQuery] Multiple IE+Opera problems

2006-09-11 Thread Michael Weibel
Hi all,

I've got a problem, probably found a bug in jQuery.
The $.load function doesn't refresh the DOM in select-fields when
using IE6 (7 not tested) or Opera(8.5 and 9beta) but in FF it works.
I've got the following source (unimportant things are hided):

in Head:
  script type=text/javascript src=appxfile/jquery.js/script
  script type=text/javascript
$(document).ready(function() {
  $(#KLS).bind(change, function() {
$(#STW).load(./ajax.html);
  })
});
  /script

in Body:
table
  tr
td class=FixTextKlasse/td
td class=FixTextStichwort/td
  /tr
  tr
td
  select name=KLS id=KLS
option/option
option value=AdrGruppeAdressgruppe/option
option value=AdrVerantverantwortliche 
Person/option
  /select
/td
td
  select name=STW id=STW
  /select
/td
  /tr
/table

an Alert instead of the load function works.

Another Problem is to display a ToolTip (or any other hover-Thing) when 
hovering an option within a select-list like this:
select name=KSWT
   optgroup label=foo
 option value=foo title=foofoo/option
   /optgroup
/select

Without optgroup it doesn't work, too.

Thanks for replying (and please leave me a copy if you answer to the
mailinglist - i only receive daily digests)

Yours,
Michael

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


Re: [jQuery] Help with loading a Google Map

2006-09-11 Thread Yehuda Katz
Check this out:http://www.nytsweeps.com/openhouseA site I designed that integrates Thickbox with Google Maps. May help you out.-- Yehuda
On 9/11/06, Jim Davis [EMAIL PROTECTED] wrote:
I am trying to load this map page:http://www.4realty.info/newAugust06/maps/map_test.htmlinto this test page:
http://www.4realty.info/newAugust06/map_example.htmlThe map_test.html file is the standard Google maps API script withfixed coordinates.The map_example.html file uses jquery to load map_test into a div using
script type=text/_javascript_$(document).ready(function(){$(a.snoco).click(function(){$(div#mapContainer).load(maps/map_test.html);});
});/scriptAs you can see by viewing the example, the file is loading into thediv, but the map is not being displayed.I was unsuccessful in trying to use pieces of the Google Map plugin found here:
http://olbertz.de/jquery/googlemap.htmlMy goal is to have a list of cities that when clicked will load thecorresponding map into the div on the page (Ajax style).
Thanks for any help.Jim___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] mootools

2006-09-11 Thread John Resig
 I hope someone can take some time to fix css('float') in jQuery.

Ah, ok - I see the bug for it. I'll check into it.

--John

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


Re: [jQuery] Help with loading a Google Map

2006-09-11 Thread Andy Matthews



Ooooh. 
Yehuda...what a great idea. Works really well on IE/PC.

!//--andy matthewsweb 
developercertified advanced coldfusion programmerICGLink, 
Inc.[EMAIL PROTECTED]615.370.1530 
x737--//- 

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Yehuda 
  KatzSent: Monday, September 11, 2006 11:01 AMTo: jQuery 
  Discussion.Subject: Re: [jQuery] Help with loading a Google 
  MapCheck this out:http://www.nytsweeps.com/openhouseA 
  site I designed that integrates Thickbox with Google Maps. May help you 
  out.-- Yehuda
  On 9/11/06, Jim 
  Davis [EMAIL PROTECTED] wrote:
  I 
am trying to load this map page:http://www.4realty.info/newAugust06/maps/map_test.htmlinto 
this test page:http://www.4realty.info/newAugust06/map_example.htmlThe 
map_test.html file is the "standard" Google maps API script withfixed 
coordinates.The map_example.html file uses jquery to load map_test 
into a div using script 
type="text/_javascript_"$(document).ready(function(){$("a.snoco").click(function(){$("div#mapContainer").load("maps/map_test.html");}); 
});/scriptAs you can see by viewing the 
example, the file is loading into thediv, but the map is not being 
displayed.I was unsuccessful in trying to use pieces of the Google 
Map plugin found here: http://olbertz.de/jquery/googlemap.htmlMy 
goal is to have a list of cities that when clicked will load 
thecorresponding map into the div on the page (Ajax style). 
Thanks for any 
help.Jim___jQuery 
mailing listdiscuss@jquery.comhttp://jquery.com/discuss/ 
  -- Yehuda KatzWeb 
  Developer(ph)718.877.1325 
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Multiple IE+Opera problems

2006-09-11 Thread Dave Methvin
 I've got a problem, probably found a bug in jQuery.
 The $.load function doesn't refresh the DOM in select-fields when
 using IE6 (7 not tested) or Opera(8.5 and 9beta) but in FF it works.

It's a cross-browser issue, arguably a bug in IE (and Opera?), but should
jQuery should try to work around the problem. I am pretty sure that IE does
not support innerHTML to update options on a select element. The ajax
.load() basically reduces to innerHTML, so that won't work. I believe it
does work to replace the entire select though, maybe you could do that. Or,
you could send your information as JSON and have the callback build the
option elements using new Option methods.

 



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


[jQuery] Performance of idrag/idrop

2006-09-11 Thread Mark Gibson
Hi,
I've created a UI where items can be dragged from a palette and
dropped into a table - using jQuery and iDrag/iDrop from Interface.

So, I've made every table cell and heading ('th.td') a Droppable,
so there could be hundreds of droppables, but only a small amount
of draggables (ie. less than 20).

Now this is causing a major delay on starting a drag operation.

I've had a look at idrop.js, and highlight() seems to where the
delay occurs. I tried to profile the code using venkman, but can't
my head round it at the minute - anyone know an easy way to profile
a javascript function?

Anyway, could anyone suggest an alternative, some performance
improvements, or where the bottleneck is in highlight()?

I thought about making the whole table a droppable - but I'm unsure
of how to retreive the target element from a draggable.
(BTW, i'm using ghosting if it makes a difference)

Cheers
- Mark Gibson

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


Re: [jQuery] AJAXGrid plugin - text version

2006-09-11 Thread Stefan Petre
The grid is alpha. Leaks a lot and works very slow on IE, not usable on 
Opera. I don;t advice to use it yet.

Florian wrote:
 Hi,

 There is a documentation ? Or send us your .php (To generate XML)

 Thank you,
 Florian

 On 8/23/06, *Gilles Vincent*  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Impressive !
 However, it's really buggy on Opera :(
 Sounds really promising althought
 --
 2006/8/21, Stefan Petre [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]:
  Maybe this time the text gets right:
 
  This is a plugin I worked on a lot. Has a lot of features:
 
  * in place edit: the cells converts into text field,
 textarea or select
  * resizeable columns
  * keyboard navigation
  * live scrolling
  * triggers events on select and onsort , based on those you
 can link
two grids or interact with other JavaScript function of
 your own
  * AJAX driven data loading based on a simple XML format
  * buffers data
  * basic API to interact with the grid from outside
  * the possibility to filter on server side the data inserted
 by user
 
  I'm working on:
 
  * on a reasonable date picker to edit date fields
  * freezed columns on horizontal scroll
  * resizeable grid
 
  demo at http://interface.eyecon.ro/demos/grid.html
 
  NOTE: don;t jump to use this plugin because:
 
 1. is a very alpha
 2. I haven't decide under which license will be released
 
 
 
  ___
  jQuery mailing list
  discuss@jquery.com mailto:discuss@jquery.com
  http://jquery.com/discuss/
 

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




 -- 
 Florian
 

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


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


Re: [jQuery] Performance of idrag/idrop

2006-09-11 Thread Stefan Petre
When you drag an element each droppable is interrogated until overlaps 
or to the end if no droppable is overlapped. If you have a large amount 
of drop zones in a grid with the same dimensiunos then you can use 
'onDrag' and 'onDrop' callback from draggable to use mathematic rules 
for overlapping and decide witch drop zone is overlapped and to do 
further action.

Mark Gibson wrote:
 Hi,
 I've created a UI where items can be dragged from a palette and
 dropped into a table - using jQuery and iDrag/iDrop from Interface.

 So, I've made every table cell and heading ('th.td') a Droppable,
 so there could be hundreds of droppables, but only a small amount
 of draggables (ie. less than 20).

 Now this is causing a major delay on starting a drag operation.

 I've had a look at idrop.js, and highlight() seems to where the
 delay occurs. I tried to profile the code using venkman, but can't
 my head round it at the minute - anyone know an easy way to profile
 a javascript function?

 Anyway, could anyone suggest an alternative, some performance
 improvements, or where the bottleneck is in highlight()?

 I thought about making the whole table a droppable - but I'm unsure
 of how to retreive the target element from a draggable.
 (BTW, i'm using ghosting if it makes a difference)

 Cheers
 - Mark Gibson

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

   


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


[jQuery] Sortable table plugin in the wild

2006-09-11 Thread Yehuda Katz
http://jobs.joelonsoftware.com/-- Yehuda KatzWeb Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Help with loading a Google Map

2006-09-11 Thread Yehuda Katz
Yup. I tested it on IE/FF/Opera in both Windows and Mac, so it should be pretty stable. It was for a real site, so it was quite important that it really work.-- Yehuda
On 9/11/06, Andy Matthews [EMAIL PROTECTED] wrote:





Ooooh. 
Yehuda...what a great idea. Works really well on IE/PC.

!//--andy matthewsweb 
developercertified advanced coldfusion programmerICGLink, 
Inc.[EMAIL PROTECTED]615.370.1530 
x737--//- 

  -Original Message-From: [EMAIL PROTECTED]
 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Yehuda 
  KatzSent: Monday, September 11, 2006 11:01 AMTo: jQuery 
  Discussion.Subject: Re: [jQuery] Help with loading a Google 
  MapCheck this out:http://www.nytsweeps.com/openhouseA 
  site I designed that integrates Thickbox with Google Maps. May help you 
  out.-- Yehuda
  On 9/11/06, Jim 
  Davis [EMAIL PROTECTED] wrote:
  I 
am trying to load this map page:http://www.4realty.info/newAugust06/maps/map_test.html
into 
this test page:http://www.4realty.info/newAugust06/map_example.html
The 
map_test.html file is the standard Google maps API script withfixed 
coordinates.The map_example.html file uses jquery to load map_test 
into a div using script 
type=text/_javascript_$(document).ready(function(){$(a.snoco).click(function(){$(div#mapContainer).load(maps/map_test.html);}); 
});/scriptAs you can see by viewing the 
example, the file is loading into thediv, but the map is not being 
displayed.I was unsuccessful in trying to use pieces of the Google 
Map plugin found here: http://olbertz.de/jquery/googlemap.htmlMy 
goal is to have a list of cities that when clicked will load 
thecorresponding map into the div on the page (Ajax style). 
Thanks for any 
help.Jim___jQuery 
mailing listdiscuss@jquery.com
http://jquery.com/discuss/ 
  -- Yehuda KatzWeb 
  Developer(ph)718.877.1325 

___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/-- Yehuda KatzWeb Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Felix Geisendörfer




I took this from the other thread "Ajax Throbber How-to?" since I
believe it fits into this one better:

When was the last time you
disabled _javascript_?
Today, yesterday and most days before that. Not for my normal web
browsing, but for ensuring that the applications I build work without
_javascript_. Now even if you don't care about blind people, one thing
you should care about is writing good code. That includes using
graceful degradation for every aspect you can. Why that is important?
Because the landscape of browsers out there is incredibly complex and
it's difficult to test your site with all of them. Now you can take the
common "screw everything non ie/firefox" path or even include
"opera/safari" in that, but you can also try to do better. No matter
how old / bad a browser is, chances that it displays semantic html
correctly and can handle normal forms are *very* high. So if you make a
site that works just with that, and can manage it to build all this
fancy _javascript_ as a layer on top of it, you've build an accessible
web application for 99% of the people. That also includes the majority
of internet users that do *not* have access via broadband and sometimes
turn off JS / images just to gain speed. And I have to admit that I'm
on a 64 kbit connection myself and most of those fancy 500 kb js web
2.0 apps have very little appeal to myself. Yet another reason I like
the lightweightness of jQuery.

One exception to what I've written above is the administration / back
end area of your site. I think it's reasonable to set lower goals for
the accessibility requirements on it unless it's going to be used by
thousands of people. However, I still try do keep it light on JS anyway.

Best Regards,
Felix Geisendrfer
--
http://www.thinkingphp.org
http://www.fg-webdesign.de



Mike Alsup schrieb:

  
Why should the courts get involved in this matter?

  
  
Because few would make the effort otherwise.  Sad but true.  Section
508 was written to call out the fact that software companies CAN NOT
ignore our disabled citizens.  Even so, most do anyway.  Believe me,
it's MUCH easier going into a project thinking about A11y than trying
to tack it on later.  And if you do any work for the government or for
IBM then this is moot point anyway; they won't even consider a product
w/o a VPAT.

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

  



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


Re: [jQuery] Performance of idrag/idrop

2006-09-11 Thread Mark Gibson
Stefan Petre wrote:
 When you drag an element each droppable is interrogated until overlaps 
 or to the end if no droppable is overlapped. If you have a large amount 
 of drop zones in a grid with the same dimensiunos then you can use 
 'onDrag' and 'onDrop' callback from draggable to use mathematic rules 
 for overlapping and decide witch drop zone is overlapped and to do 
 further action.

Yeah, I though of this, but can't see where I can position info from
in the callback.

Ideally I'd like to have a single Droppable on the whole table,
and use the 'ondrop' callback, but having the position of the pointer
(relative to the table element) passed to the callback function,
is this possible?

Cheers
- Mark.


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


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Yehuda Katz
Visual jQuery does not work without js. That was a purposeful decision I made to get it out the door and working. Obviously, this is something that probably will change in the future, but sites like Visual jQuery often can be released in a less friendly format, *especially if an alternative exists.* The existence of John's basic API made me much more comfortable in designing Visual jQuery around _javascript_.
Thoughts?On 9/11/06, Felix Geisendörfer [EMAIL PROTECTED] wrote:



  
  


I took this from the other thread Ajax Throbber How-to? since I
believe it fits into this one better:

When was the last time you
disabled _javascript_?
Today, yesterday and most days before that. Not for my normal web
browsing, but for ensuring that the applications I build work without
_javascript_. Now even if you don't care about blind people, one thing
you should care about is writing good code. That includes using
graceful degradation for every aspect you can. Why that is important?
Because the landscape of browsers out there is incredibly complex and
it's difficult to test your site with all of them. Now you can take the
common screw everything non ie/firefox path or even include
opera/safari in that, but you can also try to do better. No matter
how old / bad a browser is, chances that it displays semantic html
correctly and can handle normal forms are *very* high. So if you make a
site that works just with that, and can manage it to build all this
fancy _javascript_ as a layer on top of it, you've build an accessible
web application for 99% of the people. That also includes the majority
of internet users that do *not* have access via broadband and sometimes
turn off JS / images just to gain speed. And I have to admit that I'm
on a 64 kbit connection myself and most of those fancy 500 kb js web
2.0 apps have very little appeal to myself. Yet another reason I like
the lightweightness of jQuery.

One exception to what I've written above is the administration / back
end area of your site. I think it's reasonable to set lower goals for
the accessibility requirements on it unless it's going to be used by
thousands of people. However, I still try do keep it light on JS anyway.

Best Regards,
Felix Geisendörfer
--
http://www.thinkingphp.org
http://www.fg-webdesign.de



Mike Alsup schrieb:

  
Why should the courts get involved in this matter?
  
  Because few would make the effort otherwise.  Sad but true.  Section508 was written to call out the fact that software companies CAN NOTignore our disabled citizens.  Even so, most do anyway.  Believe me,
it's MUCH easier going into a project thinking about A11y than tryingto tack it on later.  And if you do any work for the government or forIBM then this is moot point anyway; they won't even consider a product
w/o a VPAT.___jQuery mailing listdiscuss@jquery.com

http://jquery.com/discuss/

  




___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/-- Yehuda KatzWeb Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sortable table plugin in the wild

2006-09-11 Thread Morbus Iff
 http://jobs.joelonsoftware.com/

My own examples are at:

  http://www.disobey.com/d/lists/ccgs/
  (click through the subpages for larger examples)

Of special interest here is that /there's no images/ - my
arrows are UTF entities set via CSS' :before and 'content';

-- 
Morbus Iff ( relax have a happy meal )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

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


Re: [jQuery] Sortable table plugin in the wild

2006-09-11 Thread Yehuda Katz
Which means it won't work in IE, right?On 9/11/06, Morbus Iff [EMAIL PROTECTED] wrote:
 http://jobs.joelonsoftware.com/My own examples are at:http://www.disobey.com/d/lists/ccgs/(click through the subpages for larger examples)
Of special interest here is that /there's no images/ - myarrows are UTF entities set via CSS' :before and 'content';--Morbus Iff ( relax have a happy meal )Technical: 
http://www.oreillynet.com/pub/au/779Culture: http://www.disobey.com/ and http://www.gamegrene.com/icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / 
jabber.org: morbus___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/-- Yehuda KatzWeb Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sortable table plugin in the wild

2006-09-11 Thread Klaus Hartl


Yehuda Katz schrieb:
 Which means it won't work in IE, right?

right. could accomplish that with background-images instead...


-- klaus

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


Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Mike Alsup
That's an excellent point Yehuda.  It's very easy to under estimate
the work involved in making an entire application accessible.  I've
suffered through this pain for a huge Swing application.  But at the
same time, people often over estimate what is involved (especially for
a small web-app or website).  The bar is actually rather low: the app
or site must be usable.  If I disable css and js, can I use your
site?  If I use a screen reader with your site will it work?  It
doesn't have to be pretty and it doesn't have to be optimized (bonus
points if it is though).  It just has to work.

Mike

On 9/11/06, Yehuda Katz [EMAIL PROTECTED] wrote:
 Visual jQuery does not work without js. That was a purposeful decision I
 made to get it out the door and working. Obviously, this is something that
 probably will change in the future, but sites like Visual jQuery often can
 be released in a less friendly format, *especially if an alternative
 exists.* The existence of John's basic API made me much more comfortable in
 designing Visual jQuery around Javascript.

 Thoughts?

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


Re: [jQuery] Performance of idrag/idrop

2006-09-11 Thread Klaus Hartl

 I've had a look at idrop.js, and highlight() seems to where the
 delay occurs. I tried to profile the code using venkman, but can't
 my head round it at the minute - anyone know an easy way to profile
 a javascript function?

you could use the excellent firebug extension:

console.time('name');

// code to profile

console.timeEnd('name');


http://www.joehewitt.com/software/firebug/docs.php



-- klaus

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


Re: [jQuery] Sortable table plugin in the wild

2006-09-11 Thread Morbus Iff
 Which means it won't work in IE, right?

No idea - I don't run any machines with IE. I just loaded up Parallels, 
and it doesn't appear that anything related to jQuery on those pages 
actually work (tablesorter, or the hider on the inner pages -- and since 
tablesorter sets the CSS id, I can't tell if the :before/content works). 
I don't care enough to fix it immediately -- about 60% of my visitors 
are not using IE, and the pages degrade nicely enough.

If you can eyeball the fault immediately, lemme know ;)

-- 
Morbus Iff ( in japan, i'm known as a puchi-iede. )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

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


Re: [jQuery] Sortable table plugin in the wild

2006-09-11 Thread Morbus Iff
 Which means it won't work in IE, right?
 
 right. could accomplish that with background-images instead...

The point of my exercise was NOT to use images. I am perfectly fine with 
users of IE not seeing a visual clue that they can sort the headers.

-- 
Morbus Iff ( get on the floor. baby, lose control. )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

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


Re: [jQuery] New site using jquery ( jcarousel )

2006-09-11 Thread Abdur-Rahman Advany
Ziet er leuk uit : ) leuk om te zien dan jquery ook door nl-ers wordt 
gebruikt :)

Andy Matthews wrote:
 Well done!

 !//--
 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 Armand Datema
 Sent: Monday, September 11, 2006 2:16 AM
 To: jQuery Discussion.
 Subject: [jQuery] New site using jquery ( jcarousel )


 Well the site is life now ( soft launch )

 http://www.politieknieuws.nl/

 Still need to add a few more modules and ad some extra serverside code
 to make sure the carousel id is only attached if the rows returned are
 10 or more

 but so far im pretty happ with it and takes a lot fatser to load then
 a custom on i did a while back and the YUI one.

 Armand

 ___
 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] Sortable table plugin in the wild

2006-09-11 Thread Morbus Iff
 You probably shouldn't be fine with 40% of your users have no visual 
 clue *at all* that they can do something. Or am I missing something?

Considering that these lists are largely for my own purposes, yes, I 
could care less ;) Note, however, that the lack of :before or content 
isn't entirely a huge loss - the header of the table cell itself is also 
colored. Granted, it's certainly nothing that I'd proclaim or sell to 
clients as Finished, but these particular lists don't need to be. 
They're not a site -- merely a list of something I collect.

Will I someday fix the error that is causing the jQuery elements to not 
work at all in IE? Yes. Do I plan to stop everything I'm doing to do so, 
when the data itself, and not its interaction, is most important? No.

-- 
Morbus Iff ( my name is legion, for we are many... )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

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


Re: [jQuery] Can XPath support multi-attributes selector?

2006-09-11 Thread John Resig
 [EMAIL PROTECTED]@...]

Klaus is correct, this is how multiple attribute selectors are
supported in jQuery.

--John

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


Re: [jQuery] Interface Draggable in a container

2006-09-11 Thread Yehuda Katz
It's uploaded as the regular version, or is there a svn somewhere I need to download from?On 9/11/06, Stefan Petre 
[EMAIL PROTECTED] wrote:I uploaded the changes. The sad part is I change a lot in draggables but
I haven't got the time to test everything. Again, I didn't test onSafari You have an extra parameter for Daraggables 'insideParent', this way thedragged element will not leave the parent.Yehuda Katz wrote:
 Thanks a ton Stefan, It really is the difference, in this case, between using Interface and Scriptaculous. I appreciate your hard work (as I've said before, community is a major strength of jQuery over Prototype and you're
 proving it here). Kudos. -- Yehuda On 9/11/06, *Stefan Petre* [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: True, that's the behavior. I will let you know when the new feature (to drag en element inside it's parent) is available for download.
 Yehuda Katz wrote:  I was under the impression that contaiment kept the element  constrained inside the parent element, so its X and Y coordinates  could not be smaller than the X and Y coordinates of the parent.
   That's not what I need. I need something like Google Maps, where the  element can be outside the parent box, but will still be wrapped  inside it.
   -- Yehuda  ___ jQuery mailing list discuss@jquery.com
 mailto:discuss@jquery.com http://jquery.com/discuss/ -- Yehuda Katz
 Web Developer (ph) 718.877.1325  ___ jQuery mailing list
 discuss@jquery.com http://jquery.com/discuss/___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/-- Yehuda KatzWeb Developer(ph)
718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Display Data in Chunks

2006-09-11 Thread John Resig
Rahul -

This is a case where implementing a Live Grid style application would
be really good. There's already a jQuery Plugin that supports this:
http://makoomba.altervista.org/grid/

--John

 I am running a PHP script which processes around 1500 records. Is there a
 way in jQuery to get partial data back from the server. i.e. get 100
 finished records.

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


Re: [jQuery] Help with loading a Google Map

2006-09-11 Thread Jim Davis
Yehuda,

Thanks for the link to your site. I used your method for creating the
map page using jquery, as can be seen here:
http://www.4realty.info/newAugust06/map4.html

I still want to simply load this page into a div rather than use
thickbox. My example page:
http://www.4realty.info/newAugust06/map_example.html , still refuses
to load the map.

Any ideas?

Jim

On 9/11/06, Yehuda Katz [EMAIL PROTECTED] wrote:
 Check this out:

 http://www.nytsweeps.com/openhouse

 A site I designed that integrates Thickbox with Google Maps. May help you
 out.

 -- Yehuda

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


Re: [jQuery] Help with loading a Google Map

2006-09-11 Thread Yehuda Katz
You should look at my CSS. I had major issues that were similar to yours, and I used some padding and whatnot to make it work. I don't remember the details at the moment, but take a look at my CSS ;)-- Yehuda
On 9/11/06, Jim Davis [EMAIL PROTECTED] wrote:
Yehuda,Thanks for the link to your site. I used your method for creating themap page using jquery, as can be seen here:http://www.4realty.info/newAugust06/map4.html
I still want to simply load this page into a div rather than usethickbox. My example page:http://www.4realty.info/newAugust06/map_example.html
 , still refusesto load the map.Any ideas?JimOn 9/11/06, Yehuda Katz [EMAIL PROTECTED] wrote: Check this out: 
http://www.nytsweeps.com/openhouse A site I designed that integrates Thickbox with Google Maps. May help you out. -- Yehuda___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/-- Yehuda Katz
Web Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sortable table plugin in the wild

2006-09-11 Thread Christian Bach
Great find Yehuda!

It's fun to see that the plugin is being put to work.

/christian



Yehuda Katz wrote:
 http://jobs.joelonsoftware.com/
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


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


[jQuery] Client-side query term highlighting demo using jQuery

2006-09-11 Thread Dossy Shiobara
Client-side query term highlighting demo using jQuery
http://dossy.org/referer-demo.html

Here's a quick client-side query term highlighting demo that uses jQuery
to parse the document.referrer and walks the DOM to highlight text by
wrapping it in a span with the class qterm.

Thanks, John, for pointing out that I can recursively walk the DOM with
$(body *) ... that hit the spot.

Here's the code:

style type=text/css
.qterm { color: #444; background-color: #ee9; font-weight: bold; }
a span.qterm { color: #00f; text-decoration: underline; }
a:hover span.qterm { color: #666; }
/style

script language=JavaScript
$(document).ready(function() {
  if (!document.referrer) return;
  var matches = document.referrer.match(/[?]q=([^]*)/);
  if (!matches) return;
  var terms = unescape(matches[1].replace(/\+/g, ' '));
  var re = new RegExp().compile('(' + terms + ')', 'i');
  $(body *).each(function() {
if ($(this).children().size()  0) return;
if ($(this).is(xmp, pre)) return;
var html = $(this).html();
var newhtml = html.replace(re, 'span class=qterm$1/span');
$(this).html(newhtml);
  });
});
/script

Naturally, my parsing of document.referrer is *very* naive.  Naturally,
adding the appropriate expressions to match more than just Google (or
any search engine that uses the q=terms form) is probably necessary.

I leave that up to you folks to help fill that part in.  :-)

-- Dossy

-- 
Dossy Shiobara  | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)

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


[jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread Klaus Hartl
Hi all,

I have updated the tabs plugin a bit again. There is now an autoheight
option with which turned on all tabs have the same height. That avoids
jumping content on a page on tab selection.

$(...).tabs({fxAutoheight: true});

Not sure if I mentioned it here before, but you can also have a fade
and/or slide effect for the tab switching...

$(...).tabs({fxSlide: true, fxFade: true, fxSpeed: 'fast'});

If you omit the fxSpeed option it will default to 'normal'.

All kind of examples here: http://stilbuero.de/jquery/tabs/

If you use effects you should include the following CSS in your style
sheet to override inline styles and ensure printing (it's also in the
demo's CSS, but I think it's worth mentioning):

@media print {
 .fragment {
 display: block !important;
 height: auto !important;
 opacity: 1 !important;
 }
}

This works in all modern browsers. Needless to say that IE is not a
modern browser. I will add that later.


-- Klaus



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


[jQuery] Only allow PDF File upload

2006-09-11 Thread Raffael Luthiger
Hi,

I would like to create a simple file upload form. The whole thing should 
be something like described here: http://ch2.php.net/features.file-upload

But I would like to restrict the upload to PDF files. Since I already 
have jQuery running for other purposes I was thinking about using it for 
this as well. (At least for the first stage to check the last three 
letters of the filename. If I am right it is not possible to check the 
MIME type before sending)

My idea is to check the file-input field as soon as the name of the file 
is in there. I am not sure now if I can treat this file-input field like 
a text-input field or if I have to look for something special. If I have 
to treat is special can someone give me more information on how to do it?

Thanks,
Raffael

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


Re: [jQuery] Only allow PDF File upload

2006-09-11 Thread Kelvin Luck
How about:

input type=file accept=application/pdf name=whatever /

A good first step, this should get most browsers limiting what you can 
select in the popup choose file dialog,

Hope this helps,

Kelvin :)

Raffael Luthiger wrote:
 Hi,
 
 I would like to create a simple file upload form. The whole thing should 
 be something like described here: http://ch2.php.net/features.file-upload
 
 But I would like to restrict the upload to PDF files. Since I already 
 have jQuery running for other purposes I was thinking about using it for 
 this as well. (At least for the first stage to check the last three 
 letters of the filename. If I am right it is not possible to check the 
 MIME type before sending)
 
 My idea is to check the file-input field as soon as the name of the file 
 is in there. I am not sure now if I can treat this file-input field like 
 a text-input field or if I have to look for something special. If I have 
 to treat is special can someone give me more information on how to do it?
 
 Thanks,
 Raffael

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


Re: [jQuery] Checkboxes

2006-09-11 Thread Kevin Scholl
Interesting. So it's not the THEAD/TFOOT, but the TH instead of TD.

Thanks for the insight, Matt! I'll try that out!

Kevin

Matt Grimm wrote:
 Works for me if the checkbox is within a correctly constructed data
 cell:
 
 thead
   trtdinput type=checkbox //td/tr
 /thead
 
 m. 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Kevin Scholl
 Sent: Monday, September 11, 2006 2:26 PM
 To: jQuery Discussion.
 Subject: [jQuery] Checkboxes
 
 Would anyone have any idea why checkboxes within the THEAD and TFOOT of 
 a table would not be recognized up by the following:
 
 $(document).ready(function(){
$([EMAIL PROTECTED]'checkbox']).click(function() {
  // do whatever
  });
}); // end ready function
 
 I'm working on a check/uncheck all script:
 
 http://beta.ksscholl.com/jquery/checkboxes.html
 
 where the checkboxes in the header and footer of the table should 
 select/deselect all the others. If I put those checkboxes into regular 
 TBODY rows, they work fine. But as soon as the THEAD and TFOOT tags are 
 applied, it's as if the script can't even see that they exist (as tested
 
 using simple alerts).
 
 Any ideas?
 
 Thanks,
 Kevin
 
 
 ___
 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] Client-side query term highlighting demo using jQuery

2006-09-11 Thread Matt Stith
But it could also be used to highlight things on the current page, maybe a live search, and if someone wants to link to a page with the live search results highlighted, then they could add ?q=Terms onto the end.
On 9/11/06, Dossy Shiobara [EMAIL PROTECTED] wrote:
On 2006.09.11, Matt Stith [EMAIL PROTECTED] wrote: Great job! Personally, i would check if document.location has a 'q' set, and if not, use the referrer, That would make it a little more
 usable.More usable how?The idea behind this code snippet is to highlightsearch query terms on click-through from a SERP.The SERP's URL iswhat we have in document.referrer, not document.location
.-- Dossy--Dossy Shiobara| [EMAIL PROTECTED] | http://dossy.org/Panoptic Computer Network | 
http://panoptic.com/He realized the fastest way to change is to laugh at your ownfolly -- then you can let go and quickly move on. (p. 70)___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Only allow PDF File upload

2006-09-11 Thread Matt Stith
Make sure you dont just accept any inputs from that form, its really easy to spoof referrers and all of that, so be sure to check the file's header in your server-side script and make sure its application/pdf.
On 9/11/06, Raffael Luthiger [EMAIL PROTECTED] wrote:
Thanks!I did already read http://www.w3.org/TR/html4/interact/forms.html. Butsomehow I didn't see this part. I should read more carefully next time. :(
That's exactly what I needed as a first step.RaffaelKelvin Luck wrote: How about: input type=file accept=application/pdf name=whatever /
 A good first step, this should get most browsers limiting what you can select in the popup choose file dialog, Hope this helps, Kelvin :)___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Checkboxes

2006-09-11 Thread Kevin Scholl
Actually, have discovered that the problem has nothing at all to do with 
the HTML table structure. Appears to be a conflict with the table 
sorting script that I currently have in place (which will shortly be 
replaced with the excellent JQuery solution from Christian Bach).

Appreciate the look-see, though, Matt!

Kevin

Matt Grimm wrote:
 Works for me if the checkbox is within a correctly constructed data
 cell:
 
 thead
   trtdinput type=checkbox //td/tr
 /thead
 
 m. 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Kevin Scholl
 Sent: Monday, September 11, 2006 2:26 PM
 To: jQuery Discussion.
 Subject: [jQuery] Checkboxes
 
 Would anyone have any idea why checkboxes within the THEAD and TFOOT of 
 a table would not be recognized up by the following:
 
 $(document).ready(function(){
$([EMAIL PROTECTED]'checkbox']).click(function() {
  // do whatever
  });
}); // end ready function
 
 I'm working on a check/uncheck all script:
 
 http://beta.ksscholl.com/jquery/checkboxes.html
 
 where the checkboxes in the header and footer of the table should 
 select/deselect all the others. If I put those checkboxes into regular 
 TBODY rows, they work fine. But as soon as the THEAD and TFOOT tags are 
 applied, it's as if the script can't even see that they exist (as tested
 
 using simple alerts).
 
 Any ideas?
 
 Thanks,
 Kevin
 
 
 ___
 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] Tabs plugin update: autoheight, effects

2006-09-11 Thread John Resig
Great additions, Klaus - I especially like the autoHeight addition,
makes the user experience feel that much smoother.

--John

On 9/11/06, Klaus Hartl [EMAIL PROTECTED] wrote:
 Hi all,

 I have updated the tabs plugin a bit again. There is now an autoheight
 option with which turned on all tabs have the same height. That avoids
 jumping content on a page on tab selection.

 $(...).tabs({fxAutoheight: true});

 Not sure if I mentioned it here before, but you can also have a fade
 and/or slide effect for the tab switching...

 $(...).tabs({fxSlide: true, fxFade: true, fxSpeed: 'fast'});

 If you omit the fxSpeed option it will default to 'normal'.

 All kind of examples here: http://stilbuero.de/jquery/tabs/

 If you use effects you should include the following CSS in your style
 sheet to override inline styles and ensure printing (it's also in the
 demo's CSS, but I think it's worth mentioning):

 @media print {
  .fragment {
  display: block !important;
  height: auto !important;
  opacity: 1 !important;
  }
 }

 This works in all modern browsers. Needless to say that IE is not a
 modern browser. I will add that later.


 -- Klaus



 ___
 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/


Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread sunsean
Nice addition Klaus, keeping the elements at the same height has
several design advantages. I'll have to take a look at your code.
Cheers

~Sean

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


Re: [jQuery] Can XPath support multi-attributes selector?

2006-09-11 Thread limodou
On 9/12/06, John Resig [EMAIL PROTECTED] wrote:
  [EMAIL PROTECTED]@...]

 Klaus is correct, this is how multiple attribute selectors are
 supported in jQuery.

 --John

Thanks of all.

-- 
I like python!
My Blog: http://www.donews.net/limodou
UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad
UliPad Maillist: http://groups.google.com/group/ulipad

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


[jQuery] John's Pager Plugin?

2006-09-11 Thread aedmonds

Does anyone know what Christian Bach means on his Table sorter site when he
says: * Added: Support for John’s pager plugin.

I've never seen that plugin and I would love to be introduced to it!

Can anyone shed some light? Christian? John???

Thanks,

-Aaron
-- 
View this message in context: 
http://www.nabble.com/%22John%27s-Pager-Plugin%22--tf2256205.html#a6258029
Sent from the JQuery forum at Nabble.com.


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


Re: [jQuery] Sortable table plugin in the wild

2006-09-11 Thread Morbus Iff
 On a sidenote...if anybody knows a very good PHP developer (by very good I
 mean someone with OOP experience) as well as CSS/JS (jQuery!) experience,

I don't measure very good by whether someone knows OOP or not.
You can get yourself into /far/ more trouble with a bad OOP designer.

-- 
Morbus Iff ( hey britney, you say you want to lose control? )
Technical: http://www.oreillynet.com/pub/au/779
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

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


Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread abba bryant

In firefox 1.5.0.6 the autoheight seems set to the first tab in the example,
and when you click the third tab the content overflows onto the tested
with section below it. The container background seems sized correctly but
the actual lorem ipsum text overflows.

If nabble allows it there is a screenshot attached.

http://www.nabble.com/user-files/235947/jq_tab_bug.png jq_tab_bug.png 
-- 
View this message in context: 
http://www.nabble.com/Tabs-plugin-update%3A-autoheight%2C-effects-tf2255236.html#a6258291
Sent from the JQuery forum at Nabble.com.


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


Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread Aaron Heimlich
I'm pretty sure the CSS spec says that's supposed to happen. Attaching the following code should fix this:.fragment { overflow: auto;}On 9/11/06, 
abba bryant [EMAIL PROTECTED] wrote:
In firefox 1.5.0.6 the autoheight seems set to the first tab in the example,and when you click the third tab the content overflows onto the testedwith section below it. The container background seems sized correctly but
the actual lorem ipsum text overflows.If nabble allows it there is a screenshot attached.http://www.nabble.com/user-files/235947/jq_tab_bug.png
 jq_tab_bug.png--View this message in context: http://www.nabble.com/Tabs-plugin-update%3A-autoheight%2C-effects-tf2255236.html#a6258291
Sent from the JQuery forum at Nabble.com.___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread Klaus Hartl
Abba, that is strange. I cannot reproduce that bug, either on Mac nor on 
Windows XP, both with a FF 1.5.0.6.

Which platform have you tested it on?


-- Klaus



abba bryant schrieb:
 In firefox 1.5.0.6 the autoheight seems set to the first tab in the example,
 and when you click the third tab the content overflows onto the tested
 with section below it. The container background seems sized correctly but
 the actual lorem ipsum text overflows.
 
 If nabble allows it there is a screenshot attached.
 
 http://www.nabble.com/user-files/235947/jq_tab_bug.png jq_tab_bug.png 

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


Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread Klaus Hartl


Aaron Heimlich schrieb:
 I'm pretty sure the CSS spec says that's supposed to happen. Attaching 
 the following code should fix this:
 
 .fragment {
 overflow: auto;
 }


Sure, but that's not the point here. If it was working there shouldn't 
be content overflowing.


Regards, Klaus

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


Re: [jQuery] Sortable table plugin in the wild

2006-09-11 Thread dolinsky

Fair enough, and to be clear that wasn't meant to be a measure of skill,
rather a level of distinction (we do serious development here and require
the appropriate knowledge / skill set).  It's not my intention to overtake
this thread with a job discussion though :)  

Morbus Iff wrote:
 
 On a sidenote...if anybody knows a very good PHP developer (by very good
 I
 mean someone with OOP experience) as well as CSS/JS (jQuery!) experience,
 
 I don't measure very good by whether someone knows OOP or not.
 You can get yourself into /far/ more trouble with a bad OOP designer.
 
 -- 
 Morbus Iff ( hey britney, you say you want to lose control? )
 Technical: http://www.oreillynet.com/pub/au/779
 Culture: http://www.disobey.com/ and http://www.gamegrene.com/
 icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Sortable-table-plugin-in-the-wild-tf2253730.html#a6258879
Sent from the JQuery forum at Nabble.com.


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


[jQuery] Form questions

2006-09-11 Thread Yehuda Katz
1) Is it possible to easily get the current focused field?2) Is it possible to programmatically get the cursor to blink in a text field?-- Yehuda KatzWeb Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Form questions

2006-09-11 Thread Michael Geary
 From: Yehuda Katz
 
 1) Is it possible to easily get the current focused field?
 
 2) Is it possible to programmatically get the cursor to blink 
 in a text field?

Hi Yehuda,

I wonder if you saw my reply to your previous message on this topic:

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

I don't think there is a way to do #2, but you don't need to do it if you
follow my suggestion, because your touch keyboard won't steal the keyboard
focus.

You can do #1 by tracking blur and focus events on the text fields. I don't
know of an easier way, but that is easy enough.

-Mike


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


Re: [jQuery] Cookie handling in JQuery

2006-09-11 Thread Yehuda Katz
Would def. make a nice plugin.On 9/11/06, Rey Bango [EMAIL PROTECTED] wrote:
Does JQuery have any methods specific to working with cookies (eg: set,get, et al) or should I just one of the many premade functions out inthe wild?Rey...___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/-- Yehuda Katz
Web Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Form questions

2006-09-11 Thread Yehuda Katz
Michael,I did see your earlier comments. Unfortunately, any click event unblurs inputs. I've gotten around it by tracking the focus using a global variable and reassigning it using the DOM method focus().-- Yehuda
On 9/12/06, Michael Geary [EMAIL PROTECTED] wrote:
 From: Yehuda Katz 1) Is it possible to easily get the current focused field? 2) Is it possible to programmatically get the cursor to blink in a text field?Hi Yehuda,
I wonder if you saw my reply to your previous message on this topic:http://jquery.com/discuss/2006-September/011349/I don't think there is a way to do #2, but you don't need to do it if you
follow my suggestion, because your touch keyboard won't steal the keyboardfocus.You can do #1 by tracking blur and focus events on the text fields. I don'tknow of an easier way, but that is easy enough.
-Mike___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer(ph)718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Form questions

2006-09-11 Thread Michael Geary
 I did see your earlier comments. Unfortunately, any click 
 event unblurs inputs. I've gotten around it by tracking the 
 focus using a global variable and reassigning it using the 
 DOM method focus().

Oh rats, what was I thinking. You're right, of course. Sounds like you have
a good solution now, though.

-Mike


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