![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jul 2007
Posts: 44
OS: WINxp
|
Javascript onClick problem?
I am in the process of creating a desktop-style website. I have an image map which has hotspots for all the different icons on my website. When an icon is clicked a div should popup.
Below is my div code from the css: #about { border: 1px solid #ccc; height: 120px; width: 400px; overflow: auto; margin: 1em 0; } Here is my image map code: <img src="map/map.png" alt="Desktop Image map" border="0" usemap="#desktop" /> <map name="desktop" id="desktop"><area shape="rect" coords="20,78,87,152" href="#" alt="Home Icon" /> <area shape="rect" coords="123,77,177,153" href="#" alt="About Icons" /> <area shape="rect" coords="220,81,271,157" href="#">onclick="" target="_self" alt="Work Icon" /> </area></map> What do I need to put in the onClick section for the about div to pop up on top of the image map, not above or below! Thanks in advance Adam |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|