[jQuery] Re: class animation

2008-05-24 Thread Michael Geary
Is there any plugin, that will animate from one css class to another one? What would that mean exactly? Given two CSS classes, what are the in-between states? You need a series of in-between states to animate something. -Mike

[jQuery] Re: $(#mycarousel).jcarousel is not a function

2008-05-24 Thread Wil Everts
Hey, I'm required by law to ask if you forgot your script type=text/javascript src=/path/to/lib/jquery.jcarousel.pack.js/script After that... got a link for us to crunch? Wil Everts [EMAIL PROTECTED]

[jQuery] Re: Show/hide toggle hides form too...bah!

2008-05-24 Thread Wizzud
Ok. Couple of things. I put a 'return false;' at the end of the click handler (sorry - tends to be a reflex action!) when it doesn't actually need it. Either shift it up to be within the 'if...' statement block, or remove it altogether. It prevents focussing on the input element and activating

[jQuery] Re: Select attribute by checking more than one value

2008-05-24 Thread Wizzud
jQuery('.entry a:not(.download):has( img ) .filter(function(){ return /\.(jpg|gif|png)$/.test(this.ref); }).attr('rel','popupgallery').addClass('something'); On May 24, 12:55 am, leggo-my-eggo [EMAIL PROTECTED] wrote: Hi, I'm new here, so forgive me if I'm missing something obvious, or

[jQuery] Using jCarousel functions in another script (a gallery/slide script)

2008-05-24 Thread Jon
I've made a slideshow (remotely similar to other jQuery slides like Frontpage Slideshow or jqGalScroll v2.1) but instead of just plain numbered links to move between slides I've used jCarousel. Clicking on the list items in jCarousel correctly shows me the proper slide in my slideshow, but I

[jQuery] Re: Add onclick attribute to a a link - Is it possible ?

2008-05-24 Thread dme69
Thanks, I will try that. Dominique. On 23 mai, 14:26, steve_f [EMAIL PROTECTED] wrote: you need to use bind or click $('.view-field a').bind('click', function(){return confirm('sure ?')}); On May 23, 9:09 am, dme69 [EMAIL PROTECTED] wrote: Hello all, I love jquery but I'm really new

[jQuery] Gmail Progress Bar

2008-05-24 Thread pedramphp
Recently Google Added a Progress bar in gmail .. without any SWF uploader and any Flashes ... And it works in IE and FIrefox ... how could we do the same in jquery and How did they do this...?

[jQuery] Re: Gmail Progress Bar

2008-05-24 Thread Cloudream
getScript(url,callback) After loaded one script, increase the progress bar... And check http header of their files, it seems that they cache many files in client. :) On May 24, 6:11 pm, [EMAIL PROTECTED] wrote: Recently Google Added a Progress bar in gmail .. without any SWF uploader and any

[jQuery] Re: Jquery Perfomance Question

2008-05-24 Thread Alexsandro_xpt
Ok, thanks!! On 24 maio, 00:16, Karl Rudd [EMAIL PROTECTED] wrote: Extremely small differences. If you're worried about the timing then I suggest doing some testing. Karl Rudd On 5/24/08, Alexsandro_xpt [EMAIL PROTECTED] wrote: There aren't performance diference? On 23 maio, 18:46,

[jQuery] .is() always returning true with hierarchy selectors

2008-05-24 Thread Jed Schmidt
Hello all, I'm getting some weird behavior from jQuery (1.2.3 and 1.2.5 alike) when I use hierarchy selectors (ancestor descendant, parent child, prev + next, and prev ~ siblings) in the argument of the .is() method. For example, in a well-formed html document: jQuery(body).is(div) // returns

[jQuery] Re: Select attribute by checking more than one value

2008-05-24 Thread leggo-my-eggo
Wizzud, So helpful, thank you! Just to have the record here complete, there were two small syntax things in that that I had to change, and the working version is: jQuery('.entry a:not(.download):has( img )') .filter(function(){ return /\.(jpg|gif|png)$/.test(this.href);

[jQuery] ero magazines

2008-05-24 Thread yura
http://ero-mag.net

[jQuery] Loss of focus hotkey giving error

2008-05-24 Thread brassica
hi all, i seem to have a problem with using Hotkeys and intercept I would appreciate it very much if someone would explain why the error is occurring and a solution ty in advance OK the scenario I have a (series of ) AJAX call(s) after which i am populating a DIV with other DIVS arranged

[jQuery] Re: .is() always returning true with hierarchy selectors

2008-05-24 Thread Ariel Flesler
is() supports only simple selectors, hierarchy ones cannot be used with is() ($.filter). -- Ariel Flesler http://flesler.blogspot.com On 24 mayo, 13:18, Jed Schmidt [EMAIL PROTECTED] wrote: Hello all, I'm getting some weird behavior from jQuery (1.2.3 and 1.2.5 alike) when I use hierarchy

[jQuery] Re: .is() always returning true with hierarchy selectors

2008-05-24 Thread Jed Schmidt
Ariel, Thanks for pointing this out. Since only simple selectors are supported, perhaps it would be less confusing if complex selectors returned undefined or null (consistent with the recent discussion about .attr()), instead of true? Jed Schmidt [EMAIL PROTECTED] On May 25, 1:51 am, Ariel

[jQuery] getAttribute is not a function error

2008-05-24 Thread joomlafreak
I am getting this error and and logically I do not understand why should it be (ofcourse my logic is wrong somewhere). I have a php file(php5) that has code to parse XML DOM and it has a line where I use element-item(0)-getAttribute(src); it works fine, the echoed content has the code

[jQuery] filenames cannot contain spaces in jquery 1.2.5

2008-05-24 Thread simjo
Hi, I recently started working with jquery 1.1.3.1. I made extensive use of the load function eg: $(#content).load($(this).attr(name)); After updating to 1.2.5 none of the load functions except for one worked any more. Searching the internet did not bring the solution and after trying

[jQuery] Re: getAttribute is not a function error

2008-05-24 Thread Ariel Flesler
Please open a ticket and provide a test case. Any details you can add will help. http://dev.jquery.com/newticket You don't need to mess with the php, just add the html of the page with the relevant JS and the xml response. Try to remove irrelevant parts. Thanks! -- Ariel Flesler

[jQuery] How to clone jQuery object?

2008-05-24 Thread R. Rajesh Jeba Anbiah
I want to clone the jQuery object $ to $D; but it actually seems to be overwriting. Can anyone please suggest any solution? Here is the code: $D = $.extend($); // same result for $D = $; $D.fn.extend({ click: function() { alert('overridden click');

[jQuery] Re: filenames cannot contain spaces in jquery 1.2.5

2008-05-24 Thread Morgan Allen
This has to do with loading a specific element from the results. The url will except (space separated) the url then a selector of an element(s) to be be the replacement. This is useful for doing partial refreshed, $('#toBeUpdate').load('thisUrl #toBeUpdated'). While this is a nice feature, I am

[jQuery] Re: Select attribute by checking more than one value

2008-05-24 Thread Wizzud
hmph ... sorry about the typos! Must get into the habit of actually wearing my glasses! On May 24, 4:46 pm, leggo-my-eggo [EMAIL PROTECTED] wrote: Wizzud, So helpful, thank you! Just to have the record here complete, there were two small syntax things in that that I had to change, and the

[jQuery] Re: Show/hide toggle hides form too...bah!

2008-05-24 Thread Ridge
Wizzud, Everything seems to work fine! Your fix did the trick, and the form (the Home one at least - I haven't set the rest up as yet) submits perfectly. Thanks so much! On May 24, 5:32 am, Wizzud [EMAIL PROTECTED] wrote: Ok. Couple of things. I put a 'return false;' at the end of the click

[jQuery] jQuery Validation Plugin noConflict issue

2008-05-24 Thread Ale
Hi, I'm trying to use the latest version of jQuery and the validation plugin. However, when I try to use jQuery.noConflict() I show 1 error speficying that $ is not a function. Any help regarding this issue will be fully appreciated! Ale

[jQuery] Re: How to clone jQuery object?

2008-05-24 Thread Ariel Flesler
That's an exotic situation. I'll give you 2 options: 1- var $D = $.extend( true, function( selector, context ) { return new $D.fn.init( selector, context ); }, $ ); This MIGHT work, I never really tried something like this. 2- Maybe jQuery.Collection is what you need. It lets you create

[jQuery] Re: How to clone jQuery object?

2008-05-24 Thread Michael Geary
$.extend(foo) merely returns a reference to foo. It doesn't clone foo. $.extend( {}, foo ) creates a new object and copies all of foo's properties into it (doing a shallow copy). So in theory you may be able to use $.extend( {}, $ ) - or more properly, jQuery( {}, jQuery ) - to clone the jQuery

[jQuery] Re: How to clone jQuery object?

2008-05-24 Thread Ariel Flesler
Btw.. for the first option, use jQuery 1.2.6. jQuery 1.2.3 and before had a small issue with recursive extend. -- Ariel Flesler http://flesler.blogspot.com On 24 mayo, 23:59, Ariel Flesler [EMAIL PROTECTED] wrote: That's an exotic situation. I'll give you 2 options: 1- var $D = $.extend(

[jQuery] Re: How to clone jQuery object?

2008-05-24 Thread Michael Geary
I meant to ask... What is the actual goal here? Can you give a little background? Maybe there is another way to accomplish what you want to do that doesn't rely on cloning the jQuery constructor. I want to clone the jQuery object $ to $D; but it actually seems to be overwriting. Can anyone