Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To Close a Layer when clicked!

Status
Not open for further replies.

soonkhoo

Programmer
Joined
Dec 8, 2000
Messages
133
Location
MY
Hi all,

I have a layer that pops up on a region. How do I close or hide the layer when clicked on the layer?

Thanks
Soon
 
Oh...what if when clicked anywhere else? Say the layer name is Layer1
 
??? layer1.close() !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top