tbkcp_popup_dialog.php

Summary
tbkcp_popup_dialog.php
Will load an href into a jquery dialog for all elements given the tbkcp_main_popup classAuthor: Paul MacLean
tbkcp_popup_dialogWill load an href into a jquery dialog for all elements given the tbkcp_main_popup class
Functions
__constructadds the enqueue actions
load_popup_assetsloads the popup_dialog.js script

Will load an href into a jquery dialog for all elements given the tbkcp_main_popup class

Author: Paul MacLean

Usage Examples:

//Requires jquery-ui (loaded by tbk_client_plugin by default)
<a href "your-href" class ="tbkcp_main_popup">Open popup<a/>

tbkcp_popup_dialog

Will load an href into a jquery dialog for all elements given the tbkcp_main_popup class

Summary
Functions
__constructadds the enqueue actions
load_popup_assetsloads the popup_dialog.js script

Functions

__construct

function __construct()

adds the enqueue actions

load_popup_assets

function load_popup_assets()

loads the popup_dialog.js script

function __construct()
adds the enqueue actions
function load_popup_assets()
loads the popup_dialog.js script
Close