locked
hot spot RRS feed

  • Question

  • How  can i create hot spot on images..

     

     

    Saturday, October 4, 2008 12:17 AM

Answers

  • Hi

    You can create hotspot by editing template for Hypertlink Button.

     I am writing the steps here to be followed in Blend.

    In your application, Open asset library and select hyperlink button from that.

    Double click on that button to place it on your artboard.

    Right click on button (on artboard) & select Edit Control Parts (Template) > Edit a copy , press OK

    Select pen tool and draw hotspot desired shape inside button's grid.

    set stroke to none.

    Set opacity for fill as 1(if you want it to be transparent)

     

    (Please 'Mark as Answer'..........if it helps you)

    Saturday, October 4, 2008 3:00 AM

All replies

  • Hi

    You can create hotspot by editing template for Hypertlink Button.

     I am writing the steps here to be followed in Blend.

    In your application, Open asset library and select hyperlink button from that.

    Double click on that button to place it on your artboard.

    Right click on button (on artboard) & select Edit Control Parts (Template) > Edit a copy , press OK

    Select pen tool and draw hotspot desired shape inside button's grid.

    set stroke to none.

    Set opacity for fill as 1(if you want it to be transparent)

     

    (Please 'Mark as Answer'..........if it helps you)

    Saturday, October 4, 2008 3:00 AM
  • thank you  .....thank you very much....

    Saturday, October 4, 2008 3:39 AM
  • Another option (simpler but less reusable) is to place elements on top of the image, and give them an opacity of close to 0 (not 0, or the mouse events won't work), and then wire up the mouse events on these elements.

    Alternately, you can put the elements behind the image, not worry about the opacity, and set the image's IsHitTestVisible to false. Then the image won't get the mouse events but what's behind them will.

    Saturday, October 4, 2008 8:28 AM