Help with a onlick image swap

  • matthewbade
  • Born
  • Born
  • matthewbade
  • Posts: 1

Post 3+ Months Ago

Heres my problem I just started designing web pages, heres my address (http://www.justmystage.com/home.projectauto) What im trying to do is swap my homepage main picture with a map when I click on sitemap tool bar.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England

Post 3+ Months Ago

You know the link does not work!
I can help though what you want is this
Code: [ Select ]
<?php
if(page==map){print "<img src="the/place/the/pic/is.png" alt="alt tag" />"}
?>
  1. <?php
  2. if(page==map){print "<img src="the/place/the/pic/is.png" alt="alt tag" />"}
  3. ?>

And the link shoud be yoururl.com/index.php?page=map
:!:
But with the link not working Im not that sure what your want it to do so I maybe way off track!

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 41 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.