[jQuery] Extend() element then Add() to another element

2009-08-20 Thread robin
I would like to do the following: -- var many = $([]) for(){ var one = $('') .data('stuff',true) .extend({ 'test':function() }) many = many.add(one) one.data('stuff') //pass one.test() //pass } many.eq(0).data('stuff') //pass many.eq(0).test() //FAIL, test function does

[jQuery] extend an Object

2009-07-22 Thread jeanluca
Hi All I tried to add functions to an object like function User(n, a) { this.name = n ; this.aux = a ; } function auxis() { alert(this.aux); } $(document).ready( function() { var u = new User("Jack") ; u.extend({

[jQuery] Extend Joomla Simplify with the superfishmenu!!!

2008-12-29 Thread Beninhio
Hello, can anybody tell me where i should copy the extended files of the ZIP- file "mod_superfishmenu.zip"? I want to use the "basic-style" menu in my Joomla simplify-template. I don't know exactly where I have to copy the files of teh ZIP-file to my simplify template. Does anybody also know how

[jQuery] Extend Autocomplete

2008-06-04 Thread Tyler
I have a JavaScript function that makes an Ajax call and returns results into a local variable. I would like to call this function from the Autocomplete plugin (http://bassistance.de/jquery-plugins/ jquery-plugin-autocomplete/) as my Ajax data souce. I understand that Autocomplete can use either

[jQuery] Extend/Override jQuery Functions for IE6

2008-03-08 Thread Daniel S. Kim
After days of searching and experimenting with solutions for IE6 issues (peekaboo, etc.) I am having with my css implementation and jQuery, I believe a temporary work around is to extend/override (not sure what the exact term is) some jQuery functions when used in IE6. I am sure there is an actual

[jQuery] extend

2008-03-05 Thread [EMAIL PROTECTED]
Hello. I would like to know if it's possible to extend jQuery like that : // Init os $.os = $.os || {}; $.extend($.os, { version : 'foo', event : function(event){ return event.xxx; } core