[jQuery] Re: buggy .add()

2009-04-29 Thread KidsKilla .grin! wuz here
quot;, you have "#xxx" > > xxx > > would be had with > > e2 = document.getElementById('xxx'), > > > > On Apr 28, 7:43 am, KidsKilla wrote: > > Hi there! > > > > Maybe I missed smt, but seems like this is a bug: > > > >

[jQuery] buggy .add()

2009-04-28 Thread KidsKilla
Hi there! Maybe I missed smt, but seems like this is a bug: xxx yyy var e1 = document.getElementById('yyy'), e2 = document.getElementById('xxx'), $e = $(e1); alert($e.length); $e.add(e2); // or $e = $e.add(e2); alert($e.length);

[jQuery] Re: Replacing META REFRESH by AJAX , Loading and Post

2009-03-03 Thread KidsKilla .grin! wuz here
you wanna do something like this? function check(){ $.ajax({ ... success:function(){ f(checkCondition) { closeOverlay(); } else { setTimeout(check, 5000) } } }); } openOverlay(); check(); 2009/3/3

[jQuery] Re: New Downloaded jQuery result "Error: $ is not defined" !

2009-03-03 Thread KidsKilla .grin! wuz here
recheck the url to your scripts. 2009/3/3 Marvix : > > I have the same problem !!! > > Any help !?!?! > - Показать цитируемый текст - > > > > On Mar 1, 3:58 pm, Marvix wrote: >> I just downloaded the compressed  & uncompressed  version ... >> I get always "Error: $ is not defined" and when I rep

[jQuery] manipulation without script execution

2009-03-03 Thread KidsKilla
How to use functions like .wrap() and .wrapInner() without of script execution? Example html: dgbfsdfbdf http://site/js/jquery-1.3.2.js";> http://site/js/TEST.js";> // alert('test') $(function(){ alert('ready'); $('body').wrapInner('
'); }); result: alerts "t

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread KidsKilla .grin! wuz here
yeap, ill try to publish an example of the page tomorrow... 2009/1/23 Eric Garside : > > Do you have a public page somewhere that you're trying this? That'd be > helpful in diagnosing the problem. Otherwise, we're shooting in the > dark here. > > On Jan 23, 10:

[jQuery] Re: Events. .click() vs. .onclick

2009-01-23 Thread KidsKilla .grin! wuz here
Should, but itn't! =( And I whanna know why... maybe some kind of flag... 2009/1/23 jay : > > this should work: > > $("#elementID").click(function(){alert('clicked')}); > > On Jan 23, 10:20 am, KidsKilla wrote: >> Hi everyone! >> I

[jQuery] Events. .click() vs. .onclick

2009-01-23 Thread KidsKilla
Hi everyone! I have a problem with binding events in jQuery. I didn't figured out why, but when i'm tryin to bind a callback to links ( $(elm).click (function() ), it doesn't works. but works fine with elm.onclick = function() ... the same thing in 1.2.6 and 1.3.1, IE and FF... The question is:

[jQuery] Re: .append() into style element causes error in IE only

2009-01-15 Thread KidsKilla
You can use an alternative way: var el = $('').appendTo('head').attr({ media: media, id:id, type: 'text/css' })[0]; if(el.styleSheet !== undefined && el.styleSheet.cssText !== undefined) {

[jQuery] .is(":event")

2009-01-15 Thread KidsKilla
hi everyone! is there any possibility to find out if there is event binded to the element? some kind of $("#id").is(":event(click)") now i'm using $("#id").is("[onclick]"); but it don't works if event is binded with jQuery

[jQuery] Re: Best JQuery pop-up plugin.

2008-09-19 Thread KidsKilla .grin! wuz here
I like this one: http://www.ericmmartin.com/projects/simplemodal/ 2008/9/18 crypto5 <[EMAIL PROTECTED]> > > > Hi All, > > what is the best JQuery pop-up window plugin in your opinion? > > I am not strong experienced in JQuery and looking for such plugin but don't > want test everything. So lloki

[jQuery] class animation

2008-05-23 Thread KidsKilla
Hi, everybody! Is there any plugin, that will animate from one css class to another one?

[jQuery] Re: CSS dynamic loading

2008-03-24 Thread KidsKilla .grin! wuz here
Thanks! but this plugin throws an error too. Seems like there is no easy way to find out when css is loaded... =/ 2008/3/22, Ariel Flesler <[EMAIL PROTECTED]>: > > Not exactly what you said, but it's related to the rules you > mentioned. > Rule: http://flesler.blogspot.com/2007/11/jqueryrule.ht

[jQuery] script tag loading error

2008-01-31 Thread KidsKilla
Hi guys! Can someone tell me, is there any possibility to catch loading error (404, 500). ajax type: "script"?

[jQuery] Animation improvements

2008-01-18 Thread KidsKilla
Hello everyone! How can i stop an animation of 1 css rule without touching everything other? For example: $('div').animate({width:'+=300'}, 'slow'); $('div').animate({opacity:'hide'}, 'slow'); $('button').click(function(){ $('div').stop('width').animate({width:'-=300'}, 'slow'); }); And mayb

[jQuery] Re: IE7 fadeOut table row?

2008-01-17 Thread KidsKilla .grin! wuz here
I think it's because of IE's realisation of tables. he simply can't apply filters for . seems like you sould find some workaround instead of using tr. something like: 1text1 2text2 quite ugly, but might work... 2008/1/17, alivemedia <[EMAIL PROTECTED]>: > > Nope, not yet - anyone else have this p

[jQuery] Re: animation queue ?

2008-01-17 Thread KidsKilla .grin! wuz here
try this: $.fn.animateByOrder = function(params, duration, easing, callback){ var i = -1; var arr = this; if($.isFunction(easing)) { callback = easing; easing = null; } (function(){ if(arr[++i])

[jQuery] Re: clone help

2008-01-17 Thread KidsKilla .grin! wuz here
$('#$id').remove().clone(true).appendTo('#verticals'); is wrong. because of remove() (it kills everything because of memory IE leaks). you sould use this chain instead: $('#$id').appendTo('#verticals'); or somethin like that: $('#$id').hide().bla-bla.appendTo('#verticals').show(); 2008/1/17, Li

[jQuery] Re: How to select the last item in a collection?

2008-01-17 Thread KidsKilla
$(this).filter(':last') On 17 янв, 13:00, "Jesper Rønn-Jensen" <[EMAIL PROTECTED]> wrote: > I made a script that makes a div clickable by selecting all class="click"> and setting the onclick event to go to the href of a > link. Everything worked when i selected the first links href > attribute.

[jQuery] animate

2008-01-17 Thread KidsKilla
Hi, everyone! I haven't found in docs, how can i stop an animation of 1 css rule without touching everything other? for example: $('div').animate({width:'+=300'}, 'slow'); $('div').animate({opacity:'hide'}, 'slow'); $('button').click(function(){ $('div').stop('width').animate({width:'-=300'}, 's

[jQuery] animate

2008-01-17 Thread KidsKilla .grin! wuz here
Hi, everyone! I haven't found in docs, can i stop an animation of 1 css rule without touching everything other? for example: $('div').animate({width:'+=300'}, 'slow'); $('div').animate({opacity:'hide'}, 'slow'); $('button').click(function(){ $('div').stop('width').animate({width:'-=300'}, 'slow'

[jQuery] Re: operation aborted error - please help

2007-12-14 Thread KidsKilla .grin! wuz here
start your code inside $(document).ready(function(){ ... }); about: http://weblogs.asp.net/infinitiesloop/archive/2006/11/02/Dealing-with-IE-_2600_quot_3B00_Operation-Aborted_2600_quot_3B002E00_-Or_2C00_-how-to-Crash-IE.aspx 2007/12/14, BarakLevy <[EMAIL PROTECTED]>: > > Hello, > > I programmed

[jQuery] Re: .end()

2007-12-13 Thread KidsKilla .grin! wuz here
; --John > > On Dec 13, 2007 8:58 AM, KidsKilla .grin! wuz here <[EMAIL PROTECTED]> wrote: > > Couple times I've seen jQuery examples, where used .end() function: > > http://docs.jquery.com/Tutorials:How_jQuery_Works (Chainability) > > > > Is there any reason to p

[jQuery] Re: ui.datepicker causes IE "operation aborted"

2007-12-13 Thread KidsKilla .grin! wuz here
> > On Dec 12, 7:56 pm, "KidsKilla .grin! wuz here" <[EMAIL PROTECTED]> > wrote: > > This problem caused in IE not because of jQuery bug, but because of IE bug. > > IE doesn't allow to work with DOM untill it's fully downloaded and be ready. > >

[jQuery] .end()

2007-12-13 Thread KidsKilla .grin! wuz here
Couple times I've seen jQuery examples, where used .end() function: http://docs.jquery.com/Tutorials:How_jQuery_Works (Chainability) Is there any reason to paste .end() as the last function of chain? -- Максим Игоревич Гришаев, AstroStar.ru

[jQuery] Re: How to toggle "display" value?

2007-12-12 Thread KidsKilla .grin! wuz here
Guys. Everything is much simplier. has the other value for display property, than block it's table-cell. change your html code: Add a gift message: 2007/12/12, R. Rajesh Jeba Anbiah <[EMAIL PROTECTED]>: > > On Dec 12, 8:42 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > > Dave, the

[jQuery] Re: $.get and $.ajaxSetup

2007-12-12 Thread KidsKilla .grin! wuz here
$.get('http://mylogin:[EMAIL PROTECTED]', data, callback) 2007/12/11, Dado <[EMAIL PROTECTED]>: > > $.get does not seem to comply to the defaults set with $.ajaxSetup. Is > this a bug or a feature? Alternatively, I would like to have > customized $.ajax calls ala $.getJSON. For example, something

[jQuery] Re: ui.datepicker causes IE "operation aborted"

2007-12-12 Thread KidsKilla .grin! wuz here
This problem caused in IE not because of jQuery bug, but because of IE bug. IE doesn't allow to work with DOM untill it's fully downloaded and be ready. This is why everything works fine inside $(document).ready() there is 2 ways to fix it: 1. initialize everything in $(document).ready() 2. paste y

[jQuery] Re: hiding page elements instantly on page load

2007-12-07 Thread KidsKilla .grin! wuz here
I think it's better to do like that: .js .myclass{display:none;} document.body.className+=' js'; ... 2007/12/6, bytte <[EMAIL PROTECTED]>: > > Hi guys, > > I use php to fetch a menu out of a mysql database. Basically the menu > is made up of a lot of nested unordered lists

[jQuery] Re: Masked Input Plugin 1.1.2

2007-11-30 Thread KidsKilla .grin! wuz here
te some time ago. I'll > investigate that further when I get home tonight. Can anyone confirm > if that would work or not? > > Josh > > On Nov 30, 6:56 am, "KidsKilla .grin! wuz here" <[EMAIL PROTECTED]> > wrote: > > Great plugin! > > i only t

[jQuery] Re: jQuery.extend not working for function as target,is it a bug?

2007-11-30 Thread KidsKilla .grin! wuz here
is there any reason to use first variant instead of second? jQuery.extend(target, {}) jQuery.extend(target.prototype, {}) 2007/11/30, David Serduke <[EMAIL PROTECTED]>: > > Ah the beauty of bug fixes. Fix one thing and break another. This > was a change from changeset [3841]. There were some is

[jQuery] Re: Masked Input Plugin 1.1.2

2007-11-30 Thread KidsKilla .grin! wuz here
Great plugin! i only think it's better to use somethin like $(this).bind('paste.jqmask, input.jqmask',function(){ setTimeout(checkVal,0); };) instead of if ($.browser.msie) this.onpaste= function(){setTimeout(checkVal,0);}; else if ($.browser.mozilla) this.addEventListener('inp

[jQuery] Re: return true/false

2007-11-29 Thread KidsKilla .grin! wuz here
> "return true" part doesn't work on LI element? and what you expected? and try this flag = !($(this).children("ul").length); $(this).css("background-color",(flag ?"red" : "black"); return flag; instead of if ( $(this).children("ul").length ) {

[jQuery] Re: how to know which radio button is checked?

2007-11-28 Thread KidsKilla .grin! wuz here
$("input:[EMAIL PROTECTED]:checked").click(function() { }); or $("input:[EMAIL PROTECTED]").filter(':checked').click(function() { }); -- Максим Игоревич Гришаев, AstroStar.ru

[jQuery] Re: 1.2.2

2007-11-28 Thread KidsKilla
; http://docs.jquery.com/Frequently_Asked_Questions#When_will_jQuery_1 > > On Nov 27, 2007 10:46 AM,KidsKilla<[EMAIL PROTECTED]> wrote: > > > > > Hi All! > > Can you answer me a question, when it is planned to release the > > version 1.2.2?

[jQuery] 1.2.2

2007-11-27 Thread KidsKilla
Hi All! Can you answer me a question, when it is planned to release the version 1.2.2?

[jQuery] jCarousel feature request

2007-08-30 Thread KidsKilla
can you implement one thing: now, to rewind all items to the last one, i must know how much of them, substract quantity of scrolled items and set it to the property "start". but it nedded quite frequently. maybe it'll be good idea to make a new value to the "start" property: "last" or something...