Change logo at top automatically
I seen normally this is done with Javascript, not sure if it still is with how I want to achieve this. I use a simple switch script on my website. Everytime one of the links are clicked I want to change the top logo located on the website here is my switch script:
<?php
switch($_GET['x']){
case 'home': include('main.php'); break;
case 'aboutus': include('aboutus.php'); break;
case 'services': include('services.php'); break;
case 'mission': include('mission.php'); break;
case 'contact': include('contact.php'); break;
default: include('main.php'); } ?>
Any help is appreciated.
|