In this recipe, we will cover how to resize an element on screen by animating a change in its height and width. We will resize a container
div, enlarging both the width and height.
Here we can see the key steps in this animation by looking at a selection of frames:
We begin by creating a PHP page to set up a basic Moodle programming environment. In this case,
anim_resize.php, with the following content:
<?php require_once(dirname(__FILE__) ...