function rotate($that) {
//swap the height and width attributes
//of $that using .height and .width;
var $originalheight = $that.height();
var $originalwidth = $that.width();
$that.height($originalwidth);
$that.width($originalheight);
}
//note there is still additional code for script.js past this line in the original exercise
No comments:
Post a Comment