[jQuery] plugin good structure with params

2009-12-10 Thread Imre Farkas
I have my function (function($) { jQuery.fn.progresbar = function(procent_val,manual) { var non_dinamic=manual; var procent=procent_val; if (non_dinamic==false) { var auto_refresh = setInterval(

[jQuery] Re: plugin good structure with params

2009-12-10 Thread Imre Farkas
Thank for all, it was usefull! On dec. 10, 15:57, Rafał Pocztarski r.pocztar...@gmail.com wrote: 2009/12/10 Imre Farkas farkasimr...@gmail.com: Now when i call  i do it so script type=text/javascript $(document).ready(function() {        $(#progresbar-bar).hide();        $(#procent

[jQuery] [validate] Specifying custom highlight/unhighlight methods problem

2009-11-25 Thread Imre Farkas
I'm trying to specify a couple of custom methods for highlighting/ unhighlighting valid/invalid fields on my form, but I'm getting some strange behaviour, which I'm not sure is due to me misunderstanding how these methods are supposed to be implemented, or if it's just buggy. $().ready(function()