panel-in-form.html revision eea6edce0399e2f05e988d9b5dcd697201ea85b7
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo <link rel="stylesheet" href="/build/cssreset/reset-min.css" />
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo <link rel="stylesheet" href="/build/cssfonts/fonts-min.css" />
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo <link rel="stylesheet" href="/build/cssbase/base-min.css" />
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo Click the close button!
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo skin : 'sam',
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo filter: 'raw'
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo }).use('panel', function (Y) {
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo var panel = new Y.Panel({
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo srcNode : '#foo',
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo headerContent: 'Panel',
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo centered : true,
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo modal : true,
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo render : true
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo Y.one('form').on('submit', function (e) {
eea6edce0399e2f05e988d9b5dcd697201ea85b7Eric Ferraiuolo alert('The form is submitting!');