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

[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

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(); }); }

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*

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

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

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? }

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

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,

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?!?

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

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,

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

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

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

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

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

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

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

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

[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

[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

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:

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]

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

[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

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]

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

[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.

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

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

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

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

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

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

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');

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

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

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

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

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

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

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:

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

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

[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

[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

[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

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

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.

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

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

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

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

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

[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:

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

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

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

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

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

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

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

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

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

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