[jQuery] Re: Dialog bug

2010-01-14 Thread Andrew Tan
Hi, I was wondering if you could post an example of your modified dragstart and dragstop callbacks which fix the issue? Thanks. On Jan 2, 12:37 am, Yuriy Pobezhymov wrote: > Thank you much. It's work! > Happy New Year!!!

[jQuery] Re: cannot insert html into DIV

2009-11-04 Thread Andrew Tan
You have to supply the canvas object as a parameter to the push function to add it to the array. canvasClasses.push($(this));

Re: [jQuery] cannot insert html into DIV

2009-11-04 Thread Andrew Tan
You have to supply the canvas object as a parameter to the push function to add it to the array. canvasClasses.push($(this)); On Thu, Nov 5, 2009 at 10:16 AM, shaf wrote: > Hi Guys, > > I have several .class DIVs I want to manipulate. I have retrieved them > using the following code: > >

[jQuery] Fill key va value from response of Json { "1": "Quan 1", "2": "Quan 2", "3": "Quan 3", "4": "Quan 4" } in listbox.

2009-11-04 Thread Tan
Hi, all. I have two listbox: a listbox country - None - Malaysia Thailan a listbox city - None - When i select country then i use ajax response data { "1": "Quan 1", "2": "Quan 2", "3": "Quan 3", "4": "Quan 4" } 1, 2, 3,4 is key of array I want when select country then add key and values

Re: [jQuery] lightbox

2009-10-28 Thread Andrew Tan
Which lightbox plugin are you using? I have been using prettyPhoto and with that one you need to have a link/anchor to each picture and each link/anchor needs to have the rel "prettyPhoto".

[jQuery] Re: cluetip memory leak

2009-10-28 Thread Andrew Tan
Would we be able to pass in a number of variables to the functions such as show and hide which are initialised outside of the closures, rather than store references to the "this" object. I attempted to refactor/modify the code as a quick test but I kept getting null references to things like the t

[jQuery] Re: cluetip memory leak

2009-10-25 Thread Andrew Tan
The memory is released when you refresh the page. However, the users of my web app will be using the same page for 8+ hours a day and the page will most likely not be refreshed since all the updates are displayed and retrieved via ajax and jquery.

[jQuery] cluetip memory leak

2009-10-22 Thread Andrew Tan
Hi, I have been tracking down a memory leak in my web app which dynamically removes and adds anchors which have cluetip tooltips attached and I think that I may have narrowed down the problem to the main closure in cluetip which attaches the cluetip to the node (line 32: var link = this, $this =

[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Tan
 timer = setTimeout(cue, options.pauseTime); >             }else{ >           timer = setTimeout(transition, options.pauseTime); >             } >       }; > >           pause: function(){ >              if (pause == 1) pause = 0; >               else pause = 1; >        

[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Tan
Anybody ?Please On Oct 16, 5:32 pm, Tan wrote: > Hi, I have see a plugin : Fade transition plugin for jQuery > Please see demo:http://www.robpoyntz.com/blog/?m=200905 > I want when i mouse over then Fade transition stop and when i mouse > out then it start. > > I create a cod

[jQuery] When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Tan
Hi, I have see a plugin : Fade transition plugin for jQuery Please see demo: http://www.robpoyntz.com/blog/?m=200905 I want when i mouse over then Fade transition stop and when i mouse out then it start. I create a code: $(".container").mouseover (function() { $(this).stop(); }); but it's not wor

[jQuery] Re: Hide checkbox when choosen value in select > 0

2009-10-12 Thread Tan
Thanks Brian. It's very work. On Oct 11, 10:55 pm, brian wrote: > On Sat, Oct 10, 2009 at 1:45 PM, Tan wrote: > > > Hello, > > > >   > >   > name="sitewide" id="edit-sitewide" value="1"   class="form-checkbox" /

[jQuery] Hide checkbox when choosen value in select > 0

2009-10-10 Thread Tan
Hello, site wide Choosen get termwide: No choosenTerm1Term2 I have code jquery when i choosen select options value > 0 then disable checkbox : $('#edit-termwide').click(function() { if ($("#edit-termwide option:selected").length > 0) { $('#edit-sidewide').attr('disabled

[jQuery] Select all class not " keyword_type_A", please help

2009-10-09 Thread Tan
Hello. I have a list: A tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag tag I create a code jquery show only class="keyword_type_S" $(document).ready(function() { $('#A').click(function() { $('.keyword_type_A').show(); $('^li.ke

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Tan
ion in the select drop down box, the text box will get populated with > the selected value. > > Thanks & Regards, > Dhruva Sagar. > > Marie von > Ebner-Eschenbach<http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac> > - "Even a stopped clock

[jQuery] add value from listbox to textbox

2009-08-21 Thread Tan
i have to create a listbox and a textbox. I want to select value form listbox then this value shows in textbox http://www.w3.org/ TR/html4/strict.dtd"> test http://jqueryjs.googlecode.com/ files/jquery-1.3.2.min.js"> $(document).ready(function(){ $('#edit-default-soure').change(function

[jQuery] On writing beautiful code

2008-10-01 Thread Chris Tan
I'm fairly new to Javascript and although I have become familiar with the jQuery library, I still have no idea how to structure my code cleanly. My current project (http://www.pycmds.org) has risen to about 300 lines of code and although it works, it's basically spaghetti. So I'd appreciate some

[jQuery] Re: jquery tabs cannot put inside the tab

2008-09-23 Thread Tan YL
Never mind I used another tutorial in the end. Thanks for your help! -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: Tuesday, September 23, 2008 9:21 PM To: jQuery (English) Subject: [jQuery] Re: jquery tabs cannot put inside t

[jQuery] Re: jquery tabs cannot put inside the tab

2008-09-23 Thread Tan YL
Thanks for your fast reply claus This $('div.tab-panel').hide(); // hide all divs with class "tab-panel" Shows all tabs but does not show the the s inside the tabs And this $('#tabs > div').hide(); // hide only direct childs Still shows the same thing btw The original javascript jQuery(doc