The two applets below use JalviewLite's javascript API to exchange events about the currently selected region and mouse position in the alignment.
See the other demonstration pages below to see the API in action: