4.9.3.1 Layout Changes
First, we'll include the Prototype library in the header, set up our status indicator image (spinner.gif), and set up our main content wrapper DIV, "content".
Here’s what a layout including those elements might look like (partially):
<head>
<title><?php echo $title_for_layout; ?></title>
<?php echo $javascript->link(array('prototype')); ?>
<style type="text/css">
div.disabled {
display: inline;
float: none;
clear: none;
color: #C0C0C0;
}
</style>
</head>
<body>
<div id="main">
<div id="spinner" style="display: none; float: right;">
<?php echo $html->image('spinner.gif'); ?>
</div>
<div id="content">
<?php echo $content_for_layout; ?>
</div>
</div>
</body>
</html>
<head><title><?php echo $title_for_layout; ?></title><?php echo $javascript->link(array('prototype')); ?><style type="text/css">div.disabled {display: inline;float: none;clear: none;color: #C0C0C0;}</style></head><body><div id="main"><div id="spinner" style="display: none; float: right;"><?php echo $html->image('spinner.gif'); ?></div><div id="content"><?php echo $content_for_layout; ?></div></div></body></html>


























