With this you can easily create code to swap HTML within a div.
Instructions: Place at top of main inex page:
if (!isset($_SESSION['i']) || $_SESSION['i']==''){
$_SESSION['i'] = '0';
}
Call function by:
including file
div_swap($link_text, $div_target, $loader, $pass_var)
Variable Descriptions:
$link_text //displayed text
$div_target //What div content are you replacing
$loader //what's being loaded
$pass_var //values being passed