CGU Core implements a popup toggling framework which can be used to create popups. Primarily useful for displaying social network sharing.

Example

<a class="popup-toggle button" href="#"
   data-url="https://twitter.com/intent/tweet?text=CGU%20Popups%2C%20they're%20awesome!">Share on Twitter</a>

How to use

Popup toggles utilize a series of classes and attributes:

Required

Class: popup-toggle

Declares a node as a control for a popup.

Attributedata-url

The URL to direct the new popup window to.