Re[5]: Context Menu on button or image click.
2005/10/12 20:01
Viewed 12151 times
Replies: 1/10

Yes . you are right. This works with latest version.

Can i overwrite all the 2.5 files with new 2.8 files.

Let me know........

Re[6]: Context Menu on button or image click.
2005/10/12 20:08
Viewed 13470 times
Replies: 1/9

Also is it possible to show the popup on an image or a button.

I tried by adding a button or image. it doesnt work. Replaced the first div tag with the following lines in my code

  • --------------------------------

<div class="hotspot context-align-bottom" style="left: 50px; top: 50px"><input type="button" name="btn2" value="btn2"></input>this</div>

<input class="hotspot context-align-bottom" type="button" name="btn1" value="ggg" style="left: 50px; top: 100px"></input>
<img class="hotspot context-align-bottom" src="" name="img1" style="left: 50px; top: 150px"></input>

  • -------------------------------------------------------
last
Re[7]: Context Menu on button or image click.
2005/10/12 20:25
Viewed 15351 times
Replies: 1/8

I can't see why not. The thing you need to take care of is that you're also passing the tag name, i.e.:

<li class="context-class-div-hotspot">

will only work on div-s with the class "hotspot".  If you say:

<li class="context-class-input-hotspot">

it will work for input fields having the class "hotspot".  Obviously, same goes for images:

<li class="context-class-img-hotspot">
last
Google