[jQuery] Re: how to do some animation when the page loads?

2010-01-09 Thread Rick van Hoeij
Hey Oliur, You could just do that after the document ready: $(document).ready(function(){ $(.divname).animate({ opacity: 0.5, }, 300 ); }); That should do the trick, I think. Greetz, Rick On Jan 9, 2:53 pm, Oliur o.r.chowdh...@gmail.com wrote: when the DOM is ready you can

[jQuery] Re: how to do some animation when the page loads?

2010-01-09 Thread Oliur
yes it did, thanks a lot :) It looks so simple :)

[jQuery] Re: How to Do This

2009-09-01 Thread Glazz
Hi.. I don't see what you want to do... please be more specific :) On Sep 1, 1:23 pm, bharathbhooshan ambati bharathbhooshan.amb...@gmail.com wrote: Hi I have seen one site which consists of share/Email in a single tab. Can any body tell me hw to do this FYI..

[jQuery] Re: How to Do This

2009-09-01 Thread bharathbhooshan ambati
In the site there was a link called as Share/Email if you click on that a screen appears with Sitehttp://www.networkworld.com/news/2009/083109-vmworld-xen-cloud-initiative.html?hpg1=bn ScreenShot http://img136.imageshack.us/img136/9051/impf.jpg How to do this using jquery On Tue, Sep 1, 2009

[jQuery] Re: How to do can promise my event will be executed first when i add a event listenser?

2009-04-07 Thread Ricardo
See this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/da7ee3f9c17db398/f7015d7b93ae3565?lnk=gstq=event+order#f7015d7b93ae3565 On Apr 7, 4:18 am, Jackal jum...@gmail.com wrote: as title,  thanks.

[jQuery] Re: how to do '++' in jQuery

2009-01-21 Thread Kean
Probably there's a better way. Doesn't look elegant. $('xx').width($('xx').width()++) ; On Jan 21, 2:05 am, David .Wu chan1...@gmail.com wrote: some times we want to do some animation we use xxx.width++ in jQuery we give value like this $('xx').width(value) how to do ++ thing in this way?

[jQuery] Re: how to do '++' in jQuery

2009-01-21 Thread Liam Potter
like this $(xx).animate({ width: +=10px },1000); this will add 10 pixels to the width, in a second. Kean wrote: Probably there's a better way. Doesn't look elegant. $('xx').width($('xx').width()++) ; On Jan 21, 2:05 am, David .Wu chan1...@gmail.com wrote: some times we want to do some

[jQuery] Re: how to do '++' in jQuery

2009-01-21 Thread Liam Potter
This I didn't know, could be useful. Balazs Endresz wrote: Moreover, as of 1.3 this works like .css, so there's no animation at all: $(xx).animate({ width: +=10px }, 0); (In 1.2 if you set the duration to 0 then the default value is used.) On Jan 21, 1:00 pm, Liam Potter

[jQuery] Re: how to do '++' in jQuery

2009-01-21 Thread Balazs Endresz
Moreover, as of 1.3 this works like .css, so there's no animation at all: $(xx).animate({ width: +=10px }, 0); (In 1.2 if you set the duration to 0 then the default value is used.) On Jan 21, 1:00 pm, Liam Potter radioactiv...@gmail.com wrote: like this $(xx).animate({ width: +=10px },1000);

[jQuery] Re: how to do '++' in jQuery

2009-01-21 Thread David .Wu
yup, it's cool, but how about scrollLeft()++? On 1月21日, 下午9時22分, Liam Potter radioactiv...@gmail.com wrote: This I didn't know, could be useful. Balazs Endresz wrote: Moreover, as of 1.3 this works like .css, so there's no animation at all: $(xx).animate({ width: +=10px }, 0); (In

[jQuery] Re: How to do anything after animate finished

2008-11-11 Thread Alexandre Plennevaux
activate the button in a callback function after the animate var isClickable = true; right.click(function() { if(ul.css('left') != (maxMove * -1) + 'px' isClickable) { isClickable = false;

[jQuery] Re: How to do anything after animate finished

2008-11-11 Thread David Wu
ooops, I got another problem, in FF3, CSS property white-space will make image have 3px padding, but in IE, it's not, any good suggestion? On Tue, Nov 11, 2008 at 7:54 PM, Alexandre Plennevaux [EMAIL PROTECTED]wrote: my pleasure :) On Tue, Nov 11, 2008 at 12:53 PM, David Wu [EMAIL PROTECTED]

[jQuery] Re: How to do anything after animate finished

2008-11-11 Thread David Wu
Fantastic, thanks a lot On Tue, Nov 11, 2008 at 7:32 PM, Alexandre Plennevaux [EMAIL PROTECTED]wrote: activate the button in a callback function after the animate var isClickable = true; right.click(function() { if(ul.css('left') != (maxMove * -1)

[jQuery] Re: How to do anything after animate finished

2008-11-11 Thread Alexandre Plennevaux
my pleasure :) On Tue, Nov 11, 2008 at 12:53 PM, David Wu [EMAIL PROTECTED] wrote: Fantastic, thanks a lot On Tue, Nov 11, 2008 at 7:32 PM, Alexandre Plennevaux [EMAIL PROTECTED] wrote: activate the button in a callback function after the animate var isClickable = true;

[jQuery] Re: How to do something using JQuery

2008-09-06 Thread Rene Veerman
try this; [number] is either the SQL row ID of the name (good), or an arbitrary index (less good). 1) each checkbox gets a html id 'name_[number]_cb' 2) each name gets a html id 'name_[number]_label' 3) each circle gets a html id 'name_[number]_button' 4) each circle gets a html

[jQuery] Re: How to do a document.getElementById(mytextbo).select() in jquery?

2008-05-13 Thread eric . advincula
Thanks you, I will give this a try On May 12, 7:42 pm, Karl Rudd [EMAIL PROTECTED] wrote: $(#mytextbo)[0].select(); jQuery(selectorString), or the shortcut $(selectorString), always return an array like object. To run the select() on it you have to access one of the raw elements it

[jQuery] Re: How to do a document.getElementById(mytextbo).select() in jquery?

2008-05-12 Thread Karl Rudd
$(#mytextbo)[0].select(); jQuery(selectorString), or the shortcut $(selectorString), always return an array like object. To run the select() on it you have to access one of the raw elements it contains, hence the [0], which retrieves the first element in the array. Karl Rudd On Tue, May 13,