Just bind galpop to the anchor link.
Bind a series of images with the same "data-galpop-group" attribute value.
Galpop has a box on the lower left corner for captions. If the anchor contains a "title" attribute, that will be added to the box. If the anchor contains a "data-galpop-link" attribute, it will add an anchor to the box. Adding a "data-galpop-link-title" attribute will change the text of the anchor, and adding a "data-galpop-link-target" attribute will change the target of the anchor.
You can add a callback function to fire after every completion of an image. You can grab the index and count from the "#galpop-wrapper" element.
You can also manually open the popup whenever you wish. You will have to use the "openBox" method and pass it the settings and image URL to open.
You can also manually open the popup as a group. Instead of passing it one url, you can use an array.
In addition to images, you can also load an iframe into the popup.
If you don't want to load the entire window into an iframe, you can pick specific elements to load.
适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。
来源:站长素材