mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
better descriptions for scale & size
This commit is contained in:
parent
f901812169
commit
caf07a3e48
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
title: 'Scale',
|
title: 'Scale',
|
||||||
desc: 'Scales and element by a percentage.',
|
desc: 'Scales an element up or down by a percentage factor.',
|
||||||
html: '<button id="doScale">Scale</button> \n' +
|
html: '<button id="doScale">Scale</button> \n' +
|
||||||
'<button onclick="$(\'#scale\').css({width: 144, height: 108});">Reset</button><br/>\n' +
|
'<button onclick="$(\'#scale\').css({width: 144, height: 108});">Reset</button><br/>\n' +
|
||||||
'<div style="height: 108px;"><img id="scale" src="templates/images/P1010063.JPG"/></div>',
|
'<div style="height: 108px;"><img id="scale" src="templates/images/P1010063.JPG"/></div>',
|
||||||
@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
title: 'Size',
|
title: 'Size',
|
||||||
desc: 'Change the size of an element.',
|
desc: 'Changes the size of an element by specifying a width and height.',
|
||||||
html: '<button id="doSize">Size</button> \n' +
|
html: '<button id="doSize">Size</button> \n' +
|
||||||
'<button onclick="$(\'#size\').css({width: 144, height: 108});">Reset</button><br/>\n' +
|
'<button onclick="$(\'#size\').css({width: 144, height: 108});">Reset</button><br/>\n' +
|
||||||
'<div style="height: 108px;"><img id="size" src="templates/images/P1010063.JPG"/></div>',
|
'<div style="height: 108px;"><img id="size" src="templates/images/P1010063.JPG"/></div>',
|
||||||
|
Loading…
Reference in New Issue
Block a user