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
    Join Date
    Mar 2003
    Location
    Nebraska
    Posts
    43
    Member #
    985
    I am trying to get a mapped image to work so that when the mouse goes over it it displays "Click here to check out the schools we support" in the status bar and changes the image.

    <map name="Map">
    <area shape="rect" coords="0,2,81,22" href="schools.htm" onMouseOver="change_schools('images/JPEG/jschools2.jpg'); status='Click here to check out the schools we support'; return true;" onMouseOut="reset_schools(); status=''; return true;">
    For some reason this code does not work. Any suggestions?
    </map>

    Here is the code from the Script tags at the top of the page

    function change_schools(image_name) {
    document.schools.src = image_name;
    }
    function reset_schools () {
    document.schools.src ="images/JPEG/jschools.jpg";
    }

    Thanks,

  2.  

  3. #2
    Senior Member rjahrman's Avatar
    Join Date
    Feb 2003
    Posts
    180
    Member #
    705
    Welcome to the forums!

    In the code above, you need to replace "status" with "window.status".


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 06:57 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com