SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Location
    BC, Canada
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Controlling status bar in image maps?

    Here is the question, may not be the right forum, but here it is just the same.

    I would like to control the message in the status bar when using imaage maps. Example below.

    <!-- Define the 'navBar' image Map -->
    <map name="navbarMap">
    <!-- 'home' button -->
    <area shape="rect" coords="0,0,110,20" href="/" onMouseOut="MM_swapImgRestore(); window.status=''; return true;" onMouseOver="MM_swapImage('navbar','','../images/navbar/nav_rsmeBtn1.gif'); window.status='PG Employment Network - The Place where Employers meet Job Seekers!'; return true;" alt="Prince George Employment Network" title="Prince George Employment Network">

    </map>
    Is this even possible? The red text is what I think it should be. Any help would be greatly appreciated.

    trout67
    Go Leafs Go!!!!!!!!

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    course it is, but i couldn't figure out why the status doesn't return, until you mouseout?

    PHP Code:
    <p style="text-align:center">
    <
    img src ="http://i.sitepoint.com/fi/top_logo_sitepoint.gif" usemap ="#sitepointmap" /><br />

    <
    map id ="sitepointmap">

    <
    area shape ="rect" coords ="0,  0, 90,28" alt="a" href ="a.html" target ="_blank" onmouseover="document.all.areas.innerHTML='a'; window.status='a'; return true;" />
    <
    area shape ="rect" coords ="0, 28, 90,56" alt="c" href ="b.html" target ="_blank" onmouseover="document.all.areas.innerHTML='c'; window.status='c'; return true;" />
    <
    area shape ="rect" coords ="90, 0,186,28" alt="b" href ="c.html" target ="_blank" onmouseover="document.all.areas.innerHTML='b'; window.status='b'; return true;" />
    <
    area shape ="rect" coords ="90,28,186,56" alt="d" href ="d.html" target ="_blank" onmouseover="document.all.areas.innerHTML='d'; window.status='d'; return true;" />
    </
    map>
    area selected is eqaul to <q id="areas"></q>
    </
    p


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
  •