Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2015
Posts: 96
Likes: 1
Journeyman
Journeyman
Joined: Mar 2015
Posts: 96
Likes: 1
Hi,

I noticed that when you open the Poll Manager (for example), the popup comes into focus more by darkening the surrounding background... Where do I find this code? I'd like to use it for other areas, such as when a user clicks their username to open the menu for preferences, etc.

Thank you,

Matt
Attachments
effect.png


[Linked Image from imagizer.imageshack.com]
[Linked Image from aliendisc.net]
[Linked Image from aliendisc.net]
Joined: Jul 2006
Posts: 116
Likes: 4
P
Member
Member
P Offline
Joined: Jul 2006
Posts: 116
Likes: 4
UBB.threads is using Jack Moore's Colorbox plugin for jQuery for that:
Code
<link rel="stylesheet" property="stylesheet" href="/ubb/ubb_js/assets/colorbox.css">
<script src="/ubb/ubb_js/assets/jquery.colorbox.min.js"></script>
<script>
$(document).ready(function() {
	$(".cbpoll").colorbox({ iframe:true, maxWidth:"550px", innerWidth:"80%", innerHeight:"100px", transition:"none", fastiframe:false, overlayClose:false, close:"X" });
});
</script>
<i class="fas fa-chart-bar fa-fw fa-lg" aria-hidden="true"></i>&nbsp; <a class="cbpoll" href="/ubb/ubbthreads.php?ubb=pollmanager&amp;id=f155deb5437db1b43e92b7c0be3556f9">Poll Manager</a>
You find a documentation here: http://www.jacklmoore.com/colorbox/


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)