Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Lewis, David
The LGPL JavaScript Vector Graphics library supports: IE 4, 5 and 6, Netscape 4 and later, Opera 5 and later, Safari, Gecko-Engine (Mozilla, Netscape 6+, Firefox), and Konqueror. http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm Maybe someone want to "jQueryize" the libraries? -Original M

Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Lewis, David
You may want to check out: http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm The JavaScript Vector Graphics library allows functions such as: Draw Line, Circle, Ellipse (Oval), Polyline, Polygon, Rectangle using a syntax very similar to Java Swing. Quoting form the Web site: "This JavaScri

[jQuery] $.fn.updateIfModified problems

2006-09-27 Thread Lewis, David
I want to be able to have a progress bar periodically updated after a button is clicked, then when the server-side task is complete - the progress bar is no longer updated (to avoid hammering the server). I have attempted to write a plug-in that extends the functionality of the AJAX library loadIfM

Re: [jQuery] Visual jQuery Magazine

2006-09-22 Thread Lewis, David
Looks great! I look forward to reading it in detail. Congratulations on your fine “first issue”.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 22, 2006 12:02 PM To: jQuery Discussion. Subject: [jQuery] Visual jQuery Magazine   The release of the first

Re: [jQuery] unsubscribe

2006-09-14 Thread Lewis, David
Cool! Thanks :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 14, 2006 12:41 PM To: discuss@jquery.com Subject: Re: [jQuery] unsubscribe Lewis, David wrote: > > With all the recent interest in jQuery and the increased volume to the >

Re: [jQuery] code ideas: if mouseover for 5 seconds then do this elsedo nothi ng

2006-09-14 Thread Lewis, David
I think that this should be possible by creating a time delay function [setTimeout()] that is started on the mouseover event and cancelling the timer delay function [clearTimeout()] on the mouseout event. This way, if the mouse hovers over the link for the duration of the timer delay, then

Re: [jQuery] unsubscribe

2006-09-14 Thread Lewis, David
I do think that you have a good point … but as I am new to jQuery – I’m happy to “put up” with 100’s of emails each day as I’m learning a lot from reading solutions to other peoples’ problems.   With all the recent interest in jQuery and the increased volume to the mailing list, I wonder

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Lewis, David
Under RFC 2695, a user-agent (such as a Web browser) should provide “at least 4096 bytes per cookie” – so the 4KB is a minimum for storage – not a maximum. See: http://www.faqs.org/rfcs/rfc2965 (section 5.3).   (Yes, I’ve spent way too much time reading this RFC …)   From: [EMAI

Re: [jQuery] Problems with embedded scripts

2006-09-08 Thread Lewis, David
Unfortunately, removing the doesn't cure the problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 8, 2006 4:24 PM To: jQuery Discussion. Subject: Re: [jQuery] Problems with embedded scripts > ... then the

Re: [jQuery] Problems with embedded scripts

2006-09-08 Thread Lewis, David
Hmmm ... good point! I'll do some more testing. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 8, 2006 4:24 PM To: jQuery Discussion. Subject: Re: [jQuery] Problems with embedded scripts > ... then the

Re: [jQuery] Problems with embedded scripts

2006-09-08 Thread Lewis, David
;t exist. You should wrap the code in $(function(){ }); (==   $(document).ready(function() { });  ) So that it gets run once the document has finished loading. Blair On 9/9/06, Lewis, David <[EMAIL PROTECTED]> wrote: I'm creating a web application that uses jQuery to popula

Re: [jQuery] Problems with embedded scripts

2006-09-08 Thread Lewis, David
OK ... after a few hours of reading and testing - I found an article on deferring Javascript execution (http://www.websiteoptimization.com/speed/tweak/defer/). It didn't have a solution, but when explaining the problem to two of my colleagues, I hit upon a simple solution ... move the JavaScript so

[jQuery] Problems with embedded scripts

2006-09-08 Thread Lewis, David
I'm creating a web application that uses jQuery to populate a series of s in an HTML page using AJAX. All the JavaScript libraries and some "global" scripting is linked in the of the HTML document. Within the HTML s that are returned via AJAX, jQuery scripts that are specific to the contents of th

Re: [jQuery] AJAX loadIfModified() problems

2006-09-07 Thread Lewis, David
Thanks! I added a custom header to my JSP so that the "Last-Modified" value is only updated when the page contents are updated. It is now working very nicely with jQuery. :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 7, 2006 3:29 PM To: jQuery D

Re: [jQuery] Autocompleter update (again)

2006-09-07 Thread Lewis, David
Works for IE, too: http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/aut ocomplete.asp Here's a good backgrounder document: http://wiki.mozilla.org/The_autocomplete_attribute_and_web_documents_usi ng_XHTML ~ David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

Re: [jQuery] AJAX loadIfModified() problems

2006-09-07 Thread Lewis, David
No, I'm not doing that ... It appears that I ought to, though! :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: September 6, 2006 6:29 PM To: jQuery Discussion. Subject: Re: [jQuery] AJAX loadIfModified() problems David, are you loading the if-modified-sinc

Re: [jQuery] AJAX loadIfModified() problems

2006-09-07 Thread Lewis, David
Hmmm ... My script is querying JSP pages that are accessed through a proxied Apache server. There is no "Last-Modified" header being automatically added, but as the response from the JSP is being generated each time, that the header indicates a new "Date" value. Even when bypassing Apache and makin

[jQuery] AJAX loadIfModified() problems

2006-09-06 Thread Lewis, David
I seem to be having some challenges with the loadIfModified(url) function. Is the remote HTML "injected" if anything is returned by the URL, or if only what is returned that the previous time the URL was queried? I'm building a web page that periodically polls the server to display the status (OK,

[jQuery] Submit a form?

2006-09-01 Thread Lewis, David
Using jQuery, is there an easy way to find a form in an HTML document, submit it, then return “false” (to avoid resubmission of the form).   Using the HTML snippet:   … and the _javascript_: $('#report-submit').click(function() {   $('#report-form').submit();       return