[jQuery] Re: UPDATE: code review, suggestions for condensing / reuse?

2007-04-03 Thread Brandon Aaron
: if ($(outerchild).attr(class).indexOf('outeropen') == -1) { Using the is method: if ( !$outerchild.is('.outeropen') ) { Or you could also use the ':hidden' selector like this: if ( $outerchild.is(':hidden') ) { Hope that helps optimize the code a little. :) -- Brandon Aaron On 4/3/07, Andy Matthews

[jQuery] Re: method_missing equivalent in jQuery?

2007-04-04 Thread Brandon Aaron
Man that would be so cool if JavaScript as a language had the ability to do this but it does not. -- Brandon Aaron On 4/4/07, chinmay [EMAIL PROTECTED] wrote: Hi all, Usually, I'm this lurker who scrapes this list for tips to improve my jquery code. As a beginner, I can't begin to tell you

[jQuery] Re: dependencies in ext

2007-04-09 Thread Brandon Aaron
No that tool was specific to Interface. -- Brandon Aaron On 4/7/07, Ariel Jakobovits [EMAIL PROTECTED] wrote: The tool that someone on the list developed recently regarding javascript dependencies...is it generic? Can it be run on the ext project to determine dependencies to reduce code

[jQuery] Re: Simple selector question

2007-04-09 Thread Brandon Aaron
to use this group of tables again later. -- Brandon Aaron On 4/9/07, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Geoff, You should be able to loop through he tables with .each() and see if they have the css property border-collpase set to collapse and if so, do something. The following should work

[jQuery] Re: Best Method to (re)bind event handlers

2007-04-10 Thread Brandon Aaron
You might find the copyEvents plugin of interest. http://brandon.jquery.com/plugins/copyEvents/ -- Brandon Aaron On 4/10/07, Olaf Gleba [EMAIL PROTECTED] wrote: Hi, the last two days i argue about how to handle (re)binding event handlers in a most elegant and un-redundant way when i work

[jQuery] Re: What does this do - transport.setRequestHeader(connection, close)

2007-04-10 Thread Brandon Aaron
I like this approach. Could you create an enhancement ticket for this? -- Brandon Aaron On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: They should already be able to do that with the beforeSend option[1][2], but your way looks easier [1] http://docs.jquery.com/Ajax#Options [2] http

[jQuery] Re: jQuery tutorial on IBM DeveloperWorks

2007-04-11 Thread Brandon Aaron
') .appendTo(body); You could do it like this: $('p') .html('Hey World!') .css('background', 'yellow') .appendTo(body); You could also do it like this: $('pHey World!/p') .css('background', 'yellow') .appendTo(body); Great tutorial. -- Brandon Aaron On 4/11/07, Jesse Skinner

[jQuery] Re: Determine if a table cell is visible or not?

2007-04-11 Thread Brandon Aaron
(':hidden').size == 0); I guess you could also use the same kind of logic to filter out any hidden col/colgroup tags and if one or more is hidden check their attributes against the td. -- Brandon Aaron On 4/11/07, Matt Kruse [EMAIL PROTECTED] wrote: I'd like to find out if a table cell

[jQuery] Re: $(document.createElement(script)) vs. $(script) ?!

2007-04-12 Thread Brandon Aaron
along with these tags but that is the short answer. :) -- Brandon Aaron On 4/12/07, Ralf S. Engelschall [EMAIL PROTECTED] wrote: During my todays hacking on the jquery.xsajax.js plugin (see different mail) I had to discover that there is a strange difference between var node

[jQuery] Re: How to add opacity to an element

2007-04-12 Thread Brandon Aaron
That should be working just fine. Which browser are you having problems with? Can you post an example of the issue you are having so we can investigate? -- Brandon Aaron On 4/12/07, Joan Piedra [EMAIL PROTECTED] wrote: Hey guys, Is there a crossbrowser jquery way to add opacity to an element

[jQuery] Re: selector for ATTR is empty

2007-04-12 Thread Brandon Aaron
jQuery provides a trim method already and you can use it like this: var myString = test ; var myNewString = $.trim(myString); myNewString now holds: test Here are the docs for the method. http://docs.jquery.com/JavaScript#.24.trim.28_str_.29 -- Brandon Aaron On 4/12/07, Olaf Bosch

[jQuery] Re: JavaScript Hijacking - Jquery among the vulnerable ones

2007-04-16 Thread Brandon Aaron
there was a thread about this issue in more detail. http://groups.google.com/group/jquery-en/browse_thread/thread/b467908cd0bb5581/9b83cd2d22c1c140?lnk=gstq=javascript+vulnerabilityrnum=1#9b83cd2d22c1c140 -- Brandon Aaron On 4/16/07, Fila [EMAIL PROTECTED] wrote: Hello there! I'm worried about

[jQuery] Re: jQuery and EXT not working at all

2007-04-17 Thread Brandon Aaron
would just post your findings here. That way we can all trouble shoot and learn. :) -- Brandon Aaron

[jQuery] Re: jQuery and EXT not working at all

2007-04-17 Thread Brandon Aaron
for Ext. Also, remember that support for jQuery in Ext is brand new and there are bound to be problems. You're doing us a great service by working through the examples and documenting what you find. Thanks! I second that! -- Brandon Aaron

[jQuery] Re: Ext Calendar on top of jQuery

2007-04-17 Thread Brandon Aaron
Moving to addEventListener and attachEvent is on the todo list. When will it be done? Soon :) It will involve a lot of regression testing to make sure we don't cause any problems in the transition. -- Brandon Aaron On 4/17/07, mdelmarter [EMAIL PROTECTED] wrote: Hi John and all, I am using

[jQuery] Re: Ext Calendar on top of jQuery

2007-04-17 Thread Brandon Aaron
I hope we can find the time to get it into the 1.1.3 release. It was originally slated for the 1.1.3 but it is all a mater of having time to implement and thoroughly test. -- Brandon Aaron On 4/17/07, Jeffrey Kretz [EMAIL PROTECTED] wrote: Do you know if this is intended to be a part

[jQuery] Re: AJAX problems in IE6

2007-04-18 Thread Brandon Aaron
No it isn't. Could you post what the 'data' is? I assume #info is a div? -- Brandon Aaron On 4/18/07, withoutwax [EMAIL PROTECTED] wrote: OK, through process of elimination it is the: $(#info).append(data); code that is crashing the browser - is this is a well known problem - i.e

[jQuery] Re: Spam on this list

2007-04-18 Thread Brandon Aaron
. It seems moderation is currently the only good answer to spam. -- Brandon Aaron On 4/18/07, Glen Lipka [EMAIL PROTECTED] wrote: Subscribe to this group via gmail :) It cuts off spam Hmm, sounds fishy. Signup for google groups and get more spam. Oh, use Google Mail to get rid of the spam

[jQuery] Re: Spam on this list

2007-04-18 Thread Brandon Aaron
I am also seeing some delay but it has been very minor. Much better than it would get on the jquery.com server. -- Brandon Aaron On 4/18/07, Sean Catchpole [EMAIL PROTECTED] wrote: Spam is not the only problem I'm receiving. Sometimes I don't get the original message sent to me via email

[jQuery] Re: setting attbitues

2007-04-19 Thread Brandon Aaron
You can use the addClass and removeClass methods to modify the class of the element. $('#'+id).addClass('myClass'); http://jquery.bassistance.de/api-browser/#addClassString http://jquery.bassistance.de/api-browser/#removeClassString -- Brandon Aaron On 4/19/07, [EMAIL PROTECTED] [EMAIL

[jQuery] Re: Keyboard shortcuts

2007-04-19 Thread Brandon Aaron
Yup. http://rikrikrik.com/jquery/shortkeys/ -- Brandon Aaron On 4/19/07, Glen Lipka [EMAIL PROTECTED] wrote: http://www.openjs.com/scripts/events/keyboard_shortcuts/ This looks really cool. Is there a jQuery plugin like it? Glen

[jQuery] Re: Memory problem

2007-04-20 Thread Brandon Aaron
Michael, I went ahead and created a ticket for this so that it doesn't get lost in the archives. http://dev.jquery.com/ticket/1136 -- Brandon Aaron On 4/20/07, Michael Schwarz [EMAIL PROTECTED] wrote: Hi, I added some lines to the remove function (line 1245): // original if(!k) element

[jQuery] Re: Finding id of this

2007-04-20 Thread Brandon Aaron
. -- Brandon Aaron On 4/20/07, Shelane Enos [EMAIL PROTECTED] wrote: I apologize if this solution is posted, but I searched and trying to get through hundreds of results is a bit painful. So I have these titles: Create Reminder, Create Hold Status, Change State. I want to bind a click event to all

[jQuery] Re: attr('defaultValue') does not exist.

2007-04-21 Thread Brandon Aaron
You should file a net ticket for this. http://dev.jquery.com/newticket -- Brandon Aaron On 4/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Well i can get the defaultvalue by direct accessing it, but i wonder why not via jquery. It's not very consistent to access all via the attr

[jQuery] Re: Blink effect

2007-04-23 Thread Brandon Aaron
?'Out':'In')]('slow'); } while (--blinkCount); -- Brandon Aaron On 4/23/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: no it does not work: it seems show() / hide() works on the width, height, or opacity. but then i guess i could try to build this effect by using a timeout and display:none

[jQuery] Re: Show()/Hide() Bug?

2007-04-23 Thread Brandon Aaron
The opacity is set to 0. to avoid a Firefox flicker back in 1.0. It is no longer in the latest SVN and soon to be 1.3. -- Brandon Aaron On 4/23/07, d3 [EMAIL PROTECTED] wrote: In FireFox 2.0.0.3 and in IE7 after show and hide with speed parameter opacity of element not restored to 1

[jQuery] Re: Show()/Hide() Bug?

2007-04-23 Thread Brandon Aaron
Explicitly set a background color on the text to try and prevent the text smoothing issue. Otherwise you can checkout interface plugin as I believe it has some color animating options which might suit your needs better. http://interface.eyecon.ro/ -- Brandon Aaron On 4/23/07, d3 [EMAIL

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Brandon Aaron
Great work! All the demos work in Safari. -- Brandon Aaron On 4/24/07, Kelvin Luck [EMAIL PROTECTED] wrote: Hi, I'd like to announce the beta release of v2 of my datePicker plugin for jQuery. This release is a complete rewrite which makes the date picker considerably more powerful

[jQuery] Re: plugins page!!!!

2007-04-25 Thread Brandon Aaron
The new plugins page is located at http://jquery.com/plugins/ I believe it is still a work in progress but plugin devs might want to start moving their stuff over. -- Brandon Aaron On 4/25/07, Ariel Jakobovits [EMAIL PROTECTED] wrote: please oh please someone on the jquery committee respond

[jQuery] Re: Cannot set height or width of div

2007-04-26 Thread Brandon Aaron
.width() and .height() can also set the value. What is being passed to showAjaxLoader? Could you post an example page or at least some of the surrounding code? -- Brandon Aaron On 4/26/07, Steve Blades [EMAIL PROTECTED] wrote: .width() and .height() are used to get the w and h values. You

[jQuery] Re: Viewing all handlers bound to an element?

2007-04-26 Thread Brandon Aaron
+ ' handler: ' + handler ); Note that in older versions of jQuery the $events expando is actually just events (without the $). As a side note you might find this short post interesting: http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos -- Brandon Aaron On 4/26/07

[jQuery] Re: Estimated 1.1.3 release date?

2007-04-26 Thread Brandon Aaron
1.1.3 alpha should be coming soon. :) -- Brandon Aaron On 4/26/07, MikeR [EMAIL PROTECTED] wrote: Just wondering if anybody knows of an approx. release date for jQuery 1.1.3?

[jQuery] Re: behaviors?

2007-04-28 Thread Brandon Aaron
/test.html -- Brandon Aaron On 4/26/07, John Resig [EMAIL PROTECTED] wrote: .behavior() does not exist - but it could (without too much effort) the current solution with jQuery is shown in the previous slide (which is, unfortunately, rather verbose). I hope that it'll exist one day - I probably

[jQuery] Re: Newbie -- How to retrieve img src value in function?

2007-04-28 Thread Brandon Aaron
Try this: $('img', drag).attr('src'); -- Brandon Aaron On 4/28/07, dennis [EMAIL PROTECTED] wrote: On Apr 28, 4:27 pm, Dave Cardwell [EMAIL PROTECTED] wrote: I haven't used draggables, but it looks like drag in this case is a jQuery object. In that case, you want drag.attr(src). http

[jQuery] Re: Estimated 1.1.3 release date?

2007-04-28 Thread Brandon Aaron
Here is a list of fixes thus far that will be in 1.1.3: http://tinyurl.com/2t2we5 -- Brandon Aaron On 4/28/07, Shelane [EMAIL PROTECTED] wrote: What might we expect in the next release? You mentioned a few things related to faster selectors, animations, etc. What bug fixes might we see

[jQuery] Re: behaviors?

2007-04-30 Thread Brandon Aaron
Yeah I have an idea... I'm going to go see if it works. :) -- Brandon Aaron On 4/30/07, John Resig [EMAIL PROTECTED] wrote: Excellent Brandon, this is a great start. I suspect that in order to get a full behavior plugin (one the feels natural) it'll require a lot of code extensions. Hmm... I

[jQuery] Re: behaviors?

2007-04-30 Thread Brandon Aaron
= a; + r.context = c; + return r; + } } return this.setArray( -- Brandon Aaron On 4/30/07, Brandon Aaron [EMAIL PROTECTED] wrote: Yeah I have an idea... I'm going to go see if it works. :) -- Brandon Aaron On 4

[jQuery] Re: behaviors?

2007-04-30 Thread Brandon Aaron
to immediately upgrade to 1.1.3 (once it is finally released). -- Brandon Aaron On 4/30/07, Mike Alsup [EMAIL PROTECTED] wrote: Brandon, This is really, really cool! I think this is functionality that belongs in core as it solves an extremely common use case (and addresses the most commonly asked

[jQuery] Re: Bug in jQuery implementation of EXT, works with other libraries.

2007-05-03 Thread Brandon Aaron
Events in the latest SVN are now using addEventListener and attachEvent. -- Brandon Aaron On 5/3/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Suni, The calendar implementation of Ext (See here http://www.extjs.com/deploy/ext/examples/menu/menus.html, open first menu, choose date

[jQuery] Re: ASP.net and jQuery...Imperfect Together?

2007-05-04 Thread Brandon Aaron
. -- Brandon Aaron On 5/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am starting up with two technologies...asp.net and jQuery. jQuery works great with old asp, but seems to be 'unwelcome' in asp.net. Anyone have direct experience marrying the two? --- Dave

[jQuery] Re: Pure Object/Embed solution via jQuery?

2007-05-04 Thread Brandon Aaron
I've had the best results using UFO for embedding flash content. You should check it out: http://www.bobbyvandersluis.com/ufo/ -- Brandon Aaron On 5/4/07, Andy Matthews [EMAIL PROTECTED] wrote: You might recall that my company is having some issues with using jQuery alongside SWFObject

[jQuery] Re: NEW jQuery plugin - tableFilter() Beta 1. Auto-paging, filtering and sorting on multiple columns.

2007-05-07 Thread Brandon Aaron
Looks great! BTW ... jQuery 1.1.3 will support col and colgroup tags. -- Brandon Aaron On 5/7/07, Daemach [EMAIL PROTECTED] wrote: I just uploaded my latest plugin, tableFilter(). It's an early beta with ugly, less than optimal code, but it works pretty well. Feed it a clean table

[jQuery] Re: $(#test:test) not working

2007-05-08 Thread Brandon Aaron
I believe this has been resolved in the latest SVN but I'm not for sure on that. In the mean time just use the attribute selector. $('[EMAIL PROTECTED]:test]') -- Brandon Aaron On 5/8/07, Klaus Hartl [EMAIL PROTECTED] wrote: Jake McGraw wrote: I'm pretty sure this is not a bug, how do you

[jQuery] Re: Tabs plugin broken with MS patch last night?

2007-05-09 Thread Brandon Aaron
Just replace your jquery.clean with the attatched jquery.clean method. It includes the fixes for the select, col and colgroups. Let me know if you need anything else. -- Brandon Aaron On 5/9/07, Daemach [EMAIL PROTECTED] wrote: I'm sorry, I just figured out that the problem

[jQuery] Re: jQuery svn browser broken. Some documentation unaccessible

2007-05-09 Thread Brandon Aaron
(not much). http://www.learningjquery.com/src/plugins/dimensions/ChangeLog.txt -- Brandon Aaron On 5/9/07, Stuart [EMAIL PROTECTED] wrote: Bother. I just downloaded the dimensions plugin but it contains no documentation. There are references in the code comments to see the documentation but I can't

[jQuery] Re: set attr in IE

2007-05-13 Thread Brandon Aaron
I went ahead and created a new ticket for this: http://dev.jquery.com/ticket/1182 -- Brandon Aaron On 5/13/07, PragueExpat [EMAIL PROTECTED] wrote: $(function(){ $(#test).attr(maxlength,10); }); Doesn't work on a text input field in IE. If I try: $(function(){ alert($(#test

[jQuery] Re: ..animation question..

2007-05-13 Thread Brandon Aaron
The latest SVN uses only one timer per an element but there currently is not a way to animate several elements under one timer. I'm not sure if Interface provides such a method either but perhaps that is where such functionality should exist. -- Brandon Aaron On 5/13/07, spinnach [EMAIL

[jQuery] Re: ..animation question..

2007-05-14 Thread Brandon Aaron
Nice. Thanks for clarifying that John! -- Brandon Aaron On 5/14/07, John Resig [EMAIL PROTECTED] wrote: Nope! jQuery uses only one timer for all animations now (even across multiple elements). It helps drastically, with performance. --John On 5/13/07, Brandon Aaron [EMAIL PROTECTED] wrote

[jQuery] Re: Determining event bindings?

2007-05-14 Thread Brandon Aaron
some code was posted to look at an elements events and handlers. -- Brandon Aaron On 5/14/07, Brad Perkins [EMAIL PROTECTED] wrote: I'm mainly interested in this as a debugging tool, but is it possible at a given time to determine which jQuery objects have events bound to them, and to get

[jQuery] Re: Determining event bindings?

2007-05-14 Thread Brandon Aaron
Found it: http://groups.google.com/group/jquery-en/browse_thread/thread/46ecc1db4ad3464b/8a6c2c234975f0e2 -- Brandon Aaron On 5/14/07, Brad Perkins [EMAIL PROTECTED] wrote: On May 14, 4:13 pm, Brandon Aaron [EMAIL PROTECTED] wrote: You can check the DOM Inspector in Firebug (looks

[jQuery] Re: Set the position of an element using the dimensions plugin

2007-05-16 Thread Brandon Aaron
could also manually assign it with something like this: var offset = $('#myDiv').offset(); $('#myOtherDiv').css('top', offset.top).css('left', offset.left); Or even like this: var offset = $('#myDiv').offset(); $('#myOtherDiv').css({ top: offset.top, left: offset.left }); -- Brandon Aaron On 5/16

[jQuery] Re: jQuery is() with more than 1 element

2007-05-17 Thread Brandon Aaron
The .is() functionality you seek is in the latest SVN and according to John 1.1.3 should be released this weekend. -- Brandon Aaron On 5/17/07, Gordon [EMAIL PROTECTED] wrote: For part of a javascript I'm working on I need to process elements in a HTML document but only

[jQuery] Re: jQuery is() with more than 1 element

2007-05-17 Thread Brandon Aaron
it makes me think there is probably a better approach. You might want to look into the .not() selector. $('*').not('a, h1, h2, h3') -- Brandon Aaron On 5/17/07, Gordon [EMAIL PROTECTED] wrote: Okay, thanks. Is there a list of new features/bugfixes for the new version and is the release date

[jQuery] Re: newbie onmouseover onmouseout

2007-05-17 Thread Brandon Aaron
You just need to set a flag right before the animation starts ... something like: var isAnimating = true; Then in the callback of the animation ... just set it to false. The mouseout would need to check isAnimating before being allowed to do anything. -- Brandon Aaron On 5/17/07, Daemach

[jQuery] Re: newbie onmouseover onmouseout

2007-05-17 Thread Brandon Aaron
On 5/17/07, Daemach [EMAIL PROTECTED] wrote: Dagnabbit Brandon, that was far too simple ;) Man I really need to get some sleep - 15 hours a day is to much . I understand all too well. :) Glad that worked! -- Brandon Aaron

[jQuery] Re: jquery.us

2007-05-18 Thread Brandon Aaron
Totally lame. Reported. -- Brandon Aaron On 5/18/07, george.gsgd [EMAIL PROTECTED] wrote: Has anyone seen this: http://jquery[dot]us (not linked so as not to aid their efforts) Obviously someone trying to cash in with google ads and spammy keyword stuffing. But I got a hit in my referers

[jQuery] Re: New plugin: Model (for client-side MVC implementations)

2007-05-18 Thread Brandon Aaron
I like that! In addition to what Jörn said I would suggest using the $.model namespace for all your other properties and methods. So $.modelOptions would then become $.model.options. This will cut down on the jQuery global namespace clutter. Again, nice work! -- Brandon Aaron On 5/18/07

[jQuery] Re: jQuery PNG Fix

2007-05-19 Thread Brandon Aaron
. :/ There isn't a fix for that, yet... at least not that I've come across. -- Brandon Aaron

[jQuery] Re: Debugging jQuery

2007-05-19 Thread Brandon Aaron
Looks great Jake. How about adding it to jQuery Plugins SVN? -- Brandon Aaron On 5/19/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: over the months, I've re-written my debug library several times. I'm pretty happy with this one. based on code from all over the place! I hope you can all read the attached

[jQuery] Re: Problem with $(document).ready in FF 2.0.0.3 when dom is malformed

2007-05-21 Thread Brandon Aaron
Unfortunately coding against a malformed DOM is unpredictable. I would highly suggest forcing external elements (ads, etc) into iframes to prevent the malformed DOM. -- Brandon Aaron On 5/21/07, Mandy Singh [EMAIL PROTECTED] wrote: Hello John et al, While working on the Validation Plugin

[jQuery] Re: callback

2007-05-21 Thread Brandon Aaron
items where done executing. -- Brandon Aaron On 5/21/07, james_027 [EMAIL PROTECTED] wrote: Hi, I am welcoming myself to Jquery, and I am glad that I give myself a chance to try jquery. The documentation and tutorials which many seems to ignore is one of the things that makes me to go

[jQuery] Re: How to handle Pseudo leak in IE?

2007-05-21 Thread Brandon Aaron
If you could create a ticket and a test case for this it would help a lot! I believe I could find some time to investigate it in detail soon. -- Brandon Aaron On 5/21/07, Jacky [EMAIL PROTECTED] wrote: Hi all, I'm dealing with the IE memory problem. There is an IE leak called 'pseudo leak

[jQuery] Re: jQuery SVN broken?

2007-05-21 Thread Brandon Aaron
You should pull directly from Google Code. http://code.google.com/p/jqueryjs/ -- Brandon Aaron On 5/21/07, Gilles (Webunity) [EMAIL PROTECTED] wrote: Is jQuery under DOS attack again? I've been trying to get the latest SVN version, but i am unable to do so. I've allready sent John an email

[jQuery] Re: Capture and manipulate scrollwheel event

2007-05-21 Thread Brandon Aaron
/plugins/project/mousewheel -- Brandon Aaron On 5/21/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: There is a mousewheel plugin http://www.ogonek.net/mousewheel/jQuery_mousewheel_plugin.js -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fazal

[jQuery] Re: Help Test jQuery 1.1.3

2007-05-21 Thread Brandon Aaron
Do you know what version/rev of the dimensions plugin you are using? What browser(s) are you having problems with? Here is the latest version's test suite running on 1.1.3: http://brandonaaron.net/jquery/plugins/dimensions/test/unit.html -- Brandon Aaron On 5/21/07, Dragan Krstic [EMAIL

[jQuery] Re: Help Test jQuery 1.1.3

2007-05-21 Thread Brandon Aaron
It appears that the helper method left has been removed from the API. Try replacing left with $().css('left', 260); -- Brandon Aaron On 5/21/07, Dragan Krstic [EMAIL PROTECTED] wrote: 2007/5/21, Brandon Aaron [EMAIL PROTECTED]: Do you know what version/rev of the dimensions plugin you

[jQuery] Re: Set Div Width

2007-05-22 Thread Brandon Aaron
You should use the css method, not the attr method. ...).children('div').css('width', 80); You can also pass and object of name value pairs. ...)children('div').css({ width: 80 }); No need to add the 'px' as jQuery will do it for you. -- Brandon Aaron On 5/22/07, SamCKayak [EMAIL PROTECTED

[jQuery] Re: How to handle Pseudo leak in IE?

2007-05-22 Thread Brandon Aaron
. Just call it like this: GarbageCollect(); Hope that helps. In the future I think it migh be nice to have a garbageBin type plugin for applications like yours. -- Brandon Aaron On 5/22/07, Jacky [EMAIL PROTECTED] wrote: Some progress... by using a garbage collection bin (a dummy div to appendChild

[jQuery] Re: Help Test jQuery 1.1.3

2007-05-23 Thread Brandon Aaron
Good catch and thanks for tracking it down and doing a test case. -- Brandon Aaron

[jQuery] Re: IE selector bug/error?

2007-05-23 Thread Brandon Aaron
It is a bug and it is fixed in the latest SVN/jquery 1.1.3. http://dev.jquery.com/ticket/986 -- Brandon Aaron On 5/23/07, Luc Pestille [EMAIL PROTECTED] wrote: I've found something that I can't get around; in IE6, these selectors won't do anything for me; 1. $(#admin-jobs

[jQuery] Re: Masked Input Field

2007-05-23 Thread Brandon Aaron
that helps. -- Brandon Aaron On 5/23/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Glen Lipka wrote: Im asking alot of questions today, sorry. Trying to use this. http://digitalbush.com/projects/masked-input-plugin It is an awesome plugin by the way! I have one field called creditcard (guess what

[jQuery] Re: Feature/Plugin request - Animation queue

2007-05-24 Thread Brandon Aaron
I just updated the test to include an empty selector as well. -- Brandon Aaron On 5/24/07, Brandon Aaron [EMAIL PROTECTED] wrote: Here is a pretty quick and dirty implementation of an fxqueue: http://brandonaaron.net/jquery/plugins/fxqueue/ You can see the test page here: http

[jQuery] Re: Feature/Plugin request - Animation queue

2007-05-24 Thread Brandon Aaron
Glad it is working for you. :) I just updated it to fix the scope of the callback and you can now pass params just like you can with animate. Check the new test page to see. http://brandonaaron.net/jquery/plugins/fxqueue/test/test.html -- Brandon Aaron On 5/24/07, Gordon [EMAIL PROTECTED

[jQuery] Re: Feature/Plugin request - Animation queue

2007-05-24 Thread Brandon Aaron
Ahh good catch! Thanks Aaron. Fixed. I used a semi-colon on the line above instead of a comma. :) -- Brandon Aaron On 5/24/07, Aaron Heimlich [EMAIL PROTECTED] wrote: Pretty cool stuff Brandon! Small typo though: jquery.fxqueue.js line 37: $this = $( args.shift() ); should be var

[jQuery] Re: Feature/Plugin request - Animation queue

2007-05-24 Thread Brandon Aaron
Sure but I wonder what that would look like? Could you provide a more detailed use-case? -- Brandon Aaron On 5/24/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Brandon Aaron wrote: Here is a pretty quick and dirty implementation of an fxqueue: http://brandonaaron.net/jquery/plugins/fxqueue

[jQuery] Re: Feature/Plugin request - Animation queue

2007-05-24 Thread Brandon Aaron
Actualy, the hoverIntent plugin is perfect for this. http://cherne.net/brian/resources/jquery.hoverIntent.html -- Brandon Aaron On 5/24/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Brandon Aaron wrote: Sure but I wonder what that would look like? Could you provide a more detailed use-case

[jQuery] Re: Effect Queueing Plugin

2007-05-25 Thread Brandon Aaron
Nice. I believe it is worth polishing up! Keep at it. -- Brandon Aaron On 5/25/07, Erik Beeson [EMAIL PROTECTED] wrote: Hello all, In response to a thread yesterday, I put together a little framework for effect queueing. My version yesterday, and subsequently Brandon's version aswell, don't

[jQuery] Re: 15 second delay with IE

2007-05-25 Thread Brandon Aaron
Not at all. I actually believe you might get better results using the min version plus gzip. -- Brandon Aaron On 5/25/07, Bil Corry [EMAIL PROTECTED] wrote: R. Rajesh Jeba Anbiah wrote on 5/25/2007 6:26 AM: Mostly the problem is with the packed version. Try using the original version

[jQuery] Re: Question about scroll in dimensions plugin

2007-05-26 Thread Brandon Aaron
the server change I'm having problems getting to the previous test page. -- Brandon Aaron On 5/26/07, Wizzud [EMAIL PROTECTED] wrote: YUI getXY demo reinstated (see initial post for link). Brandon Aaron wrote: This is now fixed and you can grab the latest from svn and/or here: http://jquery.com

[jQuery] Re: Printing pages manipulated by jQuery

2007-05-26 Thread Brandon Aaron
helpful: http://alistapart.com/stories/goingtoprint/ -- Brandon Aaron On 5/26/07, Feed [EMAIL PROTECTED] wrote: Hello all, I've used jQuery to manipulate, stripe and add hover effect to all tables in my website (dozens of tables). There's a print button in my website and I didn't remember

[jQuery] Re: addClass and removeClass not working in IE6

2007-05-27 Thread Brandon Aaron
This is an issue with your CSS. IE6 doesn't seem to like the .class#id selector. You might need to rethink your approach. Perhaps keep the unordered list and add the class to the li. That way you can reference each part like this: .class #id Hope that helps. -- Brandon Aaron On 5/26/07

[jQuery] Re: Problem with globalEval

2007-05-27 Thread Brandon Aaron
Hmmm I'm curious ... which cell phone browsers will show the script? Do you have or know of any articles on the topic? -- Brandon Aaron On 5/27/07, Matt Stith [EMAIL PROTECTED] wrote: True, but alot of cell phone browsers will show the scripts if its not commented out. On 5/27/07, RobG

[jQuery] Re: CSS3 support

2007-05-28 Thread Brandon Aaron
We don't support any declarations that the browser itself doesn't support. However, there are plugins (lots of them) that solve lots of different problems. There are several plugins that handle rounded corners. Here is one of them: http://www.malsup.com/jquery/corner/ -- Brandon Aaron On 5/28

[jQuery] Re: Question about scroll in dimensions plugin

2007-05-28 Thread Brandon Aaron
Very cool! Thanks for keeping us in the loop. :) -- Brandon Aaron On 5/28/07, Wizzud [EMAIL PROTECTED] wrote: Brandon, just an update in case you are interested. I've made a few changes to the YUI visual test page to try and find out where YUI was going wrong in Firefox. My test page can

[jQuery] Re: OOP's *this* messing up $().each()'s *this*

2007-05-28 Thread Brandon Aaron
to access it. ... this.functionname = function() { var self = this; $('td.number').each(function(_i) { $(this).html(self.mainvar[_i]); }); } ... -- Brandon Aaron On 5/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Confusing title, but whatever. So basically I'm working on my first

[jQuery] Re: massive jquery memory leak in firefox 2.x: load() or empty()?

2007-05-29 Thread Brandon Aaron
Is the memory given back after a refresh? -- Brandon Aaron On 5/29/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I assume this is a memory leak: $(#id).empty(); $(#id).load(url, params, callback) increases more and more the memory usage of firefox even if the content is replaced (in my

[jQuery] Re: Dev and plugins lists

2007-05-29 Thread Brandon Aaron
No I believe they are in the process of being transitioned to Google Groups. Feel free the post anything to this list for now. -- Brandon Aaron On 5/29/07, Mika Tuupola [EMAIL PROTECTED] wrote: Are the dev and plugins lists up at the moment? -- Mika Tuupola http

[jQuery] Re: trigger $(document).ready manually

2007-05-29 Thread Brandon Aaron
this are. Perhaps the problem can be solved in a better way? -- Brandon Aaron On 5/29/07, MathiasBank [EMAIL PROTECTED] wrote: Good evening, It is possible to call 1. $('#field').trigger(click); 2. $(document).trigger(myOwnEvent); But it seems, that this is not possible to call $(ducument).trigger

[jQuery] Re: getting DOM values

2007-05-29 Thread Brandon Aaron
with widths, heights and offsets. http://jquery.com/plugins/project/dimensions -- Brandon Aaron On 5/29/07, pd [EMAIL PROTECTED] wrote: Hi BjQ (before jQuery) I can do this: document.getElementById('foo').clientWidth to get a DOM value that Firebug tells me is set to something other than

[jQuery] Re: getting DOM values

2007-05-29 Thread Brandon Aaron
Here are the docs for .get( Number ) http://jquery.bassistance.de/api-browser/#getNumber -- Brandon Aaron On 5/29/07, pd [EMAIL PROTECTED] wrote: Thanks guys, super-fast reply :) Is this documented anywhere? I've scanned through the API and didn't see anything for what seems to be a pretty

[jQuery] Re: IE selector bug/error - now reproducable.

2007-05-30 Thread Brandon Aaron
I'm not able to reproduce this in FF. Your using jQuery 1.1.3a? Is your HTML valid? Could you post up the test page for the group to look at? A workaround might be to use .find(). $('.search-advanced').find('#classtest').hide(); -- Brandon Aaron On 5/30/07, Luc Pestille [EMAIL PROTECTED

[jQuery] Re: $(document).ready limits

2007-05-30 Thread Brandon Aaron
Are you using the defer attribute on any of your scripts? -- Brandon Aaron On 5/30/07, weepy [EMAIL PROTECTED] wrote: Hi I have a project where I am using Ajax to squirt some HTML and script into the DOM. The script currently has a document.ready around it which appears to fire ok when

[jQuery] Re: $(document).ready limits

2007-05-30 Thread Brandon Aaron
Yes it is. It has been known to cause problems when used in conjunction with jQuery scripts that use ready. It is rare that the ready method doesn't work properly in IE. Could you maybe post up a simplified test case? Try to narrow it down. -- Brandon Aaron On 5/30/07, weepy [EMAIL PROTECTED

[jQuery] Re: IE selector bug/error - now reproducable.

2007-05-30 Thread Brandon Aaron
the error shows up? -- Brandon Aaron

[jQuery] Re: Widgetbox variables, problems with $()

2007-05-30 Thread Brandon Aaron
owner. I just re-opened up my blog with a post about this yesterday. http://blog.brandonaaron.net/2007/05/29/using-jquery-with-other-libraries/ -- Brandon Aaron On 5/30/07, MrNase [EMAIL PROTECTED] wrote: I just released a Farbtastic Widget on Widgetbox.com During the creation of the Widget

[jQuery] Re: Widgetbox variables, problems with $()

2007-05-30 Thread Brandon Aaron
That is what the jQuery.noConflict() is for. :) Just do this: var $j = jQuery.noConflict(); -- Brandon Aaron On 5/30/07, MrNase [EMAIL PROTECTED] wrote: As I see now, the problem still exists. jQuery doesn't know what to do with - var userlanguage = ${config.userlanguage}; I would need

[jQuery] Re: Help Test jQuery 1.1.3

2007-05-30 Thread Brandon Aaron
I've added a new patch to the ticket based on Volker's patch. Can you please confirm that it does indeed fix the problem? http://dev.jquery.com/ticket/1143 -- Brandon Aaron On 5/24/07, Jean-Francois Hovinne [EMAIL PROTECTED] wrote: Thanks for your quick reply, John, and sorry for annoying

[jQuery] Re: embedding script behaviour different in IE and FF

2007-05-31 Thread Brandon Aaron
It is an issue with the evalScripts() method within jQuery. Here is a ticket about this particular bug: http://dev.jquery.com/ticket/975 -- Brandon Aaron On 5/30/07, weepy [EMAIL PROTECTED] wrote: Hi, I'm using $.ajax to pull down some HTML and insert it into the dom. The HTML has some

[jQuery] Re: Improving performance in FireFox/Opera

2007-05-31 Thread Brandon Aaron
jQuery 1.1.3 aims to provide huge performance boost to multiple animations. Feel free to give jQuery 1.1.3a a whirl and let us know if that helps out any. -- Brandon Aaron On 5/31/07, Gordon [EMAIL PROTECTED] wrote: I am working on a project that involves a varying, but potentially quite

[jQuery] Re: Improving performance in FireFox/Opera

2007-05-31 Thread Brandon Aaron
not really sure whats up with opera. It is usually very fast with JavaScript. -- Brandon Aaron On 5/31/07, Gordon [EMAIL PROTECTED] wrote: Okay, I'll give it a try, once I've gotten a link. I understand that the animate() function in 1.1.2 starts a timer for every element attribute being

  1   2   3   4   >