.
Thank you!!
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
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
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
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
can hopefully put to rest soon.
Thanks,
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
() 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
$.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
. :)
--
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
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
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
--
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
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
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
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
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
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
|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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
+ ']').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
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
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
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
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
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
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
is a
corner stone of being able to progressively enhance your web site/app with
unobtrusive javascript.
--
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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;
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
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
www.BrandonsCastle.com
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
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
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
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
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
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
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 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
({ 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
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
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
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
You can join the LinkedIn group by following this invite link:
http://www.linkedin.com/e/gis/100943/4C28294034F5
--
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
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
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
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
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
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
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
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
, 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
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
;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.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
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
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
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
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
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
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
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
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
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
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 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 - 100 of 424 matches
Mail list logo