[jQuery] Re: how to use :empty selector

2007-11-19 Thread Brandon Aaron
You can use the filter method to select what you need. It would look something like this: $(document).ready(function() { $('input[type=text]').filter(function() { return !!$(this).val(); }); }); -- Brandon Aaron On Nov 19, 5:42 am, James Dempster <[EMAIL PROTECTED]>

[jQuery] Re: Scriptdoc-file for jQuery 1.2.1

2007-11-15 Thread Brandon Aaron
the results from the wiki into xml which will enable sites like Visual jQuery to run again! Please be patient while we transition the docs because soon they will be even better than what they were. -- Brandon Aaron On Nov 15, 8:03 pm, "Tom Sieroń" <[EMAIL PROTECTED]> wrote: > O

[jQuery] Re: Triggering event added by addEventListener

2007-11-15 Thread Brandon Aaron
The best approach will be to just use jQuery to bind the method if you want to trigger that event. -- Brandon Aaron On Nov 15, 11:49 am, prakash <[EMAIL PROTECTED]> wrote: > Hello all, > > I recently started using jQuery in Greasemonkey scripts and am loving > it. > >

[jQuery] Re: offset() causes error in IE

2007-11-14 Thread Brandon Aaron
input with a span. -- Brandon Aaron On Nov 14, 5:49 pm, Bernd Matzner <[EMAIL PROTECTED]> wrote: > Hi, > > I have a page in which I'm trying to use offset() on a checkbox (using > jQuery 1.2.1) > In FF, everything works fine, but I'm getting an "Object doesn&#x

[jQuery] Re: Scriptdoc-file for jQuery 1.2.1

2007-11-14 Thread Brandon Aaron
jQuery 1.2 has removed the scriptdoc from the source in favor of managing documentation via the wiki (http://docs.jquery.com/). -- Brandon Aaron On Nov 14, 7:35 am, dehneg <[EMAIL PROTECTED]> wrote: > Hi all, > > I am looking for the scriptdoc file (http://www.scriptdoc.org/

[jQuery] Re: gradient plugin - wont work on td's?

2007-11-14 Thread Brandon Aaron
Try: $('.gradient').wrapInner('').find('> span').gradient(); On Nov 14, 1:29 pm, bdee1 <[EMAIL PROTECTED]> wrote: > currently i am matching the td's based on a gradient class. so like this: > $('.gradient').gradient(); > >

[jQuery] Re: gradient plugin - wont work on td's?

2007-11-14 Thread Brandon Aaron
Try wrapping the contents of the td with a span first and then applying the gradient to the span. Something like this: $('td').wrapInner('').find('> span').gradient(); -- Brandon Aaron On Nov 14, 12:13 pm, bdee1 <[EMAIL PROTECTED]> wrote: > anyone have

[jQuery] Re: Scripts at the bottom of the page

2007-11-14 Thread Brandon Aaron
Actually, it isn't outside the scope of jQuery and it is now fixed in Rev 3822. -- Brandon Aaron On Nov 13, 10:34 pm, Brandon Aaron <[EMAIL PROTECTED]> wrote: > This is pretty much outside the scope of jQuery :/. You should bind > events that have the potential to be triggere

[jQuery] Re: Scripts at the bottom of the page

2007-11-13 Thread Brandon Aaron
eady for you to interact with the page. -- Brandon Aaron On Nov 9, 4:55 pm, mike503 <[EMAIL PROTECTED]> wrote: > > Yes, please do. > > http://dev.jquery.com/ticket/1911 > > Hopefully it will get the right eyes looking at it now :)

[jQuery] Re: Scripts at the bottom of the page

2007-11-13 Thread Brandon Aaron
eady for you to interact with the page. -- Brandon Aaron On Nov 9, 4:55 pm, mike503 <[EMAIL PROTECTED]> wrote: > > Yes, please do. > > http://dev.jquery.com/ticket/1911 > > Hopefully it will get the right eyes looking at it now :)

[jQuery] Re: Event binding memory leak

2007-11-05 Thread Brandon Aaron
This is fixed in the latest SVN. -- Brandon Aaron On Nov 4, 8:48 pm, tim connor <[EMAIL PROTECTED]> wrote: > When a page is unloaded, jQuery is not unbinding any bound events > causing a memory leak in IE6. > > Below is a very simple test page. If it is opened in IE6 you ca

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-02 Thread Brandon Aaron
a particular event to an element more than once. In fact it _only_ binds the event (or calls the callback) once per a newly matched element. Live Query's main purpose is to solve a _very_ common problem in AJAX development ... the need to rebind events to elements added to the DOM afte

[jQuery] Re: LiveQuery (Discuss Please)

2007-11-01 Thread Brandon Aaron
from my perspective. -- Brandon Aaron On Nov 1, 10:09 am, "Lee Hinde" <[EMAIL PROTECTED]> wrote: > On 10/31/07, Yehuda Katz <[EMAIL PROTECTED]> wrote: > > > > > So as far as I'm concerned, livequery is the biggest advance in jQuery since > > its

[jQuery] Re: Ebyte.com now using JQuery

2007-10-29 Thread Brandon
com now using JQuery > > > Awesome to hear another success story. Very clean site, easy to use. > > No 6GB microSD cards, but some great hard drive prices! > > I'm curious to hear, how did jQuery's 'flexibility and compatibility' > > inspire your c

[jQuery] Re: Ebyte.com now using JQuery

2007-10-29 Thread Brandon
n site, easy to use. > No 6GB microSD cards, but some great hard drive prices! > I'm curious to hear, how did jQuery's 'flexibility and compatibility' > inspire your conversion? > > Charles > > On Oct 29, 11:42 am, Brandon <[EMAIL PROTECTED]> wrote: >

[jQuery] Ebyte.com now using JQuery

2007-10-29 Thread Brandon
Just wanted to let everyone know that we just released version 2 of Ebyte.com, and with it was a complete overhaul of our backend framework. It took us about a month, but we successfully migrated from prototype and script.aculo.us to jquery, improving the flexibility and compatibility of the site,

[jQuery] Re: jQuery and Mootools again...

2007-10-05 Thread Brandon Aaron
It looks like the first javascript file (javascript.js) has a syntax error that is causing your problems. -- Brandon Aaron On 10/5/07, caruso_g <[EMAIL PROTECTED]> wrote: > > > [Preface: I am tring to post this for the third time, since I didn't > see it in the thread. P

[jQuery] Re: Problem with binding mouseout to only parent div

2007-10-04 Thread Brandon
#x27;) > and one on #menu ('return false'). > I'm not sure that that is what you intended? > You might want to try just applying the mouseout to #menuholder... > > $("#menuholder").mouseout(function(e){expandmenu(currenttab);}) > > ...assuming that expa

[jQuery] jQuery 1.2.1 and Interface/ui Sortable Bug?

2007-10-04 Thread Brandon!
I have noticed a bug with jQuery 1.2.1 and any type of sortable extension (I have tested with both Interface and UI) where once you do the initial sort, jQuery will throw a bunch of errors every second in an infinite loop. I can reproduce their error easily on Firefox 2 with not only my script (w

[jQuery] Re: Problem with binding mouseout to only parent div

2007-10-04 Thread Brandon
;). > I'm not sure that that is what you intended? > You might want to try just applying the mouseout to #menuholder... > > $("#menuholder").mouseout(function(e){expandmenu(currenttab);}) > > ...assuming that expandmenu now returns false? > > (completely un

[jQuery] Re: Problem with binding mouseout to only parent div

2007-10-04 Thread Brandon
function() { $ (this).mouseover(menu_over).mouseout(menu_out).siblings().mouseout(function() { return false; }); }); }); } Thanks for your help! On Oct 4, 12:31 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Brandon, > > So

[jQuery] Re: live query

2007-10-03 Thread Brandon Aaron
running some code in firebug to see what results you are actually getting from that selector. -- Brandon Aaron On 10/3/07, bluejam <[EMAIL PROTECTED]> wrote: > > > Hi > im using the very latest version of jQuery > > I can't post example online as its on my dev server

[jQuery] Re: Counting the number of child elements that a div has

2007-10-03 Thread Brandon
http://docs.jquery.com/Core/length $("#divid > #childrenids").length or maybe $("#divid").children().length to get all of them no matter what type of children elements they are On Oct 3, 4:57 pm, wattaka <[EMAIL PROTECTED]> wrote: > How can I count the number of child elements that a div conta

[jQuery] Re: Problem with binding mouseout to only parent div

2007-10-03 Thread Brandon
istapart.com/articles/dropdowns/). Once you have your menu > properly marked up take a look at the superfish plugin (http:// > jquery.com/plugins/project/Superfish). > > On Oct 3, 2:08 am, Brandon <[EMAIL PROTECTED]> wrote: > > > I've got a menu that does the basic lin

[jQuery] Re: Problem with binding mouseout to only parent div

2007-10-03 Thread Brandon
s tutorial for suckerfish drop down menu > (http://www.alistapart.com/articles/dropdowns/). Once you have your menu > properly marked up take a look at the superfish plugin (http:// > jquery.com/plugins/project/Superfish). > > On Oct 3, 2:08 am, Brandon <[EMAIL PROTECTED]> wrote:

[jQuery] Re: live query

2007-10-03 Thread Brandon Aaron
ction() { doSomething(); }); -- Brandon Aaron On 10/3/07, bluejam <[EMAIL PROTECTED]> wrote: > > > Hi > > Im adding an element to Dom on fly, I then want to add an action to > that element, i've tried live query but it is adding the action to ALL > elements n

[jQuery] Problem with binding mouseout to only parent div

2007-10-03 Thread Brandon
I've got a menu that does the basic links and shows a sub menu of divs with nested 's and other text dynamically with css and javascript. I'm migrating it over to jquery, and have it all working perfectly except for one thing. I am trying to get the menu to jump back to the tab that corresponds t

[jQuery] Re: 1.2 bug? $(window).height(); always the same as $('body').height();

2007-10-02 Thread Brandon Aaron
This is fixed in the latest svn. -- Brandon Aaron On 10/2/07, mundizzle <[EMAIL PROTECTED]> wrote: > > > I have a page with content that goes below the fold. > > I'm trying to calculate the height of the browser's viewable area this > way... > > $(window

[jQuery] Re: Interesting post about conflict with jQuery and SWFObject

2007-09-29 Thread Brandon Aaron
I believe this issue will be resolved with the next release of jQuery. It has to do with the document.ready detection. SWFObject uses innerHTML which causes the conflict when the DOM isn't ready yet. I haven't tested this yet ... -- Brandon Aaron On 9/28/07, Rey Bango <[EMAIL PROT

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-28 Thread Brandon Aaron
it while it is out of view. -- Brandon Aaron On 9/27/07, Guy Fraser <[EMAIL PROTECTED]> wrote: > > Brandon Aaron wrote: > > Speaking of that ... I've got a plugin ... unreleased/undocumented at the > moment ... called viewable. It gives you a percentage of the element

[jQuery] Re: uhhh.......WAT?

2007-09-27 Thread Brandon Aaron
Its all good! :) I knew that ... no really I mean it! :p -- Brandon Aaron On 9/27/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > Man, that is some goofy text formatting. I wasn't using larger type for > emphasis or to be shouting - it was just some kind of glitch that

[jQuery] Re: uhhh.......WAT?

2007-09-27 Thread Brandon Aaron
Oh and here are the docs that apply: http://docs.jquery.com/Events/bind#typedatafn -- Brandon Aaron On 9/27/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > > The click event on an A tag has a default action associated with it by the > browser ... more specifically a redirect to

[jQuery] Re: Safari 2.0 crashes while executing http://jquery.com/test/

2007-09-27 Thread Brandon Aaron
Yes, it has to do with Safari's limited call stack and memory issues. In other words, it can't handle such large amounts of js. I usually test each module at a time in Safari. -- Brandon Aaron On 9/27/07, ravenel <[EMAIL PROTECTED]> wrote: > > > Is this a known problem? > >

[jQuery] Re: uhhh.......WAT?

2007-09-27 Thread Brandon Aaron
ethod to prevent the default behavior as well. You could also do the above like this: $("a").click(function(event){ alert("Thanks for visiting!"); event.preventDefault(); }); Hope that helps! -- Brandon Aaron On 9/27/07, cmbtrx <[EMAIL PROTECTED]> wrote: &g

[jQuery] Re: ANNOUNCEMENT: Chili 1.9 much faster

2007-09-27 Thread Brandon Aaron
Speaking of that ... I've got a plugin ... unreleased/undocumented at the moment ... called viewable. It gives you a percentage of the element that is viewable. http://brandonaaron.net/jquery/plugins/viewable/test/test.html -- Brandon Aaron On 9/27/07, Guy Fraser <[EMAIL PROTECTED

[jQuery] Re: How do I select an Element with the ID="foo.bar:data" with jQuera Selectors?

2007-09-27 Thread Brandon Aaron
This FAQ should help you. http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F -- Brandon Aaron On 9/27/07, ravenel <[EMAIL PROTECTED]> wrote: > > > Hello jQuery Coders! > > Since it is allowed to use ".&

[jQuery] Re: Conflict with the Accessible News Slider and the Dimensions plugin (as required by the ClueTip)?

2007-09-27 Thread Brandon Aaron
This is because the selector didn't match any elements before trying to call a method within dimensions (maybe offset). -- Brandon Aaron On 9/27/07, HelloWorld <[EMAIL PROTECTED]> wrote: > > > Hi. I'm experiencing a conflict w/ the Accessible News Slider and the > Di

[jQuery] Re: When will the API be updated for 1.2.1?

2007-09-27 Thread Brandon Aaron
That looks a lot more promising! Does anyone have experience implementing this extension that would like to help? -- Brandon Aaron On 9/27/07, Sam Collett <[EMAIL PROTECTED]> wrote: > > > You use MediaWiki don't you? If so can't you convert the Wiki markup > to Xml an

[jQuery] Re: When will the API be updated for 1.2.1?

2007-09-27 Thread Brandon Aaron
t the actual markup of the Wiki is a pain and doesn't scale well for inclusion of plugins, etc. I've made a little progress (still have a long way to go) with using Hpricot to at least get the core docs into XML. -- Brandon Aaron On 9/27/07, Andy Matthews <[EMAIL PROTECTED]> w

[jQuery] Re: dimensions issue?

2007-09-26 Thread Brandon Aaron
s script file before using it. -- Brandon Aaron On 9/26/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > I though if a selector return nothing and i tried to call a method, it > would > just fail by saying that the method i called is not a function. > > > Brando

[jQuery] Re: nonsecure items

2007-09-26 Thread Brandon Aaron
Did you try removing any plugins first? It might actually be the plugins causing the problem and since you remove jquery.js it just looks like the problem is solved. However, the plugins just aren't running either. -- Brandon Aaron On 9/26/07, Dimitris <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: dimensions issue?

2007-09-25 Thread Brandon Aaron
The jQuery collection is empty ... meaning it didn't match any any elements. Which means my_element.length == 0 -- Brandon Aaron On 9/25/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > [Exception... "'Dimensions: jQuery collection is empty' when ca

[jQuery] Re: Plugin Question

2007-09-25 Thread Brandon Aaron
Inside the plugin this is actually the jQuery object that the plugin was called on. (function($) { $.fn.plugin = function() { console.log(this); // the jQuery collection/object }; })(jQuery); -- Brandon Aaron On 9/25/07, Eridius <[EMAIL PROTECTED]> wrote: > > >

[jQuery] Re: jdmenu and new dimensions issue?

2007-09-25 Thread Brandon Aaron
Hmmm it looks like jdmenu is using either innerWidth/Height or outerWidth/Height on the window which was removed in the latest SVN of dimensions. Using the older version of dimensions along with UI shouldn't give you any trouble at least until either dimensions or jdmenu is updated. -- Br

[jQuery] Re: jdmenu and new dimensions issue?

2007-09-25 Thread Brandon Aaron
get a more meaningful error? Could you upload a demo of the issue? -- Brandon Aaron On 9/25/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > I know it work with the older version the jdmenu comes with however i also > am > using the jQuery UI which needs the newer version an

[jQuery] Re: jdmenu and new dimensions issue?

2007-09-25 Thread Brandon Aaron
You can get the older version of dimensions here: http://jquery.com/plugins/project/dimensions If you could test it out, that would help a lot. Thanks! -- Brandon Aaron On 9/25/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > I don't know which version it comes with by d

[jQuery] Re: jdmenu and new dimensions issue?

2007-09-25 Thread Brandon Aaron
Does it work with Dimensions 1.1.2? -- Brandon Aaron On 9/25/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > has anyone been able to use jdmenu 1.3 with jquery 1.2.1 and dimensions > Rev: > 3238 Built on 2007-09-11 for jQuery 1.2+? > > > Brandon Aaron wrote: >

[jQuery] Re: jdmenu and new dimensions issue?

2007-09-23 Thread Brandon Aaron
What issue are you referring to? -- Brandon Aaron On 9/23/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > Does anyone know if the issue with the new dimensions(the one with the > jQuery > UI) is being worked out with jdmenu cause i need to use both or is there a > me

[jQuery] Re: How to create dom element with a defined behaviour ?

2007-09-23 Thread Brandon Aaron
selectors that will bind those behaviors to all newly matched elements. http://jquery.com/plugins/project/livequery -- Brandon Aaron On 9/23/07, xavier <[EMAIL PROTECTED]> wrote: > > > Hello, > > I found myself adding elements to a page, and then adding behaviou

[jQuery] Re: filtering elements

2007-09-22 Thread Brandon Aaron
ith a set width/height (maybe a max width/height). Actually I think there is a truncate plugin ... yup, there is (http://www.reindel.com/truncate/). I'm not sure if that helps or not. -- Brandon Aaron On 9/22/07, Pops <[EMAIL PROTECTED]> wrote: > > > Hi Brandon, > > Ma

[jQuery] Re: filtering elements

2007-09-22 Thread Brandon Aaron
}); Hope that helps! :) -- Brandon Aaron On 9/22/07, Pops <[EMAIL PROTECTED]> wrote: > > > Hi Brandon, > > Let me try this > > I'm not seeing it work. Here is my test code. I tried all 3 methods: > > > > </ > script> > <sc

[jQuery] Re: filtering elements

2007-09-22 Thread Brandon Aaron
, script, title, img'); andSelf is a jQuery 1.2 method. If you are using an earlier version you could use $('*', data).add(data) -- Brandon Aaron On 9/22/07, Pops <[EMAIL PROTECTED]> wrote: > > > I noticed some example using something like so: > > data = $(da

[jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-22 Thread Brandon Aaron
Thanks for clearing that up Michael! :) -- Brandon Aaron On 9/22/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > Just to clarify, code inside an iframe from the same domain as its parent > *can* manipulate the DOM in the parent, and vice versa. > > What you can't do

[jQuery] Re: jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-22 Thread Brandon Aaron
This is a security limitation in IE and I believe Firefox 3 will have it as well. -- Brandon Aaron On 9/21/07, linuja <[EMAIL PROTECTED]> wrote: > > copy the data in iframe to its parent. It works fine in firefox and opera, > bug it can't in ie(both ie6 and ie7). >

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Brandon Aaron
Well why not fix :after and :before too :) -- Brandon Aaron On 9/21/07, Christian Bach <[EMAIL PROTECTED]> wrote: > > Yeah that would make sense! > > A other thing that could be use full is to have a fix for the :focus > selector in IE6. > All though it will be retu

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Brandon Aaron
Nice. Thanks for sharing! -- Brandon Aaron On 9/21/07, Christian Bach <[EMAIL PROTECTED]> wrote: > > Hi list, > > The other day i got feed up with ie6 not having :hover css support so i > decided to fix it. > > Here is a simple script that solves the problem: > ht

[jQuery] Re: $(document) bug?

2007-09-21 Thread Brandon Aaron
The $(document).height() issue is resolved in SVN. Try using $(window).resize() instead of $(document).resize(). -- Brandon Aaron On 9/21/07, Hackfrag <[EMAIL PROTECTED]> wrote: > > > I have the same Problem :( > > On 13 Sep., 17:20, hans <[EMAIL PROTECTED]> wr

[jQuery] Re: jqDnR - jQuery 1.2 and Dimensions problem

2007-09-20 Thread Brandon Aaron
f the functionality (offset and window/document height/width) went into the core. I'm curious to know if it is a problem with jqDnR or the new offset method. I'll see if I can take a look at this sometime soon as well. -- Brandon Aaron On 9/20/07, tlphipps <[EMAIL PROTECTED]> wrote: &

[jQuery] Re: Gradient Filter for FireFox or Mozilla

2007-09-20 Thread Brandon Aaron
No but you could use Canvas or you could use the gradient plugin. http://jquery.com/plugins/project/gradient I've been thinking about updating the gradient plugin to use canvas but just don't have the time right now. -- Brandon Aaron On 9/20/07, Pops <[EMAIL PROTECTED]>

[jQuery] Re: Delayed response using Live Query

2007-09-20 Thread Brandon Aaron
x27;adding date'); $('#target').html(''); }; -- Brandon Aaron On 9/20/07, leon14850 <[EMAIL PROTECTED]> wrote: > > > Hi, all! I'm experiencing a strange problem with Live Query. When I > add elements to the DOM, they aren't picked up until I click a

[jQuery] Re: JSPacker for .NET

2007-09-17 Thread Brandon Aaron
Yeah the initial file size results from the packer are better but the end results after gzipping is usually better with jsmin. It would seem that the .Net gzip library has some limitations. -- Brandon Aaron On 9/17/07, Jeffrey Kretz <[EMAIL PROTECTED]> wrote: > > Actually, Dean&#

[jQuery] Re: JSPacker for .NET

2007-09-17 Thread Brandon Aaron
You need to use JSMin to get the file size down to ~14k with gzip. -- Brandon Aaron On 9/17/07, Jeffrey Kretz <[EMAIL PROTECTED]> wrote: > > I've spend the last few days building a .NET implementation of a gzip > packer. It accepts an argument like either of these two: >

[jQuery] Re: Stripping query string from URI?

2007-09-15 Thread Brandon Aaron
Looks like Jon already fixed it. -- Brandon Aaron On 9/14/07, Stosh <[EMAIL PROTECTED]> wrote: > > > There's a ticket opened for this: > http://dev.jquery.com/ticket/1579 > > But does anyone know the rationale here? Is there any chance we can > get this fixed in

[jQuery] Re: Downloading 1.2 minified, getting 46kb instead of 14kb ??!?

2007-09-14 Thread Brandon Aaron
Hmmm ... jQuery can still be packed and gzipping can be done in IIS without much effort. We are doing it for our .Net projects. -- Brandon Aaron On 9/14/07, Stephan Beal <[EMAIL PROTECTED]> wrote: > > > On Sep 14, 4:46 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: grabbing event.target & using it load - no longer works for me in 1.1.4+

2007-09-14 Thread Brandon Aaron
I think you want to get the event.target.href. You are passing the whole element which is an A tag. Which its toString() method reports the href value and is why the ""+event.target works. var resultlink = event.target.href; -- Brandon Aaron On 9/14/07, skatta <[EMAIL PROT

[jQuery] Re: jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)

2007-09-13 Thread Brandon Aaron
Okay, I just committed the fix for this in SVN. Feel free to grab the latest version from SVN to get this working properly. -- Brandon Aaron On 9/13/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > > Okay I finally found a little time to take a look at this and I can > confirm

[jQuery] Re: jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)

2007-09-13 Thread Brandon Aaron
Okay I finally found a little time to take a look at this and I can confirm that it is not working. I'll be committing a fix to SVN soon and it will be in the upcoming jQuery 1.2.1. -- Brandon Aaron On 9/13/07, linuja <[EMAIL PROTECTED]> wrote: > > sorry, i forget show the

[jQuery] Re: Faster then innerHTML

2007-09-13 Thread Brandon Aaron
.push( newEl ); }).pushStack( stack ); }; -- Brandon Aaron On 9/12/07, Steve L. <[EMAIL PROTECTED]> wrote: > > > John, I slapped this modified version of my test page together in a > couple minutes: > > http://stevenlevithan.com/demo/replaceHtml_jQuery.html > > jQ

[jQuery] Re: jQuery 1.2 seems to break the Treeview plugin

2007-09-12 Thread Brandon Aaron
On 9/12/07, Pops <[EMAIL PROTECTED]> wrote: > Alex, > > For what it is worth, I was able to confirm with three recent working > v1.1.4 treeview applications are now no longer working "the same" > when I simply change the

[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-12 Thread Brandon Aaron
I think you might be able to use John's modified version of Rhino that acts like a browser. Where it is I'm not sure but it wasn't that long ago that he wrote it. -- Brandon Aaron On 9/12/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: > > Hi Rob, > > .ready() won&

[jQuery] Re: jquery 1.2 feedback

2007-09-12 Thread Brandon Aaron
site, that would be great! Note that the new offset method does not have any options and any relative offsets will need to be calculated manually. The upcoming new dimensions plugin (currently in SVN) no longer has an offset or offsetLite method. It still has offsetParent and position though. -- Bra

[jQuery] Re: jquery 1.2 feedback

2007-09-12 Thread Brandon Aaron
BTW ... the same functionality can now be achieved with jQuery 1.2 and the update .load() method. http://docs.jquery.com/Ajax/load#urldatacallback -- Brandon Aaron On 9/12/07, Priest, James (NIH/NIEHS) [C] <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > >

[jQuery] Re: jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)

2007-09-12 Thread Brandon Aaron
Could you post an example of the issue? BTW ... It only copies events bound with jQuery. -- Brandon Aaron On 9/11/07, linuja <[EMAIL PROTECTED]> wrote: > > jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)

[jQuery] Re: Tablesorter plugin doesn't work properly with 1.2

2007-09-11 Thread Brandon Aaron
I think the author is going to release an update that fixes this soon. -- Brandon Aaron On 9/11/07, dobosgy <[EMAIL PROTECTED]> wrote: > > > Tablesorter 2.0 plugin doesn't work properly with JQuery 1.2. > > If I bind a click function to the items in the table, it works

[jQuery] Re: Does 1.2 now negate the need for liveQuery?

2007-09-11 Thread Brandon Aaron
You do still need to call the .livequery() method but it isn't in the core for 1.2 ... so you will still need to include the jquery.livequery.js file. -- Brandon Aaron On 9/11/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > I think you have to call the "live" m

[jQuery] Re: Does 1.2 now negate the need for liveQuery?

2007-09-11 Thread Brandon Aaron
You will still need to use Live Query for that functionality. -- Brandon Aaron On 9/11/07, Phillip B Oldham <[EMAIL PROTECTED]> wrote: > > > Hi all > > I remember something being mentioned that 1.2 would remove the need > for the liveQuery plugin, binding relevant events

[jQuery] Re: Live Query and tables problem

2007-09-05 Thread Brandon Aaron
error with Live Query and the example shows that the error doesn't exist in a simple test case. If you could provide a test page that shows that error, that would be great. -- Brandon Aaron On 9/5/07, Jean <[EMAIL PROTECTED]> wrote: > > > Sorry but your example isnt work > now

[jQuery] Re: Live Query and tables problem

2007-09-04 Thread Brandon Aaron
I wasn't able to see that site but I went ahead and created a small test case based on the information you provided. http://brandonaaron.net/jquery/issues/livequery/table_test/table_test.html I'm not able to reproduce the error you are getting. -- Brandon Aaron On 9/4/07, Je

[jQuery] Re: Live Query and tables problem

2007-09-04 Thread Brandon Aaron
Are there any other scripts included? Would you mind posting up the example? -- Brandon Aaron On 9/4/07, Jean <[EMAIL PROTECTED]> wrote: > > > Is a very simple example and dont works =/ > > $('tr').livequery('mouseover', function(){ $(this).addClass(

[jQuery] Re: Graceful degradation (Safari < 2)

2007-08-30 Thread Brandon Aaron
a new ticket with a test case and even better a patch. Thanks :) -- Brandon Aaron On 8/30/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > > > > In this case you are fixing a bug that happens to appear in one > > > browser, but why limit the fix to only that browser? Wha

[jQuery] Re: Graceful degradation (Safari < 2)

2007-08-30 Thread Brandon Aaron
cular fix, I don't recall if it negatively affected another browser/engine. -- Brandon Aaron

[jQuery] Re: Graceful degradation (Safari < 2)

2007-08-30 Thread Brandon Aaron
The example you posted is a very specific bug in Safari and running it for other browsers would be incorrect. We do feature/object checking when it is possible. -- Brandon Aaron On 8/30/07, Matt Kruse <[EMAIL PROTECTED]> wrote: > > > On Aug 30, 7:15 am, "[EMAIL PROTECTED

[jQuery] Access Settings in a "Sortable" Element

2007-08-30 Thread Brandon!
Using the Interface Plugin, I have created a "Sortable" element: jQuery('#rank-products').Sortable(); In there I have passed params like: handle: 'td.rank-handle' Is it possible to reference that param? I am trying to call it in a function later, and I would like for this to be more generalized

[jQuery] Re: Graceful degradation (Safari < 2)

2007-08-29 Thread Brandon Aaron
The Safari version is actually the WebKit build number. Which is 413 for Safari 2. -- Brandon Aaron On 8/29/07, Karl Rudd <[EMAIL PROTECTED]> wrote: > > > If you're using jQuery 1.1.3 or later you can test for the version of > Safari really easily: > > if ( $

[jQuery] Re: How do child selectors work in jQuery?

2007-08-29 Thread Brandon Aaron
Whoops :) that should be: #test > li > a That will only select the direct a tags of the LI. Previously you where selecting all A tags of the LI. Even the A tags within the other child elements of the LI. -- Brandon Aaron On 8/29/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: How do child selectors work in jQuery?

2007-08-29 Thread Brandon Aaron
Actually it works this way in the CSS Spec also and your test file proves it. Just use this selector instead of your other selector: #test > li a -- Brandon Aaron On 8/29/07, Jeroen Coumans <[EMAIL PROTECTED]> wrote: > > > Thanks for the explanation, that makes sense. But t

[jQuery] Re: Live Query with Draggables

2007-08-29 Thread Brandon Aaron
The ID shouldn't be necessary at all ... it just provides some context to make the selector faster. I'll try out your example soon to see if I can spot the issue. -- Brandon Aaron On 8/28/07, Theodore Ni <[EMAIL PROTECTED]> wrote: > > I know exactly what you mean, and it ma

[jQuery] Re: How do child selectors work in jQuery?

2007-08-29 Thread Brandon Aaron
... instead of all the a tags within the li. $('#test > li > a').click(...); -- Brandon Aaron On 8/29/07, Jeroen Coumans <[EMAIL PROTECTED]> wrote: > > > Hi, > > See <http://lab.jeroencoumans.nl/jquery/child-selector.html> > It's my understanding th

[jQuery] Re: Release: Accordion 1.5

2007-08-29 Thread Brandon Aaron
Firebug has a tendency to say that every once in a while. Restart Firefox and see if it still has the error. -- Brandon Aaron On 8/29/07, Erin Doak <[EMAIL PROTECTED]> wrote: > > > It's late and maybe I'm wrong but there seems to be an infinite > recursion error (Fire

[jQuery] Re: Live Query with Draggables

2007-08-28 Thread Brandon Aaron
. $('#containerID form.client').livequery(...); Could you upload an example somewhere that we could see? -- Brandon Aaron On 8/28/07, Theodore Ni <[EMAIL PROTECTED]> wrote: > > > That sounds like it should work, but it isn't doing anything. I think > there must be something

[jQuery] Re: How optimize $(this).children("span").children("a").html("it works");

2007-08-28 Thread Brandon Aaron
This should work then: $('> span > a', this).html('it works'); -- Brandon Aaron On 8/28/07, Erik Beeson <[EMAIL PROTECTED]> wrote: > > > > > $(this).children("span").children("a").html("it works"); > > I woul

[jQuery] Re: Live Query with Draggables

2007-08-28 Thread Brandon Aaron
lugin("Draggable"); Now Live Query will know to watch for changes created by the Draggable code. -- Brandon Aaron On 8/28/07, Theodore Ni <[EMAIL PROTECTED]> wrote: > > > Hey guys, > > I'm having a spot of trouble combining live query with interface > draggab

[jQuery] Re: Why isn't there top() and left() methods in the dimension plugin ?

2007-08-28 Thread Brandon Aaron
You can very easily add these helper methods to your own app like this: jQuery.fn.left = function() { return this.offset({scroll:false}).left; }; jQuery.fn.top = function() { return this.offset({scroll:false}).top; }; -- Brandon Aaron On 8/28/07, Olivier Percebois-Garve <[EM

[jQuery] Re: jQuery Interface Highlight Bug?

2007-08-27 Thread Brandon!
Ouch, a 6 month old bug? I guess I'll have to just leave my callback function in for now, unless someone knows a better work around? Thanks, Brandon On Aug 27, 2:15 pm, "Priest, James (NIH/NIEHS) [C]" <[EMAIL PROTECTED]> wrote: > > -Original Message- > &

[jQuery] jQuery Interface Highlight Bug?

2007-08-27 Thread Brandon!
emain #FFF, but I would rather not do this. Is this a known problem, or am I doing something wrong? Thanks, Brandon

[jQuery] Re: Cross-Domain xmlHttp

2007-08-27 Thread Brandon Aaron
Actually John checked in this functionality to SVN (r2891) just the other day. You can use it like this: $('#myElem').load('somepage.html div#conent'); Pretty cool stuff. -- Brandon Aaron On 8/27/07, Glen Lipka <[EMAIL PROTECTED]> wrote: > > Brad Neuberg had de

[jQuery] Re: jQuery 1.1.4: Faster, More Tests, Ready for 1.2

2007-08-26 Thread Brandon Aaron
hmmm ... disregard is not the right word. It simply bumps any timer less than 10ms to 10ms. They call it error-correcting. -- Brandon Aaron On 8/26/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > > WebKit nightlies and Safari 3 disregard any timers less than 10ms and > according

[jQuery] Re: jQuery 1.1.4: Faster, More Tests, Ready for 1.2

2007-08-26 Thread Brandon Aaron
WebKit nightlies and Safari 3 disregard any timers less than 10ms and according to this article so does IE and Firefox. See the section titled "(3) JS Timeouts and Intervals" here: http://webkit.org/blog/?p=96 -- Brandon Aaron On 8/26/07, Jörn Zaefferer <[EMAIL PROTECTED]> w

[jQuery] Re: Problem with $(document) and actually with every $(...) call

2007-08-26 Thread Brandon Aaron
Heh no worries ... we've all done the same thing before ... at least I have :) -- Brandon Aaron On 8/26/07, PCPbSlack <[EMAIL PROTECTED]> wrote: > > > Somebody please delete this, because I am stupid. Is my fault! I am so > shamed! > > On Aug 26, 4:58 pm, PCPbSl

[jQuery] Re: jQuery 1.1.4: Faster, More Tests, Ready for 1.2

2007-08-25 Thread Brandon Aaron
If only everything was so cut and dry. -- Brandon Aaron On 8/25/07, Pops <[EMAIL PROTECTED]> wrote: > > > Eric, anyone can come up with a solution. > > But if we strictly talking about jQuery and using it in an optimized, > reliable, maximum support possible, then no.

<    1   2   3   4   5   6   >