Cross Reference: panel-skin-test.html
xref
: /
yui3
/
src
/
panel
/
tests
/
manual
/
panel-skin-test.html
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
panel-skin-test.html revision eaee839afff6e24a5ba7277c5fdacd4eeba4253b
1980
N/A
<!
DOCTYPE
html
>
1980
N/A
1980
N/A
<
head
>
1980
N/A
<
style
>
1980
N/A
</
style
>
1980
N/A
<
script
type=
"
text
/
javascript
"
src=
"/
build
/
yui
/
yui-debug.js
"
></
script
>
1980
N/A
<
link
type=
"
text
/
css
"
rel=
"stylesheet"
href=
"/
build
/
panel
/
assets
/
skins
/
night
/
panel.css
"
charset=
"utf-8"
>
1980
N/A
1980
N/A
</
head
>
1980
N/A
1980
N/A
<
body
class=
"yui3-skin-sam"
>
1980
N/A
<
div
class=
"yui3-skin-night"
>
1980
N/A
<
div
id=
"panel"
></
div
>
1980
N/A
</
div
>
1980
N/A
1980
N/A
<
script
type=
"
text
/
javascript
"
>
1980
N/A
1980
N/A
YUI({filter:"raw"}).use('panel', function(Y) {
1980
N/A
1980
N/A
var panel = new
Y.Panel
({
1980
N/A
bodyContent: '<
p
>Is this text white on white?</
p
><
p
>body CSS seems like mixture of yui3-skin-sam</
p
>',
1980
N/A
headerContent: 'Header CSS seems like yui3-skin-sam',
1980
N/A
width : 350,
1980
N/A
height : 400,
1980
N/A
zIndex : 5,
1980
N/A
centered : true,
1980
N/A
modal : true,
1980
N/A
visible : true,
1980
N/A
render : '#panel'
1980
N/A
});
1980
N/A
1980
N/A
panel.addButton
({
1980
N/A
value : 'Close',
1980
N/A
section:
Y.WidgetStdMod.FOOTER
,
action : function (e) {
e.preventDefault
();
panel.hide
();
}
});
});
</
script
>
</
body
>
</
html
>