[jQuery] Non-destructive jQuery
>> I'd really like to see John's modifications to pushStack >> included in the jQuery core. Details here: >> http://www.nabble.com/Non-Destructive-jQuery-tf2482924.html >> >> I'm actually wondering if that modification would break any >> existing code, as end() works like before. I guess the only >> situation is in scenarios like this: >> >> var jq = $(); >> var jq2 = jq.destructiveOperation(); >> var jq3 = jq.anotherDestructiveOperation(); >> >> With the non-destructive pushStack implementation,
[jQuery] Pro JavaScript Techniques Beta Book
Hi, Just saw that Beta Book of Pro Javascript Techniques was available. However I was wondering if there is a up-to-date TOC somewhere? I couldn't find it in the chapter I downloaded from the site http://www.apress.com/book/bookDisplay.html?bID=10163 after buying it. Greets, Abdul _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Events are not cloned together with the object
Hi, Just got back to work, and got the snippet below -----xhtml <div id="fileqa_submit"> <div class="fileset"> <div><label>File</label><input size="96" type="file"/></div> <div><label>Description</label><textarea></textarea></div> <a href="javascript:;" style="" class="cloneMe">Clone me</a> </div> </div> -----jquery // clone this file upload section $('.cloneMe').click(function(){ $(this).parent().clone().appendTo('#fileqa_submit').slideDown('slow'); }); At the beginning
[jQuery] Sortable interface issues
<div>Hi, I'm building an application using jQuery, heavily based on the Sortable/Draggable interface. The interface is helping me a lot, however I've found some issues that heavily affect the performance and usability of my application, to the point where its deployment is at high risk. I'll appreciate all the help you can provide (it will be a shame to throw this application to the trash can): </div> <div> </div> <div>So the issues are:</div> <div> </div> <div>1) <strong>Nested sortable containers
[jQuery] Improved Event system & new Accordion
<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="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);} .shape {behavior:url(#default#VML);} </style>
[jQuery] Problem with .left() return auto in Opera
Hi Is there any way to force .left() to return pixel values for Opera 9? The element in question is absolute right positioned, while Opera 8.5 and Firefox return a pixel value, Opera 9 returns 'auto'. This is surely a correct value in this context but mostly if you want the left value, you want a pixel value to reuse it somewhere. Is there any way to change this behavior via a Plugin or in jQuery Core directly? Which results in my next Question, will jQuery allow to get native pixel values in the
[jQuery] How to cache jQuery
Your browser should cache the file automatically. <!----------------//------ 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 Truppe Steven Sent: Thursday, October 26, 2006 9:19 AM To: jQuery Discussion. Subject: [jQuery] How to cache jQuery Hello, i use jQuery on multiple pages of my site so it
[jQuery] getElementsByTagName('*') avoidance?
Is there any supported jQuery platform or situation where context.getElementsByTagName('*') does not get all the elements in the context? Right now the jQuery selector code avoids using it and instead does a recursive crawl of the tree, which has to be a lot more expensive. I know it wasn't there in IE5, but I think we've given up on IE5 support. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] How to cache jQuery
Hello, i use jQuery on multiple pages of my site so it would be nice to make sure that this file is only loaded once and not on every menu change. Is there a cross-browser way (for jQuery supported browsers) to cache the file and make it load only once ? best regards, Truppe Steven _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] fitwindow for tinymce
i´m trying to do a fitwindow-plugin for tinymce using jquery. since I never did anything similar before, I just wanted to ask if somebody has any hints/advice on how to achieve that? maybe there´s an already available jquery-plugin that would help? thanks, patrick _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Sortables, new approach
<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:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:Arial;} h1 {margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt;
[jQuery] performance optimizations?
> 1) Where can I find a searchable archive of this mailing
[jQuery] performance optimizations?
--- Dave Methvin <dave.methvin@gmail.com>
[jQuery] performance optimizations?
Hi, I've just been using Jquery for a few days and WOW, this has been very productive for me. This is fantastic work all around. I do have two questions I'm hoping someone might know something about: 1) Where can I find a searchable archive of this mailing list, because I'd hate to ask questions that have already been answered. 2) I'm getting about a 1.5 second pause when the page loads up, even when on my local system, which appears to be when my jquery commands execute. It's just a little too long,
[jQuery] Events are not cloned together with the object
> trying to duplicate specific div that has id=someID and within
[jQuery] Improved Event system & new Accordion
An accordian widget would be a nice addition. I know of a few places I myself would use it. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of "Jörn Zaefferer" Sent: Thursday, October 26, 2006 6:52 AM To: jQuery Discussion. Subject: [jQuery] Improved Event system & new Accordion Hi folks, I just commited a few changes to jQuery's event system. I fixed the target property of the event.target for both IE and Safari, and modified bind: It now
[jQuery] siblings() expression bug?
> Perhaps you're right. But, in the mean time, you could always use
[jQuery] performance optimizations?
> If your page contains many elements, then using a context might speed up
[jQuery] Events are not cloned together with the object
Hi, Is there a way to clone events of an object that is being cloned in one go. Because right now when I clone an object its events are not copied across. Cheers _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Improved Event system & new Accordion
> Your version relies on the way the menu is described. In extenso, it
[jQuery] I need help with the jQuery .click event
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY text=#000000 bgColor=#ffffff> <DIV dir=ltr align=left><SPAN class=468423920-25102006><FONT face=Verdana color=#0000ff size=2>I see Klaus posted a very clean solution, but just to help you understand what went wrong...</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=468423920-25102006><FONT
[jQuery] performance optimizations?
> 2) I'm getting about a 1.5 second pause when the
[jQuery] siblings() expression bug?
Hey, this is my first post to discuss@ and I'm new to jQuery though I'm loving it. I don't know if this is a bug or not... Shouldn't $('label').siblings('input,textarea').addClass('blah'); work? $('input,textarea').addClass('blah') works (but not at the scope of items that are siblings to labels. $('label').siblings('input').addClass('blah').end().siblings ('textarea').addClass('blah').end(); also works for what I'm doing, but it seemed to me the expression in siblings should work the same way as
[jQuery] Opera 9.02 and events
Sorry. Yes, I did get that. I was just intent on getting it to work the way I wanted it to. And thanks for the explanation of what goes on with in the DOM. Aaron Ullom Netphoria, Inc. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Klaus Hartl Sent: Wednesday, October 25, 2006 5:00 PM To: jQuery Discussion. Subject: Re: [jQuery] Opera 9.02 and events Aaron Ullom schrieb:
[jQuery] ajax start/stop/error - what I'm doing wrong?
Hi there! I'm having some troubles with ajaxStart/Stop/Error etc. I can't make them work. Here's a small test page: http://stamen.lasvegas-nevada.com/jq/ajtest.html If you look at the code you'll see what I mean. Seems that this block: $("#loader") .ajaxStart (function () {$("#loader").append(" started...");}) .ajaxStop (function () {$("#loader").append(" stopped...")}) .ajaxError (function () {$("#loader").append("<p class='error'>error...")}) .ajaxSuccess (function () {$("#loader").append(" success!")});
[jQuery] jQuery on mozilla
Wanted to point out this jQuery implementation I was lucky enough to do : http://www.digg.com/software/Mozilla_releases_Friends_of_Firefox_followup_to_worldfirefoxday2006 Will _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] stopPropagation case
Hello, I've got a question: In simple js applying of stopPropagation looks like <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <script type="text/javascript"> function stopBubble(e) { var e = e || window.event; e.cancelBubble = true; // stops IE if (e.stopPropagation) { // stops others e.stopPropagation(); } } function showTest() {
[jQuery] Has anybody done this?
> Here is my little plugin to create dom element:
[jQuery] Sortables, new approach
I realise it's just a draft but in IE6, when dragging nodes, the text is selected. To fix that, change: <ul class="test"> to <ul onselectstart = "return false"> That can also be set using javascript too. Original Message: ----------------- From: Stefan Petre stefan.petre@gmail.com Date: Thu, 26 Oct 2006 08:16:25 +0300 To: discuss@jquery.com Subject: Re: [jQuery] Sortables, new approach Hi James and Norbert, http://interface.eyecon.ro/demos/test_sort.html check this again. I really need some one to
[jQuery] Has anybody done this?
Here is my little plugin to create dom element: <a href="http://204.13.69.149/~wang/">http://204.13.69.149/~wang/</a> <br clear="all">My questions are: 1, Has anybody done this before? 2, As it's my first crack on jQuery, anything wrong with the api call? 3, Is there any more elegant solutions? -- Best regards Linan Wang _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] conflict iTooltip and ifx.js in IE
Hi jQueries, I found a bug: if itooltip.js comes with the ifx.js in the same document, the tooltip only appears once in IE. Here's an simplified example: <http://test.webdebug.de/tmp/jquery/itoolfx.html> does anybody have an solution or an idea to fix it? -- _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Sortables, new approach
Really like the look of this, I'll test in safari when my colleague gets in with his Mac. Works a treat on Firefox/Linux :D Great work. Original Message: ----------------- From: Stefan Petre stefan.petre@gmail.com Date: Thu, 26 Oct 2006 08:16:25 +0300 To: discuss@jquery.com Subject: Re: [jQuery] Sortables, new approach Hi James and Norbert, http://interface.eyecon.ro/demos/test_sort.html check this again. I really need some one to test this on Safari 2 because I have only Safari 1.3 James Hall wrote:
[jQuery] PLUGIN: In place AJAX editing of TableSorter
jQ gurus -> I've been working on a plugin for Christian Bach's tablesorter that we all hold so dearly ;) It's actually my first "real" jQ plugin, and as such, there's a few technical hurdles I'm facing. For starters; I'm not quite sure the architecture of the plugin is SANE. I've run across an issue in IE (Safari NOT tested -- FF 1.5 works fine) where it seems that calling $.unbind() on an element & then rebinding the same event (click) causes IE to loop execution of the event? If anyone could peep
[jQuery] tableSorter - where has that guy gone...
Well what can i say? I'm late as usual... Down to business, i finally got to spend some quality time together with my trusting companion the tableSorter. I squashed the tfoot bug so it only indexes td elements inside the tbody element. And added a new parameter called "bind". The bind parameter is kind of cool (well at least i think so). What it does is to allow you to set the alias on which event the tablesorter will trigger a resort. To clarify here is some sample code: $('#myTable').tableSorter(
[jQuery] new plugin: unobtrusive CRIR (Checkbox And Radio Image Replacement)
So i've made yet another plugin. I prefer that this plugin will be a part of Interface, since they are interface plugins. As for now i have it working for Checkboxes in both FF 1.5.0.7 and MSIE 6.x, but i want to do some more testing. *What's new?* I've made quite a few improvements upon the other implementations found on this list, but the code is still very simple and easy to understand/use. The checkbox/radio can have a lot of states; - off: no mouse over - off: mouse over - off: mouse down -
[jQuery] Dimensions.js? I'm confused
<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face
[jQuery] jQuery Global Events Slightly Askew
So I noticed something recently when I found out about, and played around with, those zany global event triggers. If you add two different events of the same type to the same element, when you call the global event trigger for that type, each event will get called twice. Example: func1 = function() { window.alert("1"); }; func2 = function() { window.alert("2"); }; $('#box').click(func1).click(func2); jQuery.event.trigger('click'); Problem: You should see "1" and "2" both alerted twice. Luckily there's
[jQuery] Question on bookmarklets
Hello everyone, i would find it usefull to use jQuery for bookmarklets (because jQuery code is so short) but also on pages that do no include jQuery in their pages. Is there a way to do that ?? Is there a way to just add jQuery into the head of the document loaded ? best regards, Truppe Steven _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] BUG: Rebinding an event in IE
I have a "click" event assigned to a link. When the event fires, I'd like to unbind this event and re-assign a new "click" event to the link. The re-assignment is handled within the originating "click" event. This works FINE in FF 1.5/+. It crashes IE by sending it in a continuous loop (IE seems to immediately execute the "click" event re-assignment, thus causing a recursive loop). NOTE: I have tried using $.oneclick() to no avail. Below is a short code synopsis. A demo page is posted @ http://dev.iceburg.net/jquery/tableEditor/rebind.html
[jQuery] I need help with the jQuery .click event
<!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="Courier New, Courier, monospace">Hi folks, I've got a function that builds several elements on a page with a certain class. I've successfully used jQuery to add mouseover and mouseout events to all the elements with that certain class, and it works beautifully. I couldn't be
Next Page