Widget:KidsCountingCardGame

This is a test of making a widget that use of jQuery UI. /*<![CDATA[*/ $(function { var deps = ["http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js","http://home.exetel.com.au/kruhly/jquery.CountingCardGame.js"];  $('head').append('');  $('head').append('');

function doGame { $.getScript(deps.shift, function {     if (deps.length) {        doGame;      } else {          $('#myDiv').countingCardGame.find('ul').css({'list-style-image':'none', 'padding':'10px'});        $('.cardPile').css({'padding-bottom':'20px'})        $('.functionPanel').css({'font-family': 'Georgia', 'font-family':'serif', 'line-height': '1.3em',  'color':'#333'});        $('.functionPanel').find('li').css({'padding':'4px'});      }    }); } doGame; }); /*]]>*/