better descriptions for scale & size

This commit is contained in:
Aaron Eisenberger 2008-06-26 16:05:17 +00:00
parent f901812169
commit caf07a3e48

View File

@ -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>',