WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Right and left clicks in WebFX, Clement Lefebvre, October 28, 2004
     Re:Right and left clicks in WebFX, Clement Lefebvre, October 29, 2004

Subject: Re:Right and left clicks in WebFX From: Clement Lefebvre Date: October 29, 2004

Ok. The problem was found in xtree.js within the WebFXTree.prototype.toString function :

the anchor link only had href and target attributes. A onMouseDown attribute was added that did the following : return!open(this.href, this.target, '...')

The right-click buttons now acts differently. On top of showing the context menu, it actually simulates a left-click on the nodes.

Thanks to #javascript @ irc.freenode.net for the quick answers.

Clement.

From: Clement Lefebvre
Sent: October 28, 2004
Subject: Re:Right and left clicks in WebFX

Hi,

WebFX works great for us but we would like it to do the following :

Whenever a node is right-clicked, we would like it to be selected (the same way as it is selected when left-clicked) before the context menu is shown.

How can we do that ?

Thanks for your help,

Clement.





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX