View Single Post
Old 04-27-2008, 11:43 AM   #1 (permalink)
arrchapman
Junior Member
 
Join Date: Apr 2008
Posts: 1
Default 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.
arrchapman is offline   Reply With Quote
Sponsored Links