| Use spinners to divide your page content into sections, each of which you can show or hide individually. The Code The code for index.php is shown in Example 1. Example 1. PHP allowing for user selection of a specific spinner <?phpfunction start_section( $id, $title ){?><table cellspacing="0" cellpadding="0"><tr><td width="30" valign="top"><a href="javascript: void twist('<?php echo($id); ?>');"><img src="up.gif" border="0""img_<?php echo($id); ?>"/></a></td><td width="90%"><h1><?php echo( $title ); ?></h1><div id="<?php echo($id); ?>"><?php}function end_section( ){?></div></td></tr></table><?php}function spinner_header( ){?><style type="text/css"> body { font-family: arial, verdana; }h1 { font-size: medium; border-bottom: 1px solid black; }.spin-content{font-size:small;margin-left:10px;padding:10px;}</style><script language="Javascript">function twist( sid ){ imgobj = document.getElementById( "img_"+sid ); divobj = document.getElementById( sid ); if ( imgobj.src.match( "up.gif" ) ) { imgobj.src = "down.gif"; divobj.style.position = "relative"; divobj.style.visibility = "visible"; } else { imgobj.src = "up.gif"; divobj.style.visibility = "hidden"; divobj.style.position = "absolute"; }}</script><?php}?><html><head><?php spinner_header( ) ?></head><body><?php start_section( "one", "Report part one" ) ?>This report will tell you a lot of stuff you didn'tknow before.And that's good.Because that's what a report should do.But it will tell you so much that it needs to berolled up into sectionsso that you don't have to gasp as you see it all at once.<?php end_section( ) ?><?php start_section( "two", "Report part two" ) ?>This is a table of numbers and such:<br/><table><tr><th>State</th><th>Total</th></tr><tr><td>CA</td><td>$35M</td></tr><tr><td>PA</td><td>$... |