w2popup.template

Parses provided HTML as popup template
template(data, id, options = {})
data string, HTML test with popup data
id string (optional), if there are multiple templates, id of the template
options obhect (optional), options for the popup

Description

It will take HTML text, parse it, extracting [rel=title], [rel=body], and [rel=buttons] and open a popup based on this data. If you have following html You can open it with
This function is used internally, when contetn is loaded with w2popup.load

User Comments

comments powered by Disqus