popup window with predefined width/height values. Override defaults with data-popup
attribute
- copy
js_popup_defaults.js
toapp/assets/javascripts/popup_defaults.js
Setup rel="popup"
attribute for popup links, optional change predefined width/height values with data-popup="width|height"
.
<a href="http://example.com" rel="popup" data-popup="510|550" target="_blank">popup example</a>
or
<a href="http://example.com" rel="popup" target="_blank">popup example</a>