Cross Reference: image.html
xref
: /
yui3
/
src
/
button
/
tests
/
manual
/
image.html
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
image.html revision f8a4451ab76c7cf265accab801c3514e64ed2742
326
N/A
<!
DOCTYPE
html
>
326
N/A
<
html
>
1276
N/A
<
head
>
326
N/A
<
script
src=
'/
build
/
yui
/
yui-min.js
'
></
script
>
1549
N/A
326
N/A
<
script
>
326
N/A
YUI({
919
N/A
base: '/
build
/',
919
N/A
debug: true,
919
N/A
combo: false,
919
N/A
filter: 'raw'
919
N/A
}).use('button', function(Y){
919
N/A
new
Y.Button
({
919
N/A
srcNode: '#image-button',
919
N/A
type: 'toggle'
919
N/A
})
919
N/A
});
919
N/A
</
script
>
919
N/A
919
N/A
<
style
>
919
N/A
.yui3-button{
919
N/A
padding:20px;
919
N/A
}
919
N/A
326
N/A
.yui3-button-selected {
326
N/A
background-color:#F2F194;
326
N/A
color:white;
326
N/A
}
493
N/A
</
style
>
326
N/A
</
head
>
970
N/A
970
N/A
<
body
>
970
N/A
970
N/A
<
h1
>Button Example: Image</
h1
>
326
N/A
1549
N/A
<
input
type=
'image'
id=
'image-button'
value=
'asd'
src=
"
http://yuilibrary.com/img/yui-logo.png
"
></
input
>
326
N/A
911
N/A
</
body
>
1549
N/A
</
html
>