Home > Web Front-end > JS Tutorial > JavaScript displays and closes layers where the mouse is clicked on the web page_javascript skills

JavaScript displays and closes layers where the mouse is clicked on the web page_javascript skills

WBOY
Release: 2016-05-16 17:44:53
Original
1070 people have browsed it

The layer is displayed where the mouse is clicked on the web page for the user to select a location, and the location selected by the user is displayed in the text box. It mainly controls the display and hiding of layers.

Copy code The code is as follows:




Hide and display exercise of layer






< ;TD height="36" align="right">







Location:








Effect:


This case can also be modified and used to display pictures, display menus, etc. where the mouse is clicked on the web page. Just put pictures and menus into layers.
Man follows the earth, the earth follows the sky, heaven follows the Tao, and the Tao follows nature.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template