[jQuery] Selecting input blocks..

2009-08-17 Thread evan
Similar block as first On th

[jQuery] # of Pixels from the side of an element that the Mouse Cursor is located

2009-06-07 Thread Evan
Hi there! I'm trying to: 1). Get the number of pixels from the left side of the hovered-element that the mouse cursor is located, and 2). Set *part* of a CSS attribute to this value I've been searching, but I can't find the answer to either of these. Does anyone know if they are possible? I apo

[jQuery] Re: Using Tablesorter with ajax generated tables

2009-05-06 Thread Evan
not in the DOM tree initially. I tried using setTimeout and then calling tableSorter, but that didn't work for me. Thanks for any suggestions. Evan

[jQuery] Re: Jquery Sound

2009-04-29 Thread Evan
On Mar 13, 3:06 pm, Paul Hutson wrote: > Hello, > > I've been trying to get the following working : > > http://dev.jquery.com/view/trunk/plugins/sound/ > > However, it only plays about a second to three seconds of the > designatedsoundbefore shutting off (in FF and Safari) but loads > fully in

[jQuery] Re: problem using jquery and prototype together

2008-12-12 Thread evan
// here i selected two same ids using jquery and prototype respectively. jQuery.noConflict(); // for jqury selectors use jQuery instead of '$ like jQuery(document).ready( function(){ jQuery("id").css('color:red'); ... } );' // then here you can write t

[jQuery] Re: jQuery .ready() being treated as both Filo/Fifo in IE/FF

2008-12-12 Thread evan
When you use more than one libraries with jquery which use $ sign for selection of code block, use following scripts. jQuery.noConflict(); // instead of $ use jQuery as jQuery(document).ready( function(){ }); This will remove the conflict between different libraries. I think, no

[jQuery] Re: change the css into JQuery format( .menu :hover > a )

2008-12-10 Thread evan
On Dec 10, 8:48 am, fony <[EMAIL PROTECTED]> wrote: > Hi all, > I'm a new guy on JQuery,  now reading the JQuery in action, > and I encounter with one issue: > .menu :hover > a { ...} > > anyone who has idea how to change into JQuery format? > or is that possible with jquery, > will be very appr

[jQuery] slide down and up problem

2008-09-09 Thread evan
Hi. i just want my headers to slide up and down but they seem to execute twice. could someone look over my code to see why things are sliding up down then up down again? thanks code: $(document).ready(function(){ $("#subNav1 a").css({backgroundColor: "#fff", color: "#222" , borderRight: "2

[jQuery] Re: Docs down...really no mirror?

2008-09-05 Thread Evan Moran
I am also getting this right now. Any word on when this will come up? On Sep 5, 4:04 pm, Sam <[EMAIL PROTECTED]> wrote: > The docs seem to be down again (and last night as far as I can > remember). > > Is there really no mirror?

[jQuery] Re: Getting name of element in $.each, when used on object?

2008-08-24 Thread Evan
Try this: var i = 0; var s = ''; for (var prop in o) { if (i > 0) s += '&'; s += prop + '=' + o[prop]; ++i; } alert(s); On Aug 24, 5:12 pm, "Josh Rosenthal" <[EMAIL PROTECTED]> wrote: > Hey Folks, > > Probably a rather basic question here, but my attempts at figuring it out > hav

[jQuery] script tags not evaluated in $.ajax

2008-01-31 Thread Evan McLain
re was some anomaly with alert()), but that didn't work either. Thanks! Evan Hello world. $(document).ready(function () { $.ajax({ url: '/test_ajax.html', cache: false, dataType: 'html', success: function (data) { alert('done'); }, }); }); alert('ajax');

[jQuery] Is it possible to collect non-static members in jQuery plugin?

2008-01-14 Thread Evan Moran
t;).myplugin().branch(), but that seems a little less attractive. Any ideas? I wish something like $ (this) would work, or even $("this") would help get the last query from jquery but such an option would have to be global. Any thoughts? Thanks in advance for your help! Evan

[jQuery] Re: and Scripting

2007-11-06 Thread Evan
That's it! Thank you very very very much. I appreciate your time - thank you! On Nov 6, 4:59 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > On Nov 6, 1:34 pm, Evan <[EMAIL PROTECTED]> wrote: > > > > > I want to run the JQuery script that is in the "value&q

[jQuery] and Scripting

2007-11-06 Thread Evan
I want to run the JQuery script that is in the "value" attribute of my tags, when they are selected. I know to use onchange="" and probably 'this', but how do I get the string in the value tag to run as a function? Associate Company I feel like this should be simple, but I haven't bee

[jQuery] Parent Selectors + "this"?

2007-11-05 Thread Evan
Hello, I am having difficulties with selectors...I've been reading through the selector API and this group for a while now, and I can't seem to figure out the answer. I want to toggle the class "hidden" on the 2nd below (.extended) when the in the previous row is clicked. This seems to work:

[jQuery] TechSmith uses jQuery

2007-07-18 Thread Evan
Check it out: http://blog.jingproject.com/ Check the source or scroll down to see their sample video ala Thickbox. Great to see jQuery getting used more and more.

[jQuery] Re: Can I use css to set background image dynamically

2007-05-08 Thread Evan
You might also want to try 'backgroundImage' instead of 'background- image' On May 9, 8:22 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > It should work. What end up in "image"? It should be a URL (relative > to the page). > > Karl Rudd > > On 5/9/07, joomlafreak <[EMAIL PROTECTED]> wrote: > > > >

[jQuery] Re: Select box options as array?

2007-04-21 Thread Evan
You could do something like this: for (var i = 0; i < 5; i++) { $('#mySelect' + i)[0].selectedIndex = i; } On Apr 21, 5:21 pm, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote: > I can't quite get my head around this problem and would really > appreciate some advice: > > I've got five select box

[jQuery] Re: vars in unnamed functions

2007-04-18 Thread Evan
Assuming you mean something like this? $('someElement').click(function() { //now in anonymous function var x = 0; //do a bunch of stuff x = 2; } ); If so, yes, this is valid. On Apr 19, 11:59 am, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: > so is it ok to rely on this behavior in

[jQuery] Re: custom selecters

2007-04-14 Thread Evan
Tom, You could do it one of two ways: 1) When you generate your random divs, just assign them all a classname content Then use $('div.random').doStuff(); 2) You could get all divs in the dom and check whether their id attribute matches div[0-9]+, something like: $('div').each(function() {

[jQuery] Re: jQuery n00b

2007-04-09 Thread Evan
Can't really comment on the AJAX, because it could be a server side error. However, to dynamically determine the href, use the following: $(document).ready(function() { $("//[EMAIL PROTECTED]//a").click( function() { var href = $(this).attr('href')