scripty2
scripty2 copied to clipboard
scripty2: for a more delicious web
Upon creating a new S2.UI.Accordion all content remains visible until a header that triggers animation is clicked. Attached patch changes this behavior by explicitly hiding all content not specified by...
Scripty2 's morph() function is not working in firefox while in webkit (tried Comodo Dragon and Chrome Canary) it works fine. In Opera also it works perfect. In firefox, console...
I noticed interesting issue with combining `slideUp` and `morph`, which breaks following animations when they're css-transition -based. I stripped it down to this simple test case — http://jsfiddle.net/xBgtm/6/ Notice 2...
Hi, Wishing to add autocomplete support on the new HTML5 input types, like email, tel, ..., I realized that it's blocked to "text" types so far : https://github.com/madrobby/scripty2/blob/master/src/ui/controls/autocompleter.js#L23 I guess...
On form submit I disable all button on the page with: ``` $$('.ui-button').each(function(button){ button.retrieve('ui.button').setEnabled(false); }); ``` For buttons that are <a> elements, they have the correct visual style but can...
I've created windowing system based on S2.UI.Dialog. You can see the demo here: http://wrzasq.pl/chilldev.js/application.html I'm trying to implement as many features in original S2.UI.DIalog class as I can and commit...
Autocompleter.js The zIndex are not set at the creation time so the list could appears behind other elements : // Position the menu to appear directly below the input. (function()...
Simple solution: if a button "options" property exists then pass it to the UI.Button constructor. Resulting example for API would be something like: ``` new S2.UI.Dialog({ ..., buttons:[ { primary:true,...
Dialog by default closes on return keypress with success status. However, there doesn't seem to be a good way to prevent this if you want to use an ajax request...
button.js line 189 should be: primaryIcon ? 'ui-button-text-icon-primary' : 'ui-button-text-icon-secondary';