Clickable image

Discussion in 'ASP .Net' started by Bart Schelkens, Sep 9, 2004.

  1. Hi,

    I've put an image on my website.
    Now I want the user to be able to click on certain parts of the image.
    How can I do that ?

    Thx
    Bart Schelkens, Sep 9, 2004
    #1
    1. Advertising

  2. Bart Schelkens

    GrantMagic Guest

    You have to use an image map .... it takes a but of playing around, but
    you'll get it eventually

    E.G.

    <!-- Image mapping co-ordinates go here -->
    <MAP NAME="imageMapName">
    <AREA SHAPE="RECT" COORDS="0, 0, 160, 60"
    HREF="http://www.site.com/page1.html">
    <AREA SHAPE="RECT" COORDS="160, 0, 310, 60"
    HREF="http://www.site.com/page2.html">
    <AREA SHAPE="RECT" COORDS="310, 0, 410, 60"
    HREF="http://www.site.com/page3.html">
    <AREA SHAPE="RECT" COORDS="0, 60, 160, 110"
    HREF="http://www.site.com/page4.html">
    <AREA SHAPE="RECT" COORDS="160, 60, 310, 110"
    HREF="http://www.site.com/page5.html">
    <AREA SHAPE="RECT" COORDS="310, 60, 410, 110"
    HREF="http://www.site.com/page6.html">
    </MAP>

    <!--image goes here .... notes usemap attribute -->
    <img src="/images/image.gif" width="410" height="110" border="0"
    align="middle" usemap="#imageMapName">

    --------------------------------------------------------------------------------------------------------------------



    "Bart Schelkens" <> wrote in message
    news:%...
    > Hi,
    >
    > I've put an image on my website.
    > Now I want the user to be able to click on certain parts of the image.
    > How can I do that ?
    >
    > Thx
    >
    >
    GrantMagic, Sep 9, 2004
    #2
    1. Advertising

  3. On Thu, 9 Sep 2004 13:20:24 +0200, Bart Schelkens wrote:

    > Hi,
    >
    > I've put an image on my website.
    > Now I want the user to be able to click on certain parts of the image.
    > How can I do that ?
    >
    > Thx


    Take a look at this (or google: client side image map):
    http://curry.edschool.virginia.edu/go/WebTools/Imagemap/CSIM.html
    /Hugo
    Hugo Wetterberg, Sep 9, 2004
    #3
  4. You can use Image Map. That will help.

    Thanks,
    Sanjeeb Sarangi


    "Bart Schelkens" <> wrote in message
    news:#...
    > Hi,
    >
    > I've put an image on my website.
    > Now I want the user to be able to click on certain parts of the image.
    > How can I do that ?
    >
    > Thx
    >
    >
    Sanjeeb Sarangi, Sep 9, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DC Gringo
    Replies:
    0
    Views:
    357
    DC Gringo
    Oct 31, 2004
  2. C Williams

    custom, clickable image

    C Williams, Sep 23, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    443
    Bruce Barker
    Sep 24, 2005
  3. Progman

    Clickable Image

    Progman, Feb 12, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    470
    Steve C. Orr [MVP, MCSD]
    Feb 13, 2006
  4. Martin
    Replies:
    15
    Views:
    2,515
    Steve Pugh
    Jul 21, 2005
  5. John Tipper

    Creating clickable image control

    John Tipper, Nov 5, 2003, in forum: C++
    Replies:
    1
    Views:
    382
    Mike Wahler
    Nov 5, 2003
Loading...

Share This Page