[jQuery] Re: plugin good structure with params

2009-12-10 Thread MorningZ
First off $(#progresbar-bar).progresbar(procent=0,manual=false); isn't correct anyways, it would be: $(#progresbar-bar).progresbar(0, false); as for your question, this article is a great guide to writing plugins *and* thoroughly answers your question about params and defaults:

[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();