[jQuery] Jquery.css function poor performance
<div>Hi,</div> <div> </div> <div>I'm performing css manipulation in my application, but the performance degrades considerably fast as more markup is added. I tracked the problem to the jQuery.css function, specifically for those cases where I'm setting the width and height. Even small additions to the markup inside of the container to which I want to set the width and height produce a big increase in the delay of such function. </div> <div> </div> <div>I took a quick look at the implementation and
[jQuery] Checking select option has class?
--
[jQuery] Setting Height in FF
I am having some trouble in FF <a href="http://1.5.0.7">1.5.0.7</a> on Win XP. It works in IE but not in FF. Am I doing this wrong? Is there a workaround? Glen Code Snippet: <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 6.8ex; padding-left: 1ex;" class="gmail_quote"> <span style="font-family: courier new,monospace;"><script></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">$(document).ready(function() {</span><br
[jQuery] Netscape jQuery Ajax support
I know that Netscape is not officially supported by jQuery, but I assumed that it would work considering that Netscape just uses IE or Firefox underneath. However, my testing shows that neither Netscape 7 and Netscape 8 seem to work with Ajax calls. In fact, trying to make an Ajax call with Netscape 7 completely crashes the browser. The results are entirely reproducible. This is on Windows XP. Does anyone else have similar experiences with Netscape? Thank you, Mike Chabot http://www.teachers-teachers.com
[jQuery] Fix found for Interface plugin library (Sortables)
Is this the right forum to post the fix? I didn't find any contact info on the interface site: http://interface.eyecon.ro/ -Ed _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Checking select option has class?
<!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> <DIV dir=ltr align=left><FONT face="Trebuchet MS" size=2><SPAN class=121132916-18102006>Nope, that didn't work - I suspect (read:complete guess) because #myselect is the select element itself, not the option within it. Anyone else offer a solution?</SPAN></FONT></DIV> <DIV><FONT face="Trebuchet
[jQuery] How to bind a function only once
I have a group of checkboxes, and as long as any one of the boxes is checked I need a function bound to a select list, but anytime none of the boxes are checked I need the function unbound. What I have below binds and unbinds, but if I select lets say 4 checkboxes the function is bound and called 4 times when I change my select list. How do I just bind it once? $('input[@name=label_checkbox]').click(function(){ if($("input[@name='label_checkbox']").is(":checked")) { $('#label').bind('change',
[jQuery] How to bind a function only once
> I have a group of checkboxes, and as long as any one of > the boxes is checked I need a function bound to a select > list, but anytime none of the boxes are checked I need the > function unbound. What I have below binds and unbinds, > but if I select lets say 4 checkboxes the function is bound > and called 4 times when I change my select list. How do > I just bind it once? > > $('input[@name=label_checkbox]').click(function(){ > if($("input[@name='label_checkbox']").is(":checked")) { >
[jQuery] Jquery.css function poor performance
--
[jQuery] Interface - dragging nodes containing text areas (Firefox, Safari)
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I've got an issue with using the Interface idrag.js. The Interface website implies I should be asking here for support issues.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have a DOM structure that contains, amongst other things, a text field and a textArea. What I find when I drag the object in Firefox is that any text I might have typed into the textArea disappears, and when I stop
[jQuery] Checking select option has class?
<HTML > <HEAD> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD> <BODY > <DIV> <TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0"><!-- Letter Heading --> <TBODY> <TR> <TD><!-- Left margin --> </TD> <TD> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=688250216-18102006>Hi all,</SPAN></FONT></DIV> <DIV><FONT face="Trebuchet MS" size=2><SPAN class=688250216-18102006>Thanks
[jQuery] Submitting a form after input type="file" onchange
Thanks Klaus and Paul, I was getting errors on the empty submit call. It works now. Thanks! -Marshall -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Klaus Hartl Sent: Wednesday, October 18, 2006 8:41 AM To: jQuery Discussion. Subject: Re: [jQuery] Submitting a form after input type="file" onchange
[jQuery] SVN and firewall issues
Hi, I'd love to be able to work with the latest jQuery code. However, in the infinite wisdom of the network admins at work, they don't allow access to external svn: urls. With the old jQuery svn web interface I could download a zipped up file containing the most recent revision, but I can't find that on the new site. Does anyone know if there is such a thing still, or if not if there is another way for me to get updated code other than using SVN at home and remembering to put it on a thumb drive
[jQuery] SOT: PNG fix seems to cause page to load endlessly
That worked perfectly Klaus...thank you. <!----------------//------ 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 Andy Matthews Sent: Tuesday, October 17, 2006 11:21 AM To: jQuery Discussion. Subject: Re: [jQuery] SOT: PNG fix seems to cause page to load endlessly I see...thank you Klaus. I'll
[jQuery] Possible changes to hide/show
hide and show do not work properly on a table row within firefox, it does however work in IE The reason being, firefox requires you use the "table-row" for the display method instead of "block". -- Richard Thomas - CEO Cyberlot Technologies Group Inc. 507.398.4124 - Voice _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Thickbox "Extensions" - Dialog & Monolog [REPOST]
[Original message ended up in the "API Discussion" thread - sorry!] I'm a big, big fan of Cody's Thickbox script. I'm using it for a web app I've been building, and it's fantastic. I wanted/needed a script that worked similarly for custom dialog boxes ("OK/Cancel"). Since Thickbox was already doing most of the heavy lifting, I wrote up some functions that tap into it and handle the dialogs. Something else I've been working on is a "Monolog" box, which I read about on the Humanized weblog [1]. Essentially,
[jQuery] Is there a way to reply to someone's post...
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:lucida console, sans-serif;font-size:10pt"><DIV>Adrian,</DIV> <DIV> </DIV> <DIV>I don't have access to the headers because I don't have the email message at all. I'm subscribed to the list so I can post, if I want to. But I unchecked the service of the mailer program at jQuery, so I'm actually not receiving any message to my inbox. I found that browsing the archives is much more effective to
[jQuery] Mouseover/out + CSS background image behavior change in IE between r
That fixed it completely. Thank you very much! >From: EJ12N <ej12n@yahoo.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: discuss@jquery.com >Subject: Re: [jQuery] Mouseover/out + CSS background image behavior change >in IE between r >Date: Tue, 17 Oct 2006 18:56:18 -0700 (PDT) > > >Hello, I believe this is IE background-image flickering problem you are >experiencing... >http://evil.che.lu/2006/9/25/no-more-ie6-background-flicker > >In jQuery code... >//Stop IE flicker >if ($.browser.msie
[jQuery] Mouseover/out + CSS background image behavior changein IE between rev 249 and 413
Thanks for the information. I have posted a quick screencam of the problem here: using 249: http://www.ibx.cz/jq/old.htm using 413: http://www.ibx.cz/jq/new.htm The only difference between the two is the new version of JQuery. >From: "Brandon Aaron" <brandon.aaron@gmail.com> >Reply-To: "jQuery Discussion." <discuss@jquery.com> >To: "jQuery Discussion." <discuss@jquery.com> >Subject: Re: [jQuery] Mouseover/out + CSS background image behavior >changein IE between rev 249 and 413 >Date: Tue, 17 Oct
[jQuery] jQuery API discussion
Hi JornjQuer, As a newbie, my impression is that overall it's a _lot_ simpler and sleeker than say prototype. And I love the compactness of the language. However, there are a few aspects that will throw off new folks -- particularly graphic designers who don't have a programming background -- that they encounter right from the beginning. If more advanced features, which few people will use until they've been working in jquery for a while, seem a bit arcane, that's OK. But to do almost anything, you
[jQuery] Replying to threads
Note.. please don't reply to existing threads when you're starting a new one. You make it harder to read mail for those of us with threaded mail-clients, as well as in the mailinglist archives. Steven Wittens _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Radio button bug
I've found a rather tricky bug in jQuery 1.0.2. When you use an animated slideDown() or show() on an element containing one or more radio buttons, the radio buttons lose their selection status in Firefox (1.5 and 2.0 for sure, maybe others), and Opera 9 (maybe others). It works fine in IE6 and Safari 2. This also only seems to happen when you apply an animation for the first time. I have attached a minimal test case to reproduce. There are four pairs of radiobuttons, each having one radio button
[jQuery] Older Interface Code?
I'm wondering if anyone has an archived copy of the older version of Interface elements. It seemed to be less buggy than the present one. I need the uncompressed variety, which unfortunately I didn't have the forethought to hang on to. So, does anyone have an uncompressed, older (pre jQuery 1.0.1) version of Interface? If so, please let me know. Thanks to everyone who contributes to this list, by the way - definitely one of the better ones I'm subscribed to. :) -- Nathan Smith 208 348 2213 - work
[jQuery] problem iwith leadiing space in IE
Hi, I just started using JQuery and I'm amazed how simple things can be done... Unfortunately I've run into an IE issue (I think). Im using an UL list for A-Z links (large site). I try to read out the LI elements and use them to generate the path to the html file (E.g. A.html from <li>A</li>. This seems to work fine in FF, but in IE I end up with a filename of 'A .html' (note the space): Demo: (only A and B load data) using V.249 http://www.sozzi.cn/jquery/fish_ajax_3.html The alert poping up just
[jQuery] List - getting children
This worked for me: var data = ["<div >new-one</div>", "<div >new-two </div>"] $("#links").empty().append(data.join("")).children(); You are better off using .empty() because .children().remove() will pushStack and move you off #links. You can get back with .end() but that's a lot more time, memory, and typing to do what .empty() does. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of Will Jessup Sent: Tuesday, October 17, 2006 9:11 PM To:
[jQuery] jQuery API discussion
Hi folks, I'd like to discuss the jQuery API in general and the current event API in detail: The main problem is the ambiguity of events, unevents and DOM methods. Some examples: $().unload() - Removes load event handlers AND triggers unload event $().submit() - Triggers the submit event, but doesn't actually submit anything, that is, it does not (try to) call the submit method of the matched elements. $().blur() and $().focus() have are very similar. $().load(Function) - Binds a handler to the load
[jQuery] jQuery API discussion
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:lucida console, sans-serif;font-size:10pt"><DIV>I think that there is space for improvement on both sides of API architecture and its documentation.</DIV> <DIV> </DIV> <DIV>We all like jQuery for how it looks like. We like its chainability, we like its alchemy. So we must preserve what we like most as much as possible, and doing so we'll also get to an evolution as opposed to a revolution. </DIV>
[jQuery] List - getting children
Hello list, Have a question about how to grab elements that were put into the DOM w/ .append(). For example, <div id="links"> <div >one</div> <div> two </div> </div> Then i do this in javascript $("#links").children().remove(); //removes the divs with "one" and "two" var data = [<div >one</div>, <div >two </div>] for (var i=0; i < data.length; i++) { $("#links").append(data[i][0]); } Then try to select them again, $("#links").children(); Returns nothing So how do i get it to return the appended items?
[jQuery] Form plugin revisited ;-)
I've updated the form plugin once again to fix a bug in ajaxSubmit which I found while unit testing. I thought I'd take this opportunity to summarize the changes made recently: 1. Incorporated Matt Grimm's optimized serialization code. 2. Defaulted the form method to 'GET' per Klaus's suggestion. 3. Fixed ticket #160 using suggestions from Renato and Jörn. 4. Fixed bug in ajaxSubmit which caused inconsistent callback args in post-callback method. 5. Fixed bug in image submit element coordinates (requires
[jQuery] ThickBox in Filemanager
> Well, as I've already said, you won't be able to show the PDF
[jQuery] Is there a way to reply to someone's post...
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:lucida console, sans-serif;font-size:10pt"><DIV>without using the Reply button in a mail program?</DIV> <DIV> </DIV> <DIV>I've disabled that checkbox in my jQuery profile for receiving messages from the list. I really prefer to browse the archives. But for replying specifically to someone's post, what can I do? Opening a new thread with the old subject is my unique option? </DIV> <DIV> </DIV>
[jQuery] numeric plugin and the minus sign
Ok the problem with this plugin is that you can only specify a minus sign when the string length is zero, but since the code only allows numbers, decimal places and the minus sign to be entered we can assume that the if the length of the string is greater than zero that it is a valid number so if we multiply it by -1 we will negate it thus if you cursor in at any position in the number the minus key will make the number a minus number. Now if you remove the "if (this.value*1 >0){" condition then
[jQuery] Highlighting jQuery
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:lucida console, sans-serif;font-size:10pt"><DIV>Hola.</DIV> <DIV> </DIV> <DIV>I was quite sure that Chili did not work in Safari, very sorry for that, but I have no means for testing Safari on a PC, or am I wrong?</DIV> <DIV> </DIV> <DIV>Using my PC, I tested Chili on IE, Firefox, Mozilla and Opera, all latest versions, and it works fine. The first three browsers show the highlighting identically,
[jQuery] parent() modifies original object
I think we are talking about two different effects here. This can definitely be subtle so it's good to have someone ask the question.
[jQuery] best show/hide div code?
Anyone have an idea on this one? I've tried a few things, but I'm not sure how to reference a specific value in a select control. <!----------------//------ 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 Andy Matthews Sent: Tuesday, October 17, 2006 10:39 AM To: [jQuery] Subject: [jQuery] best
[jQuery] parent() modifies original object
I'm not sure if this is the way it's supposed to work, but this makes absolutely no sense to me as far as implementation goes. If I have code like this: function someFunction( e ) { var cell = $(e); var cellParent = cell.parent(); var cellParent2 = cell.parent(); alert("[" + cell.id() + "] [" + cellParent.id() + "] [" + cellParent2.id() + "]"); } Instead of printing the equivalent of: $(e).id(), $(e).parent().id(), and $(e).parent().parent().id(), it prints $(e).parent.parent.id() three times. Further
[jQuery] Select Box Sorter
I've created a really simple plugin that lets you do $("select").sortSelectBy("html"). It automatically sorts by a jQuery function, so you can create your own and have it sort by that. For instance, I created a getCompany jQuery method below that extracts the company out of "Name (Company)". You could then do $("select").sortSelectBy("getCompany"). <span style="font-family: courier new,monospace;"> jQuery.fn.sortSelectBy = function(sort) {</span><br style="font-family: courier new,monospace;"><span
[jQuery] Using javascript variable for "HASH"
> I imagine that it must be some way to use javascript variable
[jQuery] Bug with AjaxStart
A bug was introduced somewhere between version 249 and 419 that broke the AjaxStart / AjaxStop functions. I was displaying a loading image using code straight out of the API doc that stopped working as soon as I put in a the current JQuery file. $("#loading").ajaxStart(function(){ $(this).show(); }); $("#loading").ajaxStop(function(){ $(this).hide(); }); If I change the function to be a simple alert, the alert does not fire either, which indicates that it is a problem with the ajaxStart call and
[jQuery] jquery snapshots
Is it possible to download a nightly snapshot of jquery somewhere? I would like to test recent bugfixes. Especially those affecting $ (document).load(). Although using $(window).load() instead works fine with FF and Safari, I still have problems with Windows IE. -- Mika Tuupola http://www.appelsiini.net/~tuupola/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Next Page