how to set up frame such that user cannot click other side than the current active frame if click then frame prompt for actvation.

Thankx in advanced.