Previous Thread
Next Thread
Print Thread
Hop To
Poll Manager Darken Background, Focused Window #262396 02/21/2019 7:56 PM
Joined: Mar 2015
Posts: 87
M4TT Offline OP
OP Offline
Joined: Mar 2015
Posts: 87

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,


Attached Files effect.png

[Linked Image from]
[Linked Image from]
[Linked Image from]
Express Hosting
Re: Poll Manager Darken Background, Focused Window [Re: M4TT] #262402 02/24/2019 7:35 AM
Joined: Jul 2006
Posts: 99
Philipp Offline
Joined: Jul 2006
Posts: 99
UBB.threads is using Jack Moore's Colorbox plugin for jQuery for that:
<link rel="stylesheet" property="stylesheet" href="/ubb/ubb_js/assets/colorbox.css">
<script src="/ubb/ubb_js/assets/jquery.colorbox.min.js"></script>
$(document).ready(function() {
	$(".cbpoll").colorbox({ iframe:true, maxWidth:"550px", innerWidth:"80%", innerHeight:"100px", transition:"none", fastiframe:false, overlayClose:false, close:"X" });
<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:


ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Strange Merge Issue
by Baldeagle - 08/16/2019 3:37 PM
Formatting Links
by Ty Griffin - 08/13/2019 4:39 PM
Changing from iso-8859-1 to UTF-8?
by Daryl Fawcett - 08/13/2019 9:58 AM
Threaded Mode
by ToddUGA - 08/10/2019 9:18 PM
Who's Online Now
1 registered members (isaac), 41 guests, and 245 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Photos
Amusing Terain Scenics
Sky places
Work spaces
Powered by UBB.threads™ PHP Forum Software 7.7.3