Results 1 to 2 of 2

Thread: Button that Highlights other stuff

  1. #1
    Join Date
    Feb 2007
    Posts
    1

    Button that Highlights other stuff

    So right now, my website is a navigation bar at the top with drop downs, and a biiiiig picture file with hotspots. Is it possible to have a hyperlink/button (that i can put on my drop down) that will highlight some hotspots on my picture (either by highlighting or outlining or flashing)??? I reeeaaallly need some help.


    thank you sooo much!

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    It is possible to use a javascript rollover to highlight an image somewhere else. Normally javascript rollovers would change or highlight the image in the same place but it can highlight an image in a different place.

    So you would have an icon or text link in your drop down menu and it would show an image somewhere else when hovered. You would probably have to have a transparent image in the other place for the normal view.

    I've quickly cobbled together two files I had already - a drop down menu and a javascript rollover (the links don't work because this is just to show the principle).
    http://www.wickham43.supanet.com/for...downmenus.html

    If you hover over the links in the Home drop down menu the transparent icons in the gray "map" change to a green icon. You should be able to position these over your map.

    There may be some validation or javascript errors but as I'm not a javascript expert I'm not sure - it works though.

    My dropdown menu example requires a behavior file Version 1.42.060206 csshover.htc for IE6 available from http://www.xs4all.nl/~peterned/csshover.html

    PS See also item 3 here:-
    http://www.wickham43.supanet.com/tut...imagemaps.html
    Last edited by Wickham; 23 Feb 2007 at 01:53 AM.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Secret Glossy Effect Button Making Secrets Revealed!!!
    By WongFei in forum Graphic Design
    Replies: 1
    Last Post: 27 Sep 2009, 08:06 PM
  2. How to draw flat look on checkbox & radio button ?
    By Setya in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 16 Feb 2006, 03:12 AM

Posting Permissions

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