[jQuery] Wacked IE with the wrap function
> ...with an informative "Internet Explorer cannot open the Internet site..." What is the full error message? A couple of weeks back someone reported a similar issue that came down to changing certain parts of the body too quickly for IE. You might try changing any .ready() to .load() to see if that helps. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Another Easy Dom creation for JQuery
I'm using Another Easy DOM creation extension... http://mg.to/2006/02/27/easy-dom-creation-for-jquery-and- prototype#comment-176 to dynamically create a section from a JSON request... $.tpl(pArray, function(){ return [ 'address',{'class':"vcard"},[ 'span',{'class':"fn"}, [this.FIRST_NAME+' '+this.LAST_NAME], 'span',{'class':"org"}, [this.SEARCH], 'a',{'href':"mailto:"+this.EMAIL,'class':"email"}, [this.EMAIL], 'span',{'class':"tel"},
[jQuery] Simple checkbox replacement
Example http://kawika.org/jquery/checkbox/ Code jQuery.fn.checkbox = function (opt) { $("input[@type='checkbox']", this).each( function () { var img = document.createElement("img"); img.src = this.checked ? opt.checked : opt.unchecked; $(img).click( function() { var input = this.nextSibling; if ( input.checked ) { this.src = opt.unchecked; input.checked = ""; } else { this.src
[jQuery] Wacked IE with the wrap function
Interestingly enough, I'm fine with the first link, but I get the error listed on the second link. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Madison Bryan Sent: Thursday, August 17, 2006 4:48 PM To: discuss@jquery.com Subject: [jQuery] Wacked IE with the wrap function
[jQuery] Wacked IE with the wrap function
I have an odd problem that I am at a loss on. IE on Windows dies on this page... http://www2.westga.edu/majors/ ...with an informative "Internet Explorer cannot open the Internet site..." I've narrowed it down to a line of js... $("#wrapper").wrap('<div class="ro"><div class="lo"><div class="ru"><div class="lu"></div></div></div></div>'); ...and an unordered list that gives an index (" A B C..."). If I remove either, it works. Now, the odd thing is that IE has no problem on any of the other pages,
[jQuery] Can jQuery SVN get / set element dimensions?
> $().height(), $().width() and others doesn't work,
[jQuery] Improvements in Ajax facilities
With Ajax facilities of jQuery, it is not easy to deal with errors. In addition, it is inconvenient to repeat reloading the same URL to observe changes. Please confirm my patch handles these issues. [patch for svn.208] http://pepper.sherry.jp/jquery/newajaxpatch-svn208.patch [test page] http://pepper.sherry.jp/jquery/newajaxfunc.html Problems: - $().load() replaces the HTML regardless of whether the request has succeeded or failed. Therefore it is impossible to customize an error message to show.
[jQuery] Form Handling
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] jQuery vs Prototype
>> Haha! I like that a lot :-) Maybe that'll be the tag line for the
[jQuery] Can jQuery SVN get / set element dimensions?
> .leftFromParent()
[jQuery] Can jQuery SVN get / set element dimensions?
Does jQuery SVN have any functions for getting the dimensions (left, right, top, bottom, width, height, z-index) of an element? Something that also works across different browsers. I want to be able to do something like this: var me = $("#myelement"); var meD= $("#myelement").dimensions(0); // dimensions() would also get the first match var left = meD.left; Or maybe a better way (having left, right, top etc as methods): // set left, top and height (chain not broken) $("#myelement").left("12px").top("-2em").height("6em");
[jQuery] date picker plugin update
> Make the textfield read-only. Whats the point in having
[jQuery] Plugin for browser's "Go Back" button and "bookmark"
I have made a plugin that helps you make your Ajax-driven page available for "Go Back" button and "bookmark" of browser. See the sample page: http://www.mikage.to/jquery/jquery_history.html _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery vs Prototype
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);}
[jQuery] Plugin for browser's "Go Back" button and "bookmark"
You my friend are a GENIUS!!! I need this sort of thing for a project I'm building using jQuery! Wonderful! <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Taku Sano (Mikage Sawatari) Sent: Thursday, August 17, 2006 9:43 AM To: jQuery Discussion. Subject: [jQuery] Plugin
[jQuery] Rebind events on dynamic content (modified DOM)
Hi Guys, I'm fairly new to Jquery but love it! My problem: I'm loading some DIV in to a container DIV using AJAX... all works like a charm. However, I need to bind some events to the DIVs I'm dynamically loading in, no joy :( I guess I need to refresh the DOM somehow? My code looks like: $("#daysheader").load("ajax/weekview_headers.aspx?fromdate=" + calendarDay.Date); $("#days").load("ajax/weekview_appointments.aspx?fromdate=" + calendarDay.Date); BindTimeSelectors(); function BindTimeSelectors()
[jQuery] New plugin: Autocompleter
Here's a new plugin I wrote called Autocompleter. Guess what it does? I can't upload it to my demo site now, so I'll just give you the source code. Usage $("select_an_input_element").autocomplete(url, options); url = url to autocomplete function, will receive a get parameter named "q" (sans quotes) with the partial text to be completed. the page should output each result on a single lines (empty lines are ignored), any extra information should be preceded by a pipe | symbol. options = lots of stuff
[jQuery] Improvements in Ajax facilities - error handling?
Speaking of errors... That's one thing I've really wanted. When using jQuery, I've noticed that assuming all of the syntax is valid, if you run code that doesn't work, nothing happens. No error message, nothing. That makes debugging quite difficult because you have no idea where to start. Is there any way that jQuery could generate SOME sort of error, a default alert box maybe) with error information? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer
[jQuery] Code Submission / Core Plugin: $().clone()
Add this code to create a working clone function: $.fn.clone = function() { return this.pushStack( jQuery.map( this, function(i){ return i.cloneNode(true); }) , arguments ); }; Use it like so: $('#the_tr').clone().appendTo('#destination_table'); This code was based off SVN revision 200, and created partly in response to http://proj.jquery.com/dev/bugs/bug/107/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Dom creation
> From: Aloyzas Rimeika
[jQuery] Help with the SVN Build Process [u]
I've an ANT build for my development environment before and I added targets to checkout/update the latest version from the SVN. The available tag checks, if an SVN version exist (my eclispe project was initial empty), if not an initial checkout is done, otherwise the sources are updated. If you're interested, here is the ant snipplet for the SVN handling: <taskdef name="svn" classname="org.tigris.subversion.svnant.SvnTask"/> <available file="${targetdir}/.svn" type="dir" property="already.checkout"/>
[jQuery] jQuery build syste - ant task
Olla! Could someone please commit the ant build created by Mike and Christian to the repository? Thanks. -- Jörn -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Dom creation
> How would i go about making a table and then inserting rows
[jQuery] jQuery vs Prototype
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:Arial;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;}
[jQuery] Help with the SVN Build Process
Hello. I have been building via the build.cmd script (i'm on windows) for some time. However, recently you changed it to be 'unix like' building, with makefiles, and throwing in somethign about java to boot. Needless to say, I'm confused. Can you give a 'linux-build-enviornment' newbie a quick tutorial? Preferably starting from "Okay, I just checked out the SVN code" and going to "and now we have jquery-svn.js", and assuming I don't have make / java / whatever is required? I promise i'll wikify it
[jQuery] Simple checkbox replacement
> $("<ul><li>foo</li></ul>").find("li").click(...).end().appendTo("body"); IE6 leaks a small amount of memory if you attach an event handler before tacking it onto the body: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ietechcol/d nwebgen/ie_leak_patterns.asp Probably isn't worrisome unless you're generating a lot of them though. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Looking for the form JS in SVN,,,
Hmm, seems that the form.js is out of SVN, what was the reason for that? I think it should stay in SVN, since so many developers can depend on that (serialize, ajaxform etc) _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Some mails not arriving
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD> <BODY text=#000000 bgColor=#ffffff> <DIV><SPAN class=553355316-16082006><FONT face=Arial color=#0000ff size=2>John posted the server has been rebooted. Post away.</FONT></SPAN></DIV> <BLOCKQUOTE> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
Server Outage
Hi Everyone - It appears as if the jQuery server was down for some indeterminate amount of time this morning (GMT -0500), it has now been restarted and is working fine. I know that some of you tried to send mails to the mailing list - now would be a good time to try again. --John
Some mails not arriving
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Tahoma">I've send some mails today to the mailing list (2 of them) but haven't received copys of them. Is there a glitch in the mailing list? </font></font> </body> </html>
[jQuery] .contains() ?
I'm trying to figure something out, but i'm kinda lost in the documented jQuery code... Is there a way to see if an object is a child of another object? e.g. if a link is a child of a div? <link1> <div> <link2> </div> based upon the outcome, i need to do something, which i am going to share, but first i need to get it working :) -- Gilles _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Checkbox Utilities
Hello Everyone, Re post "Simple checkbox replacement"... Very nice indeed, well done Kawika. Here is my first attempt at writing some simple generic utilities for chechboxes, the first one makes a group of checkboxes operate like radio buttons and the second is simply a check/uncheck all checkboxes in a group (thanks to Mike Alsup for the inspiration here). I would appreciate any improvements and suggestions. I think it would be nice to have a collection of useful utilities like these in the forms
[jQuery] platform/plugins detection with jQuery
Dear list, is there a jQuery plugin or example on platform+plugin detection? If not could you please, point me to the latest in plugin detection and object/embed code? Thank you and have a great day! Will Arp _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Closures
> http://laurens.vd.oever.nl/weblog/items2005/closures/
[jQuery] replaced content losing it's 'binding'
Taking my first real stab at jquery, and can't get around what I expect is a common problem: I have a table to which the user can add/remove rows. The data in the table is also periodically refreshed. All my functions work on their own, but after the first add/refresh, my deletes stop working.
[jQuery] Closures
<a href="http://laurens.vd.oever.nl/weblog/items2005/closures/">http://laurens.vd.oever.nl/weblog/items2005/closures/</a> Has this been found to be an adequate solution to this issue? (mainly for non jquery code) -js _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Simple checkbox replacement
Oooh...nice! <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of kawika k Sent: Tuesday, August 15, 2006 3:45 PM To: jQuery Discussion. Subject: [jQuery] Simple checkbox replacement Example http://kawika.org/jquery/checkbox/ Code jQuery.fn.checkbox = function (opt) { $("input[@type='checkbox']",
[jQuery] How to bind an event to a function of a class?
Hi Guys, How can i bind/unbind an event to a specific function of a class? e.g. class { somecallback() { }, somefunc() { $(document).keypress(this.somecallback); }, otherfunc() { $(document).unkeypress(this.somecallback); } } Is this possible? Thanx, Gilles _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
New jQuery Build System
Hi Everyone, I just wanted to let everyone know that I've finished the new build system for jQuery - it's really fantastic. All documentation, test cases, and packages are built dynamically straight from the original source. The best way to check this all out is to check it out from SVN: svn co svn://jquery.com/jquery Instructions for using the Makefile can be found in the README. Here are some of the biggest changes: - There is now a Makefile that is able to compile any individual aspect of jQuery
[jQuery] date picker plugin update
Sure... It wouldn't be all that common. But it was a request from the last time he posted a link to it. It will come up though and I'd suggest trying to build it in if it's not too much addtl code. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of bbuchs Sent: Tuesday, August
Next Page