[jQuery] Re: variable manipulation

2009-06-09 Thread huytoan.pc
Hi Narendra, I'm wondering why you use toString() method here? I think 'value_at_' + i would also work fine On Jun 9, 10:09 pm, Narendra sisodiya wrote: > try to use object like this: > > var myObject={}; > var count=10; > > for(var i=0;i { >   myObject['value_at_'+i.toString()]="value at "+

[jQuery] Re: Drag & Drop to sort categories and post this new sort order to dB?

2009-06-09 Thread huytoan.pc
I think you can make AJAX call everytime user drops an item. Use jquerys' index() method to determine index of the time in the container to update database accordingly. Regards, Toan. On Jun 10, 1:24 am, Erich93063 wrote: > OK so Ive been using jquery for a little bit now and love it. I am a >

[jQuery] Re: Front page Slider

2009-06-09 Thread huytoan.pc
http://blueprintds.com/2009/01/20/top-14-jquery-photo-slideshow-gallery-plugins/ On Jun 9, 4:03 am, Nader dasuki wrote: > hello dears . how can i make same as this > :http://www.aljazeera.net/Portal/Aspx/GetSiteNews.aspx?SummaryPagePath... > > regards. > > -- > Eng. Nader Dasuqi > Project Man

[jQuery] Re: Front page Slider

2009-06-09 Thread huytoan.pc
http://blueprintds.com/2009/01/20/top-14-jquery-photo-slideshow-gallery-plugins/ Regards, Toan. On Jun 9, 4:03 am, Nader dasuki wrote: > hello dears . how can i make same as this > :http://www.aljazeera.net/Portal/Aspx/GetSiteNews.aspx?SummaryPagePath... > > regards. > > -- > Eng. Nader Dasuqi

[jQuery] Re: How to get option's position

2009-06-09 Thread huytoan.pc
$('option').click(function(){ var index = $('option').index(this) + 1; //index() will return zero based result so plus 1 here }); On Jun 9, 8:23 am, "David .Wu" wrote: > if I have a menu, how to get the position of the option after I select > one of it? > > for example, if I choose

[jQuery] Re: How can I move a div around the screen?

2009-06-09 Thread huytoan.pc
i hope this tutorial would help: http://nettuts.com/tutorials/javascript-ajax/inettuts/ On Jun 8, 5:28 pm, marcello wrote: > Hello everyone!! I'm new here!!! I'm starting to know how many > advantages has JQuery for developers. > > I'm trying some experiments, and the other day I saw the "iGoo