Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image map troubles

    grrr i no this question has been posted but it seems like no one has the answer?

    I'm creating an image map, complete with a menu bar attached to the image, however, i want these links to open into a window or I frame inside a part of the image that i designated for it.

    My problem is that I'm not even sure if this is possible. here's my code:

    <body bgcolor="black" scroll="no">

    <br><br><br>

    <center>
    <img src="graphics/theusedmainsiteimgmap2.jpg" USEMAP="#theusedmainsiteimgmap2" BORDER=0>
    <map name="theusedmainsiteimgmap2">
    <area name="mainbox" shape="rect" coords="279,342,814,590" href="mainbox" alt="mainbox" OnMouseOver="window.status='mainbox'; return true" OnMouseOut="window.status=''; return true" target="mainbox">

    ( I want this link below to open into the area designated above)
    <area name="link" shape="rect" coords="38,566,165,609" href="http://www.google.com" alt="google" target="mainbox">
    </map>


    If you can please please help me with this problem it would be greatly appreciated.


    cheers.
    _Cyrax

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    I'm not sure what you are trying to do. Are you trying to open the link in another part of the image map or inside of an iframe? If its an iframe then you need to remvoe the name="mainbox" from the area in the first part.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New to the CF scene
    Join Date
    Sep 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by _Aerospace_Eng_ View Post
    I'm not sure what you are trying to do. Are you trying to open the link in another part of the image map or inside of an iframe? If its an iframe then you need to remvoe the name="mainbox" from the area in the first part.

    I'm trying to open links in the image map to another designated part of the SAME image map. So how do I achieve this? do I need Iframes or am I jus a noob and using the wrong terms? Please if you understand help me, i've been scratching my heads for hours and smoked a pack of cigarettes.


    lol.


    cheers.
    _Cyrax


  •  

    Posting Permissions

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