SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    orange pips! orange pips!
    Join Date
    Oct 2001
    Location
    Its all about location
    Posts
    652
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascripting in Client-side Imagemaps

    I am attempting to do some minor cosmetic designs to my website using some minor javascripting in the onmouseover of an html link in an imagemap definition. However, the code I want to use is not being displayed at all, and I haven't the faintest why. Below is my code, and if you have any ideas, plz let me know. Thank you.

    --------------code snippet------------
    <map name="LOGO">
    <area shape="rect" coords="204,101,329,119" href="information.html" onmouseover="window.status='Information about Barnes Chiropractic'; return true;" onmouseout="window.status=''; return true;">
    </map>
    -------------end code snippet----------

  2. #2
    SitePoint Evangelist jkh1978's Avatar
    Join Date
    May 2001
    Location
    Northern Virginia
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is happening? Do you have a link to his page up?

  3. #3
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could try creating a function that does the same thing, then calling the function in the HREF attribute like so:

    <area shape="rect" coords="204,101,329,119" href="javascript:showStatus();"> (ignore the space in javascript)
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •