要使菜单能够在点击或按Esc键时隐藏,需要添加如下处理程序:onclick="..."
Instead of just creating an tag, attach an onclick event to it and call the lightbox to show the large image.
不要只是创建一个标记,我们要将一个onclick事件附加到缩略图并调用lightbox来显示大图。
要使菜单能够在点击或按Esc键时隐藏,需要添加如下处理程序:onclick="..."
Instead of just creating an tag, attach an onclick event to it and call the lightbox to show the large image.
不要只是创建一个标记,我们要将一个onclick事件附加到缩略图并调用lightbox来显示大图。