[jQuery] Any kind soul to help me figure out whats wrong?

2009-11-15 Thread Brandon
. Thank you!! Brandon

[jQuery] Re: Any kind soul to help me figure out whats wrong?

2009-11-15 Thread Brandon
repeat scroll 0 0;border:3px double #11;height:50px;margin:0 2px;width:68px;float:left;} thanks so much!! brandon On Nov 16, 4:41 am, Charlie charlie...@gmail.com wrote: not entirely sure what gallery is supposed to do but you can align the thumbs better changing this css:.gallery_demo li

[jQuery] thumbnail gallery messy from blogspot to custom domain

2009-11-14 Thread brandon Tong
Hi there, I have totally no training in jquery so I'm just trying my luck here. I have a thumbnail gallery in blogspot before and it is properly arranged in 2 rows, with 9 in each row. After transferring it to a custom domain, the thumbnail gallery is in a mess and arranged vertically and

[jQuery] JQuery ClueTip Arrow Issue

2009-08-20 Thread brandon
Without making the tooltip fixed is there a way to have the arrow pointer always display in the same position to the left when it hovers over the selector? i.e. the left arrow will always display in the middle of the container

[jQuery] Re: :visible fails in MSIE8 (in a ThickBox)

2009-06-26 Thread Brandon Aaron
This is (finally) fixed in latest SVN and will be in jQuery 1.3.3. -- Brandon Aaron On Fri, Jun 26, 2009 at 1:50 PM, Nekura Nekonekura.n...@gmail.com wrote: Okay, so jQuery 1.3.2 defines the visible filter like this: Sizzle.selectors.filters.visible = function(elem){        return

[jQuery] Form Traversal Best Practices

2009-06-19 Thread Brandon!
can hopefully put to rest soon. Thanks, Brandon

[jQuery] Re: Form Traversal Best Practices

2009-06-19 Thread Brandon!
was. Thanks, Brandon On Jun 19, 1:21 pm, Karl Swedberg k...@englishrules.com wrote: On Jun 19, 2009, at 2:10 PM, Brandon! wrote: So I've always had a couple questions about forms and jQuery, so I thought I'd finally ask and see if I can get a straight answer (they're all pretty simple). First

[jQuery] Re: question re: .live() and .empty()

2009-05-30 Thread Brandon Aaron
() events. http://docs.jquery.com/Events/die#typefn -- Brandon Aaron On Fri, May 29, 2009 at 10:06 PM, Jack Killpatrick j...@ihwy.com wrote: I'm guessing that once a .live() instantiation occurs it's there for good. If that's the case, is there a way to destroy it? (in particular as it pertains

[jQuery] Re: Reverse a collection of jQuery elements.

2009-05-27 Thread Brandon Aaron
$.fn.reverse = [].reverse; $('#some_selector').parents('li').reverse(); :) -- Brandon Aaron On Wed, May 27, 2009 at 4:51 PM, simshaun simsh...@gmail.com wrote: I need to reverse the collection jQuery returns when I use    $(#some_selector).parents(li); in order to build a path

[jQuery] Re: Best book to learn jQuery?

2009-05-18 Thread Brandon Aaron
. :) -- Brandon Aaron

[jQuery] Re: Events - Live -v- Livequery

2009-05-18 Thread Brandon Aaron
Only Live Query supports calling a function when an element is matched (or unmatched). If you need this functionality, then you'll need to stick with Live Query. -- Brandon Aaron On Mon, May 18, 2009 at 9:58 AM, Meander365 aarron.pain...@gmail.com wrote: Hi all, I normally do

[jQuery] Re: scrollTop on jQuery object

2009-05-18 Thread Brandon Aaron
There are two ways to get the DOM element out of the jQuery object. Assuming $msgs from your code example, you could get the first message as a DOM element like this: var msg = $msgs.get(0); // or var msg = $msgs[0]; // then get scrollHeight msg.scrollHeight -- Brandon Aaron On Mon, May 18

[jQuery] Re: jQuery-way for filtering self + all children

2009-05-04 Thread Brandon Aaron
FYI... There is an open enhancement ticket that proposes adding an optional selector to the .andSelf() method. http://dev.jquery.com/ticket/4446 -- Brandon Aaron On Mon, May 4, 2009 at 5:11 PM, Pappy helga...@gmail.com wrote: Just curious... what's the jQuery-way of saying Give me all children

[jQuery] Re: jQuery-way for filtering self + all children

2009-05-04 Thread Brandon Aaron
-- Brandon Aaron On Mon, May 4, 2009 at 6:57 PM, Pappy helga...@gmail.com wrote: While it will be nice to pass in a selector to andSelf, it's a shame you'll have to repeat the selector in both the 'find' and 'addSelf'. I'd still rather there be only one function necessary. It's an awfully common

[jQuery] Ready event when loading a page with ajax

2009-04-23 Thread Brandon
if this is an acceptable way or if there is a better way. Number 2 is not acceptable because the fragment may be called from several other locations and I don't want repetitious code. Am I being thick headed here? Is there another better way? Brandon

[jQuery] Re: Loading before dom = ready - Best Practices.

2009-04-23 Thread Brandon Aaron
You could use $.getScript to load in the slow loading scripts. Any scripts loaded this way will be non-blocking (asynchronous). -- Brandon Aaron On Thu, Apr 23, 2009 at 2:13 PM, hedgomatic hedgoma...@gmail.com wrote: While virtually every site in existence trumpets using the jQuery DOM

[jQuery] Re: Loading before dom = ready - Best Practices.

2009-04-23 Thread Brandon Aaron
On Thu, Apr 23, 2009 at 3:42 PM, Adam hedgoma...@gmail.com wrote: On Apr 23, 2:57 pm, Brandon Aaron brandon.aa...@gmail.com wrote: You could use $.getScript to load in the slow loading scripts. Any scripts loaded this way will be non-blocking (asynchronous). -- Brandon Aaron

[jQuery] Re: Questions about $.live, Live Query and performance

2009-04-20 Thread Brandon Aaron
number of elements and they exist at runtime then you should still use bind. -- Brandon Aaron On Sun, Apr 19, 2009 at 11:16 AM, Geoffrey geoffreykjqu...@gmail.comwrote: $.live and Live Query are both wonderful. I am hoping to put them to extensive use in my projects. I have a few questions

[jQuery] jQuery UI Developer

2009-02-22 Thread Brandon Casci
Hello I know this isn't then general purpose for this list, but I've had a lot of trouble finding someone fluent with jQuery. By any chance, is there a good web UI developer out there with some availability and jQuery fluency? I live in the Boston, MA area. You don't have to live here, but I

[jQuery] Re: Minified and Gzip?

2009-02-19 Thread Brandon Aaron
|pdf)$ no-gzip dont-vary # Make sure proxies don't deliver the wrong content Header append Vary User-Agent env=!dont-vary Hope that helps... -- Brandon Aaron On Tue, Feb 17, 2009 at 7:00 PM, ScottChiefBaker scott.ba...@gmail.comwrote: How do I setup JQuery to be server Gzipped? Using apache I

[jQuery] Re: Why does $.width return innerWidth but set outerWidth?

2009-02-13 Thread Brandon Aaron
This isn't the normal behavior. Could you create a test case for this? -- Brandon Aaron On Fri, Feb 13, 2009 at 5:07 AM, [rob desbois] rob.desb...@gmail.comwrote: Hi all, I was just writing a bit of JS to set the width of some buttons to the width of the largest. While doing this I found

[jQuery] Re: live Problem

2009-01-29 Thread Brandon Aaron
Stick with Live Query but grab the latest version of Live Query from GitHub: http://github.com/brandonaaron/livequery/tree/master -- Brandon Aaron On Thu, Jan 29, 2009 at 7:59 PM, Pedram pedram...@gmail.com wrote: Dear FOlk , I'm going to upgrade my liveQuery code , I figured out that LIVE

[jQuery] API Browser for your iPhone and iPod Touch

2009-01-28 Thread Brandon Aaron
click back one more time and then go to that page again and it will magically scroll again. I tweaked the iUI framework to use CSS transforms for the slide animation and it seems to be causing the issue. -- Brandon Aaron

[jQuery] Re: I love jQuery fan logos

2009-01-23 Thread Brandon Aaron
Cool! BTW... You can find the official jQuery and jQuery UI logos here: http://docs.jquery.com/Design_and_Identity :) -- Brandon Aaron On Fri, Jan 23, 2009 at 7:35 AM, chrispie cpiet...@gmail.com wrote: hey, i love jQuery so i made some i love jQuery logos for blogs or what ever. be proud

[jQuery] Re: When to use LiveQuery plugin

2009-01-21 Thread Brandon Aaron
What is the issue you are having? Which version of Live Query are you using? Try using the very latest/edge version of Live Query that you can download from github. http://github.com/brandonaaron/livequery/tree/master -- Brandon Aaron On Wed, Jan 21, 2009 at 12:15 PM, Rics ricardo.ce

[jQuery] Re: When to use LiveQuery plugin

2009-01-19 Thread Brandon Aaron
not supported by live. http://docs.jquery.com/Events/live#typefn If you are using the function based livequeries then you should stick with LiveQuery and upgrade to the git version. http://github.com/brandonaaron/livequery/tree/master -- Brandon Aaron On Mon, Jan 19, 2009 at 10:23 AM, Terry

[jQuery] Re: $(' Expert jQuery JS synatx ' ).show

2009-01-18 Thread Brandon Aaron
I believe you are looking for the following syntax: $(selector)[ (expr ? 'next' : 'before') ]().show(); -- Brandon Aaron On Sun, Jan 18, 2009 at 9:12 PM, Ami aminad...@gmail.com wrote: Sorry about my grammar, English isn't my lang. I am trying to write code like that: var expr=true

[jQuery] Re: $(' Expert jQuery JS synatx ' ).show

2009-01-18 Thread Brandon Aaron
like this. window[ (expr ? 'a' : 'a') ]() -- Brandon Aaron On Sun, Jan 18, 2009 at 9:48 PM, Ami aminad...@gmail.com wrote: Thank you. It's working :) Can you put a function name in an array ?! May you explain me WHY it's working? $('div')[ (true? 'next' : 'before') ]().hide() I

[jQuery] Re: jQuery 1.3 + live/livequery + draggable problem

2009-01-07 Thread Brandon Aaron
issue. -- Brandon Aaron On Wed, Jan 7, 2009 at 9:28 PM, Richard D. Worth rdwo...@gmail.com wrote: I'm not sure you'll have success (yet) combining a (preview) released version of jQuery UI 1.6 with a (preview) released version of jQuery 1.3. Here's a summary jQuery UI 1.5.3 will only work

[jQuery] Re: How beneficial is chaining methods?

2008-12-03 Thread Brandon Aaron
Just a quick clarification on this. The this keyword within the newMethod plugin you just made is already the jQuery object. All you need to do is return this; -- Brandon Aaron On Wed, Dec 3, 2008 at 1:01 PM, 703designs [EMAIL PROTECTED] wrote: There's nothing special about chaining methods

[jQuery] Re: Use of getBoxObjectFor() is deprecated. Try to use element.getBoundingClientRect() if possible.

2008-11-29 Thread Brandon Aaron
if it exists first and then uses it. When Firefox finally removes it, the code should jump to the next branch. Unless they did browser detection :( -- Brandon Aaron On Thu, Nov 27, 2008 at 9:40 AM, edzah [EMAIL PROTECTED] wrote: Searched around and found a old post here but there was no answer. Any idea

[jQuery] Re: Hi all, jquery issue (major) with IE - all versions

2008-11-26 Thread Brandon Aaron
It sounds like you might be trying to set css properties via the .attr method instead of the .css method. -- Brandon Aaron On Wed, Nov 26, 2008 at 10:23 AM, tukutela [EMAIL PROTECTED]wrote: Hi all, I have some additional information which I hope might be of use. the function is passed

[jQuery] Re: table striping performance with livequery

2008-11-24 Thread Brandon Aaron
When dealing with tables, event delegation is almost always the best way to handle it. You might want to give jQuery.listen plugin a try. http://plugins.jquery.com/project/Listen -- Brandon Aaron On Mon, Nov 24, 2008 at 8:36 AM, Carpii [EMAIL PROTECTED] wrote: Hi all, ive just started using

[jQuery] Re: livequery not binding to ajax loaded links in ie6 and ie7?

2008-11-16 Thread Brandon Aaron
No worries! Glad you got it figured out and sorry I wasn't able to get back to you sooner. :) -- Brandon Aaron On Sat, Nov 15, 2008 at 2:39 PM, n00bert [EMAIL PROTECTED] wrote: Got it sorted. ie doesn't like the selector. Now using a different method, but still with livequery. Sorry to have

[jQuery] Re: livequery not binding to ajax loaded links in ie6 and ie7?

2008-11-14 Thread Brandon Aaron
On Thu, Nov 13, 2008 at 10:26 PM, n00bert [EMAIL PROTECTED] wrote: Hi Brandon, I put an alert in like so: $('#content div.thumb a').livequery('click', function(e) { alert ('clicked'); e.preventDefault(); var href = $(this).attr('href'); $('#mainMenu ul li

[jQuery] Re: livequery not binding to ajax loaded links in ie6 and ie7?

2008-11-13 Thread Brandon Aaron
+ ']').triggerHandler('click'); -- Brandon Aaron On Thu, Nov 13, 2008 at 9:13 PM, n00bert [EMAIL PROTECTED] wrote: Hi, I have the following code: //link is loaded via ajax into a div in #content //when clicked find a link in #mainMenu with the same href and trigger a click

[jQuery] Re: livequery not binding to ajax loaded links in ie6 and ie7?

2008-11-13 Thread Brandon Aaron
Well, to help debug the issue, try putting an alert within the click handler to make sure the click event is being bound and it isn't livequery causing the issue. Are you getting any script errors on the page? -- Brandon Aaron On Thu, Nov 13, 2008 at 10:04 PM, n00bert [EMAIL PROTECTED] wrote

[jQuery] Re: LiveQuery with Tipsy (tooltip) help

2008-11-07 Thread Brandon Aaron
Your very close... Try this instead: $('a[title]') .livequery(function() { $(this).tipsy({ fade: true, gravity: 'w' }); }); No need to return false. -- Brandon Aaron On Thu, Nov 6, 2008 at 9:14 PM, idealists [EMAIL PROTECTED]wrote: Im got a section of my page which updates via ajax

[jQuery] Re: LiveQuery with Tipsy (tooltip) help

2008-11-07 Thread Brandon Aaron
the following code: jQuery.livequery.run(); That will invoke Live Query as if you modified the DOM with jQuery. -- Brandon Aaron On Fri, Nov 7, 2008 at 10:01 AM, idealists [EMAIL PROTECTED]wrote: Hi Brandon Thanks, so much for your reply I had actually tried that too. And yes this does

[jQuery] Re: Livequery not working with jQuery 1.2.6

2008-11-07 Thread Brandon Aaron
Yeah you'll need to grab the latest version of livequery. -- Brandon Aaron On Fri, Nov 7, 2008 at 2:48 PM, Alexandre Plennevaux [EMAIL PROTECTED]wrote: how about using the latest version of livequery (1.0.2) ? http://plugins.jquery.com/node/1088 I use it with jquery 1.2.6 on several

[jQuery] Re: jQuery, ASP.Net and Drop-Down-Lists

2008-11-06 Thread Brandon Aaron
First place to check would be the selector. Make sure the select element is actually getting selected. I'd recommend using Firebug to help you see if the selector you are using is working and to help you formulate one that does if it isn't. -- Brandon Aaron On Thu, Nov 6, 2008 at 7:42 AM, Damien

[jQuery] Re: empty().append() slow

2008-11-06 Thread Brandon Aaron
It has to do more than just set innerHTML to a blank string to avoid memory leaks. :( -- Brandon Aaron On Thu, Nov 6, 2008 at 6:28 PM, jquertil [EMAIL PROTECTED] wrote: thanks Karl, didn't make a difference. I suppose I'll have to preload everything and show/hide things... ugh. does empty

[jQuery] Re: Can I make jquery not fail silently??

2008-11-05 Thread Brandon Aaron
is a corner stone of being able to progressively enhance your web site/app with unobtrusive javascript. -- Brandon Aaron

[jQuery] Re: dimensions plugin integrated in jquery ?

2008-10-08 Thread Brandon Aaron
That is correct. The dimensions plugin now completely included in jQuery 1.2.6. -- Brandon Aaron On Wed, Oct 8, 2008 at 7:41 AM, Alexandre Plennevaux [EMAIL PROTECTED]wrote: hello! aquick question: is it right that dimensions.js has been included in jquery 1.2.6? So there is no need

[jQuery] Re: LiveQuery won't allow explicit onchange firing?

2008-10-08 Thread Brandon Aaron
it ... but in the mean time you can use the above code to work around it. -- Brandon Aaron On Wed, Oct 8, 2008 at 11:04 AM, Jake McGraw [EMAIL PROTECTED] wrote: Using livequery for a project when I ran across an issue using the following code: $(input).livequery( change, function

[jQuery] Re: Questions about Flexigrid

2008-10-07 Thread Brandon
Hi Jens, Does this not work to reload your table? $('#tableName').flexReload(); On Aug 19, 4:49 am, Jens Grochtdreis [EMAIL PROTECTED] wrote: Hi, auto-height seems possible. just write: height: 'auto' The same seems not possible for width. But ususally you know the width of the div the

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-07 Thread Brandon Aaron
Make sure your styles are included before the script tags. Is this happening in a particular browser? -- Brandon Aaron On Tue, Oct 7, 2008 at 1:58 PM, John D. [EMAIL PROTECTED] wrote: Hmm...I'm still having trouble with this. my showHide script is as follows: $(document).domready(function

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-06 Thread Brandon Aaron
the display when JS is enabled. $(document).domready(funciton() { $('body').addClass('jsEnabled'); // let css know js is enabled }); Now in CSS you can just say: body.jsEnabled p.firstparagraph { display: none; } -- Brandon Aaron On Mon, Oct 6, 2008 at 7:11 PM, John D. [EMAIL PROTECTED

[jQuery] Re: Is it possible to avoid jumpy / disappearing content

2008-10-06 Thread Brandon Aaron
Actually it is located at: http://brandonaaron.net/jquery/snippets/domready/jquery.domready.js :) -- Brandon Aaron On Mon, Oct 6, 2008 at 8:09 PM, Brandon Aaron [EMAIL PROTECTED]wrote: The document ready function in 1.2.6 was updated to wait on styles. This is a good thing sometimes but other

[jQuery] Re: jEditable Clone Referring to the Original Element, livequery ok to use?

2008-09-29 Thread Brandon Aaron
After glancing over the JS it looks like you are using both live query and clone(true). Using both is unnecessary and might be the cause of the issue. Just try using one of the two and see if that resolves your issue. -- Brandon Aaron On Mon, Sep 29, 2008 at 2:04 PM, Wayne [EMAIL PROTECTED] wrote

[jQuery] Re: jEditable Clone Referring to the Original Element, livequery ok to use?

2008-09-28 Thread Brandon Aaron
Ahh ... I guess I just misunderstood :) Yes it is possible to use LiveQuery to bind custom events using LiveQuery. -- Brandon Aaron On Sun, Sep 28, 2008 at 2:48 PM, Mika Tuupola [EMAIL PROTECTED]wrote: On Sep 27, 2008, at 11:39 PM, Brandon Aaron wrote: I understood he was binding Jeditable

[jQuery] Re: livequery and iui

2008-09-26 Thread Brandon Aaron
In this particular case event delegation might serve you better. Live Query really only works if you are using jQuery methods to modify/manipulate the DOM. The iui code does not use jQuery and that is why Live Query can't see those particular updates. -- Brandon Aaron On Fri, Sep 26, 2008 at 12

[jQuery] Re: jquery/livequery assign behaviour to element by class

2008-09-16 Thread Brandon Aaron
Replace the first line $('.deleteform').submit(function() { with this $('.deleteform').livequery('submit', function() { -- Brandon Aaron On Tue, Sep 16, 2008 at 8:30 PM, onmountain [EMAIL PROTECTED] wrote: Can I use livequery with ajax? For instance, I am adding and deleting elements

[jQuery] jQuery UI Resizables, iframes and FireFox

2008-09-08 Thread Brandon
would be appreciated. I was thinking about adding listeners for certain events (mousemove and mouseup maybe) to the iframe or its document and passing those events to the parent document. I'm not quite sure how to go about that though. -Brandon

[jQuery] Re: Convert MooTools to jQuery

2008-09-05 Thread Brandon Aaron
This should be the equivalent in jQuery code. $(document).bind('ready', function() { $('.Boite') .find('div').hide().end() .find('a') .bind('click', function(event) { $(this).parent().find('div').toggle(); }) }); -- Brandon Aaron On Fri, Sep 5, 2008 at 12:38 PM, israel.hayes [EMAIL PROTECTED

[jQuery] Re: Possible jQuery versions conflict

2008-09-04 Thread Brandon Aaron
Just use jQuery.noConflict(true) to rename the jQuery namespace to whatever you want. http://docs.jquery.com/Core/jQuery.noConflict#extreme var test = jQuery.noConflict(true); Now you can use test(selector) instead of $(selector) or jQuery(selector) -- Brandon Aaron On Thu, Sep 4, 2008 at 3:09

[jQuery] Re: Mouseover /Mouseout div issue

2008-08-31 Thread Brandon Aaron
the scenes. $(...).hover(fn1, fn2); -- Brandon Aaron On Sun, Aug 31, 2008 at 8:26 PM, MikeyJ [EMAIL PROTECTED] wrote: Hi All, I'm working on something similar in functionality to the lexus website. I've got a nav element that shows a large div on mouseover and hides it on mouseout. This div

[jQuery] Re: jQuery 1.2.6 event.altKey is undefined

2008-08-24 Thread Brandon Aaron
It has already been fixed in SVN. If you don't want to use the SVN version then simply reference the altKey property like this: event.originalEvent.altKey -- Brandon Aaron On Sun, Aug 24, 2008 at 1:06 PM, Tzury [EMAIL PROTECTED] wrote: The latest version that behave correctly is 1.2.4. How

[jQuery] Re: JQuery exists - anything in core or a plugin that does this?

2008-08-22 Thread Brandon Aaron
Is there a particular method/plugin you are wanting to write this for? Most jQuery methods and plugins operate on 0 or more matched elements. -- Brandon Aaron On Fri, Aug 22, 2008 at 7:54 AM, James [EMAIL PROTECTED] wrote: Hi, I can't seem to find anything that does the following: $(img

[jQuery] Re: offset() returns different values between resize and onload events

2008-07-21 Thread Brandon Aaron
I haven't tried to reproduce this yet but I'm wondering if the body has any margin (default or not). If so try setting the margin to 0 on the body. -- Brandon Aaron On Jul 21, 4:20 pm, jquertil [EMAIL PROTECTED] wrote: I'm checking offset() return values in both events: window resize and load

[jQuery] Re: offset() returns different values between resize and onload events

2008-07-21 Thread Brandon Aaron
a setTimeout(fn, 0) to see if that corrects the issue. -- Brandon Aaron On Mon, Jul 21, 2008 at 6:56 PM, jquertil [EMAIL PROTECTED] wrote: That was my first thought, too, and it's been mentioned before on this list. I always set margin and padding of html and body to 0;

[jQuery] Re: Input field: focus=remove text; blur=put it back

2008-07-17 Thread Brandon Aaron
I wrote this a while back: http://dev.jquery.com/browser/trunk/plugins/clearonfocus/jquery.clearonfocus.js -- Brandon Aaron On Thu, Jul 17, 2008 at 11:19 AM, Andy Matthews [EMAIL PROTECTED] wrote: Is there a plugin for this by chance? I know it's pretty quick to write, but wanted to find out

[jQuery] Re: Input field: focus=remove text; blur=put it back

2008-07-17 Thread Brandon Aaron
It is in the comments ... if you don't have a default value set ... you'll need to set a value like so: $('#element').val(Search).clearonfocus(); or if your html looks like this: input type=text value=Search ... then you can just call it like this: $('#element').clearonfocus(); -- Brandon

[jQuery] Valuable Information

2008-06-19 Thread Brandon Christian
www.BrandonsCastle.com

[jQuery] Re: Livequery event firing multiple times

2008-05-30 Thread Brandon Aaron
After a quick glance at the code you pasted... it looks like you are using the Live Query plugin within the click event. This somewhat negates the purpose of Live Query. Try moving the Live Query block outside the 'click' binding block ... within the document.ready block. -- Brandon Aaron On Fri

[jQuery] Re: change innerHTML

2008-05-27 Thread Brandon Aaron
You can do this several ways: $('#progressBarText')[0].innerHTML = '76%'; $('#progressBarText').attr('innerHTML', '76%'); And finally the preferred method: $('#progressBarText').html('76%'); The docs for the html method: http://docs.jquery.com/Attributes/html#val -- Brandon Aaron On Tue, May

[jQuery] Re: .get(0) fails in 1.2.5

2008-05-21 Thread Brandon Aaron
This is working for me. Must be a little more deeply rooted. Could you try and narrow things down? Create a simplified test-case that we could all explore? -- Brandon Aaron On Wed, May 21, 2008 at 12:53 PM, jstrebel [EMAIL PROTECTED] wrote: Hi there, Noob.. and first post. Thanks

[jQuery] Re: livequery in navigation

2008-05-20 Thread Brandon Aaron
I'm a little confused about your setup. Could you post a link to the site or an example of the issue you are having? Also, I'm sure it was just a typo but your missing the $ on ('#home') and ('#search'). -- Brandon Aaron On Wed, May 7, 2008 at 10:47 AM, kws452 [EMAIL PROTECTED] wrote: I am

[jQuery] Re: attr('form') not work in firefox

2008-05-19 Thread Brandon Aaron
1.2.4 is available ... just not the release notes :) http://code.jquery.com/jquery.js -- Brandon Aaron On Mon, May 19, 2008 at 9:54 AM, Ariel Flesler [EMAIL PROTECTED] wrote: No, you're right. Form elements (input, select, textarea, etc) do have a 'form' attribute. I think it's even cross

[jQuery] Re: JQuery and ASP.NET AJAX

2008-05-19 Thread Brandon Aaron
We've fixed several specific issues in dealing with ASP.Net's AJAX framework in the past. As far as I know to date we play nice with ASP.Net. -- Brandon Aaron On Mon, May 19, 2008 at 10:12 AM, Mike [EMAIL PROTECTED] wrote: I used ASP.NET Ajax to make webmethod calls all the time and I know

[jQuery] Re: Making all ids invisible except one

2008-05-15 Thread Brandon Aaron
Like Karl said and here are the docs for the :not selector and the .not method http://docs.jquery.com/Selectors/not#selector http://docs.jquery.com/Traversing/not#expr -- Brandon Aaron On Thu, May 15, 2008 at 10:17 PM, Karl Rudd [EMAIL PROTECTED] wrote: $('div.subNav').not('#myId').hide

[jQuery] Re: why is droppable() 's init method trying to read outerWidth() of a div?

2008-05-11 Thread Brandon Aaron
jQuery UI depends on jQuery 1.2.4a because we are making new updates to jQuery to make sure jQuery UI performs its best. The final version of jQuery UI will also have a final version of jQuery to go along with it. -- Brandon Aaron On May 11, 8:59 pm, Eric Ongerth [EMAIL PROTECTED] wrote: Oh

[jQuery] Re: [jQuery][ANN] jQuery.batch 1.0

2008-05-09 Thread Brandon Aaron
({ width: width }, 'slow'); Thanks for a nice real-world example. :) In testing this I found a bug and created a new release 1.0.1. -- Brandon Aaron On Fri, May 9, 2008 at 2:08 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Brandon, i believe this is a clever little plugin. I i understand

[jQuery] Re: [jQuery][ANN] jQuery.batch 1.0

2008-05-09 Thread Brandon Aaron
I misspelled reverse in my code example... It should be: var width = $('li.hello img').widths().sort().reverse()[0]; $('li.hello').animate({ width: width }, 'slow'); -- Brandon Aaron On May 9, 9:47 am, Brandon Aaron [EMAIL PROTECTED] wrote: Close but in your example newWidths is an array

[jQuery] Re: [jQuery][ANN] jQuery.batch 1.0

2008-05-09 Thread Brandon Aaron
with arrays and probably easy to extend the Array object to do them otherwise. -- Brandon Aaron On Fri, May 9, 2008 at 10:57 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Hi Brandon! in your blog post you ask for suggested features. Frankly i'm stunned by how in one line you addition all

[jQuery] Re: jQuery TShirt

2008-05-09 Thread Brandon Aaron
Something like: $('people:female').find('girlfriend') = [] -- Brandon Aaron On Fri, May 9, 2008 at 10:33 AM, CVertex [EMAIL PROTECTED] wrote: love it. I'd prefer something clever with code on it than just the logo. just the way i eval... On May 9, 5:16 am, Josh Nathanson [EMAIL

[jQuery] [jQuery][ANN] New jQuery group on LinkedIn

2008-05-08 Thread Brandon Aaron
You can join the LinkedIn group by following this invite link: http://www.linkedin.com/e/gis/100943/4C28294034F5 -- Brandon Aaron

[jQuery] [jQuery][ANN] jQuery.batch 1.0

2008-05-08 Thread Brandon Aaron
just call $(...).batch('methodName', arg1, arg*n). Download: http://plugins.jquery.com/project/batch Blog post: http://blog.brandonaaron.net/2008/05/08/jquery-batch/ -- Brandon Aaron

[jQuery] Re: Attaching Events with Live Query

2008-05-06 Thread Brandon Aaron
investigate utilizing one of the event delegation plugins for jQuery such as Ariel Flesler's Listen plugin. -- Brandon Aaron On Tue, May 6, 2008 at 8:42 PM, Adam Weis [EMAIL PROTECTED] wrote: Hello, I'm having an issue attaching some events to a simple accordion that is loaded via ajax. I've

[jQuery] Re: livequery with hoverIntent

2008-05-02 Thread Brandon Aaron
I don't see anything wrong with the code you posted. Could you post more of the code or a test page? -- Brandon Aaron On Fri, May 2, 2008 at 8:26 AM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hello! i need to assign a behaviour triggered via the hoverIntent plugin to elements fetched

[jQuery] Re: [autocomplete] dimension.js requirement

2008-04-29 Thread Brandon Aaron
Dimensions, as it is an oft-required plugin, is now part of the core in SVN. -- Brandon Aaron On Tue, Apr 29, 2008 at 11:43 AM, Aaron Barker [EMAIL PROTECTED] wrote: Is it possible to make this an optional component of the autocomplete plugin? If I always only want 10 or so options

[jQuery] Re: Loading the bgiframe script only for IE

2008-04-29 Thread Brandon Aaron
I'd recommend just using conditional comments to load the bgiframe plugin for IE 6 only. http://msdn2.microsoft.com/en-us/library/ms537512(VS.85).aspx -- Brandon Aaron On Tue, Apr 29, 2008 at 1:05 PM, Aaron Barker [EMAIL PROTECTED] wrote: I looked but couldn't find anything on this. So

[jQuery] Re: Livequery not binding on div after a .load method

2008-04-27 Thread Brandon Aaron
LiveQuery is actually working but jQuery's text method doesn't work on the title tag. To check that it is working simply add a console.log statement or uncomment your alert line. If you aren't getting the log statement/alert then please post a more complete example. -- Brandon Aaron On Apr 26

[jQuery] Re: Livequery not binding on div after a .load method

2008-04-27 Thread Brandon Aaron
are here: http://docs.jquery.com/Plugins/livequery -- Brandon Aaron On Apr 26, 4:12 pm, Alexandre Plennevaux [EMAIL PROTECTED] wrote: correct me if i'm wrong but i think livequery needs to know on which event type it should be attached to: so something like this _ $(#pagetitle) .livequery

[jQuery] Re: Correct viewport height?

2008-04-27 Thread Brandon Aaron
Which version of jQuery are you using? Dimensions 1.2 no longer has the width/height methods as they have been moved to the core. This sounds like a familiar issue in jQuery 1.2.1/2 but was fixed in jQuery 1.2.3. -- Brandon Aaron On Sun, Apr 27, 2008 at 1:06 PM, HertzaHaeon [EMAIL PROTECTED

[jQuery] Re: How to bind to a dynamically created object

2008-02-03 Thread Brandon Aaron
, optimize and optimize some more when dealing with large tables. -- Brandon Aaron On Feb 2, 11:06 am, wyo [EMAIL PROTECTED] wrote: On Feb 2, 5:06 pm, Glen Lipka [EMAIL PROTECTED] wrote:http://brandonaaron.net/docs/livequery/ This will do the trick. Perfect. Yet if I rework the sample to bind

[jQuery] Re: how to bind one action to multiple events?

2008-02-03 Thread Brandon Aaron
With jQuery 1.2.2 you can now bind multiple events at once. Just separate them with a space. I'd also suggest using the new mouseenter and mouseleave events. $('a') .bind(mouseenter focus mouseleave blur, function(event) { console.log(event.type); }); -- Brandon Aaron On Feb 3, 12

[jQuery] Re: Fighting a closure

2008-01-31 Thread Brandon Aaron
;i5;i++ ) { (function(num) { $(#port+num).click(function() { bigchart(num) }); })(i); } However I'd suggest using one of the other example posted here. :) -- Brandon Aaron On Jan 30, 2:10 pm, timothytoe [EMAIL PROTECTED] wrote: I think I submitted a half-done version

[jQuery] Re: .clone not work in FF or IE, please help

2008-01-30 Thread Brandon Aaron
jQuery.clone(true) will only clone the events that it knows about ... in other words ... it clones the events it bound. -- Brandon Aaron On Jan 29, 10:35 am, chrismarx [EMAIL PROTECTED] wrote: should clone also work for behaviors that were not added by jquery? (like a google map?) i tried

[jQuery] Re: Bug with dimensions height() fn in IE7

2008-01-10 Thread Brandon Aaron
The width and height methods are actually found in the core. If you are able ... Try using the latest SVN version (jQuery 1.2.2 beta2). There have been lots of improvements to the width/height methods. -- Brandon Aaron On Jan 10, 11:20 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote

[jQuery] Re: problem with $(String expr, JQuery context)

2007-11-24 Thread Brandon Aaron
Try wrapping your context html in a span tag. -- Brandon Aaron On Nov 24, 4:16 am, tarini [EMAIL PROTECTED] wrote: If I use this script: var str = h1xToDo - Gestire progetti con AJAX/h1Attualmente ci sono b/b progetti e b/b task inseriti nell'applicazione.br/ ; var context = $(str

[jQuery] Re: livequery $(this) is null? (this is second post, accidentally clicked post)

2007-11-20 Thread Brandon Aaron
I created an example based on the code you provided and was unable to reproduce an error. Could you provide an example online somewhere? http://brandonaaron.net/jquery/issues/livequery/table_test/table_test_2.html -- Brandon Aaron On Nov 20, 7:09 pm, wahyudinata [EMAIL PROTECTED] wrote

[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] wrote: :empty

[jQuery] Re: dimensions plugin: relativeTo not working?

2007-11-19 Thread Brandon Aaron
The relativeTo needs to be an offsetParent of the element you are trying to get the offset of. Otherwise you need to get the offset of both the elements and do the math. BTW ... jQuery 1.2.x and the upcoming Dimensions 1.2 does not have a relativeTo option. -- Brandon Aaron On Nov 17, 9:41 am

[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. I have two Greasemonkey scripts

[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: On Nov 15, 2007 3:47 PM

[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 triggered before the page

[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('span /').find(' span').gradient(); -- Brandon Aaron On Nov 14, 12:13 pm, bdee1 [EMAIL PROTECTED] wrote: anyone have an idea on this? bdee1 wrote: i am

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

2007-11-14 Thread Brandon Aaron
Try: $('.gradient').wrapInner('span /').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(); how that work? Brandon Aaron wrote: Try wrapping the contents

[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/) for jQuery 1.2.1

  1   2   3   4   5   >