Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Member Tristessa's Avatar
    Join Date
    Nov 2004
    Location
    Kingston, Ontario
    Posts
    94
    Member #
    8215
    I am creating an HTML version of a flash game.
    I have the main image (cabinet_left01.gif) with the map and there is a spacer image beside it.

    With the image map I would like the original picture and the picture beside it to change.

    I have done this before, but not with an image map. Everywhere I look it shows me examples with javascript, but I would prefer to use HTML if possible.

    Right now my non working code looks a little like this:


    <td width="282" valign="top"><img src="cabinet_left01.gif" name="cabinet" width="282" height="427" border="0" usemap="#Map" id="cabinet"></td>

    <td width="243" valign="top"><img src="images/spacer.gif" width="243" height="427" border="0" name="rightside" id="rightside"></td>

    <map name="Map">
    <area shape="rect" coords="103,61,143,123" href="#" onMouseOver="MM_swapImage('rightside','','buckleys _right.gif','cabinet','','buckleys_left.gif',1)" onMouseOut="MM_swapImgRestore()">
    </map>

  2.  

  3. #2
    Member Tristessa's Avatar
    Join Date
    Nov 2004
    Location
    Kingston, Ontario
    Posts
    94
    Member #
    8215
    i fixed my problem, no need for anyone to reply.
    The code was right, but I didn't have the script above it for onmouseover


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com