Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2017-07-01 00:40:21

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 12,916
Website

Pangolin pop up boxes

If you're wanting to create pop-up boxes using the new Pangolin release of Backlight (1.2), the code is a little different. Backlight 1.2 uses Fancybox whereas the original Backlight uses Magnific.

Here's a sample of the code needed:

<button data-fancybox data-src="#popup">Button</button>
	
<div id="popup" style="display:none;"><p> Stuff and things ... </p><p>Sed maximus enim felis, et interdum risus vehicula vel. Mauris vitae ligula vulputate, facilisis odio eget, accumsan lacus. Pellentesque suscipit ante leo, sed consectetur magna aliquet at. Fusce	consectetur ullamcorper rhoncus. Fusce ac aliquam nisl. Vestibulum ac congue lorem.</p></div>	\

and a demo page: http://pangolin.barbeephoto.com/?page=pop-up


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 1.1.1 test site, Pangolin test site

Offline

#2 2017-07-08 09:20:33

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 673
Website

Re: Pangolin pop up boxes

And to have an inline link instead of a button use

<a data-fancybox data-src="#popup" href="javascript:;">popup</a>
	
<div id="popup" style="display:none;"><p> Stuff and things ... </p><p>Sed maximus enim felis, et interdum risus vehicula vel. Mauris vitae ligula vulputate, facilisis odio eget, accumsan lacus. Pellentesque suscipit ante leo, sed consectetur magna aliquet at. Fusce	consectetur ullamcorper rhoncus. Fusce ac aliquam nisl. Vestibulum ac congue lorem.</p></div>	

Daniel Leu | Photography   
DanielLeu.com

Just a user who loves to dive into techie stuff... and sometimes gets into trouble for that.

Offline

#3 2017-07-08 09:27:52

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 12,916
Website

Re: Pangolin pop up boxes

cool. Thanks!


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 1.1.1 test site, Pangolin test site

Offline

#4 2017-07-08 09:35:06

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 673
Website

Re: Pangolin pop up boxes

smile


Daniel Leu | Photography   
DanielLeu.com

Just a user who loves to dive into techie stuff... and sometimes gets into trouble for that.

Offline

Board footer

Powered by FluxBB