Well since I'm almost positive you have a PHP enabled server and that the filename of the page is index.php (took just a little snooping to determine that is likely the case), you could and probably should use PHP for this. That is if there will still be two domain names as shown in the browser's address bar. Will there be?
But I'm not real up on PHP, so I'd ask in the PHP section. You would probably want to test the $SERVER_NAME variable and pick the href for the link and the src and alt for the image on the basis of that. Something like:
PHP Code:
<?php
if($SERVER_NAME == www.rick.travel || $SERVER_NAME == rick.travel)
echo '<a href="http://www.rick.travel"><img src="http://www.rick.travel/data/images/rick.png" alt="Rick.Travel" border="0" /></a>';
else
echo '<a href="http://www.worldofrick.nl"><img src="http://data.worldofrick.nl/world/titel.png" alt="World of Rick" border="0" /></a>';
?>
This would go in place of:
HTML Code:
<a href="http://www.rick.travel"><img src="http://data.worldofrick.nl/images/ricktravel.png" alt="Rick.Travel" class="print" border="0" width="396" height="90" /></a>
and the one for the other logo on the other page.
IMPORTANT NOTE: The above is just pseudo PHP code. It may work, but if it doesn't, folks in the PHP section can correct it for you.
Bookmarks