📜 ⬆️ ⬇️

Protoscript

Last week, Bill Scott announced Protoscript, a simple scripting language for prototyping a la Ajax. Using Protoscript makes it very easy to breathe life into the interface elements.

Code example:

$ proto ('# avatar', {
  Click: {
                 onClick: {
                         Popup: {
                                 id: 'about-bill',
                                 width: '510px',
                                 effect: {effect: YAHOO.widget.ContainerEffect.FADE, duration: 0.2},
                                 hd: 'Bill Scott Yapping',
                                 bd: 'http://farm1.static.flickr.com/46/113016311_39e40803ec.jpg',
                                 ft: ''
                         }
                 }
         } 

});
Read more: Ajaxian.com

')

Source: https://habr.com/ru/post/13927/


All Articles