right click with key
2006/01/11 22:20
Viewed 2928 times
Replies: 1/2

Is it possible to have the right click popup menu show only when an access key is pressed (like alt)? How can I do that? Thanks!!

Re: right click with key
2006/01/12 13:48
Viewed 4308 times
Replies: 1/1

That's not supported per se, but I just made a quick test and it seems it's pretty easy to emulate with standard HTML.  Example:

<a class="hotspot" accesskey="b"
onfocus="this.blur(); this.onclick();"> <!-- this line is for IE -->
<u>B</u>ring it on
</a>
...
<ul id="menu">
<li class="context-class-a-hotspot context-align-bottom">
... context menu content ...
</li>
</ul>

Look, we just made a menu that triggers upon ALT-B. :-)

Hope this helps.

last
Re[2]: right click with key
2006/01/13 01:17
Viewed 5562 times
Replies: 0/0

That is helpful, but what I mean was to have it work on ALT-Click (actually ALT-RightClick). I have a menu for right clicking anywhere on the page (attaches to body element), but then I can never use the browser's right click menu ever again. :(

So that is why I would want to ALT-RightClick to get to hidden admin function popup menu. Thanks!

last
Google