Latest News f736n
Two Arrested in $25M Fake Casino Scheme in Mexico 3k4q12
Two men from Utah and California, identified as Thomas Paul Madden and Jeremy Tyler Grabow, have been arrested on charges related to orchestrating a $25 million Ponzi scheme. The fraudulent scheme promised…
Feb 05, 2025 Scandals
New Deposit Limit Rules Enacted by Gambling Commission 362dx
In a major step towards fostering responsible gambling, the Gambling Commission has introduced regulations effective from 31 October 2025, mandating that all gambling enterprises must encourage their patrons to establish a financial…
Feb 04, 2025 Law and Regulation
BCLC to Open First Sportsbook Lounges in British Columbia 5bp4v
In an unprecedented move that's set to redefine sports entertainment and betting in British Columbia, the British Columbia Lottery Corporation (BCLC) has announced the launch of the first retail sportsbook lounges in…
Feb 03, 2025 Business
Online Casinos Tied to Fentanyl Money Laundering 2w713l
As the opioid crisis continues to grip North America, a sinister connection between illegal synthetic opioid trafficking, specifically fentanyl, and online gambling sites has emerged as a significant threat to public health…
Jan 28, 2025 Crime
Trump Meets Gaming Leaders at Circa Casino Event 3e1x1q
In a crucial meeting that highlighted the gaming industry's key role in the U.S. economy, President Donald Trump met with leading figures from the gaming sector at Circa Resort and Casino. The…
Jan 27, 2025 Law and Regulation
Most Read News 41m5n
1
Hairdresser Opens up About Casino Addiction 4n3az Oct 31, 2022
2
Macau Gives New Casino Licenses 6g301o Nov 28, 2022
3
Star Sydney Casino Rectifies Wrongdoings e4h6p Sep 28, 2022
4
Chicago Casino to Be Raises Issues 1c3e2o Nov 30, 2022
5
Two Kings Casino Investigation Nearing End 5o5q6o Nov 09, 2022
6
3 Suspects Arrested on Cruise After Scam Failure 4n2537 Oct 31, 2022
7
Bradford Council Refuses Merkur Slots Proposal 5ie55 Nov 09, 2022
8
Nebraska Regulators Onboard With Temporary Casino 3uw24 Oct 27, 2022
Law and Regulation See All 3z653
New Deposit Limit Rules Enacted by Gambling Commission 362dx
In a major step towards fostering responsible gambling, the Gambling Commission has introduced regulations effective from 31 October 2025, mandating that all gambling enterprises must encourage their patrons to establish a financial…
Trump Meets Gaming Leaders at Circa Casino Event 3e1x1q
In a crucial meeting that highlighted the gaming industry's key role in the U.S. economy, President Donald Trump met with leading figures from the gaming sector at Circa Resort and Casino. The…
NFL and Council Team Up to Educate Students on Betting Risks 2k1p
In a significant move to promote responsible gambling, the National Football League (NFL) has ed forces with the Responsible Gambling Council (RGC) to launch a new educational program aimed at student-athletes across…
Aussie Gamblers Sue Sportsbet Over Alleged Illegal Betting 4t3q6u
In a significant legal challenge to one of Australia's largest betting companies, Sportsbet, a class-action lawsuit has been filed by a group of Australian gamblers. The lawsuit, initiated on December 24 in…
Crime See All 1p1g4z
Online Casinos Tied to Fentanyl Money Laundering 2w713l
As the opioid crisis continues to grip North America, a sinister connection between illegal synthetic opioid trafficking, specifically fentanyl, and online gambling sites has emerged as a significant threat to public health…
Sean ‘Diddy’ Combs Accused of Drugging, Raping Woman in 2014 473y4d
A woman has come forward with serious allegations against music mogul Sean 'Diddy' Combs, claiming that he drugged and raped her during an afterparty at his suite in the Planet Hollywood hotel…
Jake E. Lee, Former Ozzy Guitarist, Shot in Vegas 2n6j1m
In a distressing turn of events early Tuesday morning on October 15th, Jake E. Lee, the former guitarist for Ozzy Osbourne, was shot three times in the forearm, foot, and back while…
FSB Uncovers Casino in Russian Prison, Exposes Corruption 1x2k4g
In a shocking revelation, the Federal Security Service (FSB) has uncovered an underground casino operating within the walls of a Russian prison.The clandestine operation, which had been functioning undetected for an extended…
Business See All q664o
BCLC to Open First Sportsbook Lounges in British Columbia 5bp4v
In an unprecedented move that's set to redefine sports entertainment and betting in British Columbia, the British Columbia Lottery Corporation (BCLC) has announced the launch of the first retail sportsbook lounges in…
Phil Ruffin Sells Circus Circus, Eyes New Vegas Property 2n581o
Phil Ruffin, a renowned figure in the casino industry, has announced his decision to sell the Circus Circus hotel and casino in Las Vegas, a landmark on the Strip since 1968. The…
Netherlands Welcomes Playtech Bingo with Loterij 5f6jp
In a landmark move for the online gaming sector in the Netherlands, Playtech, a global leader in gambling software development, has announced that its highly anticipated bingo games are now live through…
Games Global Enters Brazil and Peru with New Expansion 3x4039
Games Global, a prominent player in the gaming industry, has officially announced its strategic expansion into the Brazilian and Peruvian markets. This move signifies a major step in the company's global growth…
Scandals See All 154mp
Two Arrested in $25M Fake Casino Scheme in Mexico 3k4q12
Two men from Utah and California, identified as Thomas Paul Madden and Jeremy Tyler Grabow, have been arrested on charges related to orchestrating a $25 million Ponzi scheme. The fraudulent scheme promised…
Sevilla’s Kike Salas Arrested for Alleged Spot-Fixing Scandal 5r3w26
In a shocking turn of events, Sevilla FC defender Kike Salas has been arrested on suspicion of spot-fixing. Authorities allege that Salas manipulated specific moments during matches to facilitate betting payouts for…
Curaçao’s Gaming Board Faces Licensing Scrutiny x572s
The Curaçao Gaming Control Board (GCB) has been thrust into the spotlight following accusations of corruption, fraud, and financial mismanagement linked to its gambling licensing operations. These allegations, propelled by local opposition…
Beau Rivage Issues Alert on Bogus Facebook Gambling Ads 362e6h
Beau Rivage Casino has recently issued a public warning about an ongoing scam involving fake online gambling ments that are circulating across major social media platforms. According to the casino, around 40…
Tech and Innovation See All 1p2r39
NetEnt Releases ‘Dazzle Me Christmas’ Holiday Slot 2ct39
NetEnt proudly presents its latest seasonal offering, Dazzle Me Christmas, a festive reimagining of its beloved slot game, Dazzle Me. Arriving just in time for the holiday season, this game combines traditional…
Relax Gaming Launches Immortal 5 Slot with CasinoDaddy 4c5h2l
Relax Gaming, a frontrunner in the iGaming development industry, has teamed up once more with the prominent online casino streaming community, CasinoDaddy, to introduce their newest slot game, Immortal 5. This new…
Driverless Taxis Hit the Las Vegas Strip 2p384q
The Las Vegas Strip, famous for its busy streets and famous landmarks, is now testing driverless Robotaxis. This new pilot program started this month and involves Zoox, a company owned by Amazon…
Las Vegas Culinary Union Plans Protests at Caesars, MGM Casinos Next Week 2634q
In a potentially disruptive move, Culinary Local 226, a union representing 53,000 hospitality workers in Las Vegas, is edging closer to the brink of a significant strike. On Monday, the union mobilized…
';
cnt_ele.after( msg_info );
setTimeout(function() {
$(".bdpp-info").fadeOut("normal", function() {
$(this).remove();
});
}, 3000 );
}
bdpp_tooltip();
current_obj.find('.bdpp-load-more-icon').show();
current_obj.find('.bdpp-loader').hide();
current_obj.removeClass('bdpp-load-more-disabled');
});
});
});
/* Numeric Ajax */
$( '.bdpp-numeric-post-ajax' ).each(function( index ) {
var current_obj = $(this);
var btn = current_obj.find('.page-numbers');
var cls_ele = current_obj.closest('.bdpp-post-data-wrap');
var cnt_ele = current_obj.closest('.bdpp-post-data-wrap').find('.bdpp-post-data-inr-wrap');
var cls_id = cls_ele.attr('id');
var shrt_param = current_obj.attr('data-conf');
if( cls_ele.hasClass('bdpp-post-masonry-wrap') ) {
var masonry = true;
} else {
var masonry = false;
}
$('#'+cls_id).on("click", '.bdpp-numeric-post-ajax .page-numbers', function() {
var btn_href = $(this).attr('href');
if( typeof(btn_href) == 'undefined' || btn_href == '' ) {
return false;
}
if( $(this).hasClass('bdpp-ajax-disabled') ) {
return false;
}
btn.addClass('bdpp-ajax-disabled');
cls_ele.find('.bdpp-loader').css('display', 'inline-block');
var data = {
action : 'bdpp_load_more_posts',
pagination_type : 'numeric-ajax',
shrt_param : shrt_param,
href : btn_href,
count : 0
};
$.post(Bdpp.ajax_url, data, function(result) {
if( result.status == 1 && result.data != '' ) {
if( masonry ) {
var obj_id = cls_ele.attr('id');
var msnry_id = $('#'+obj_id+' .bdpp-post-masonry-inr-wrap');
var $content = $( result.data );
$content.hide();
msnry_id.html($content).imagesLoaded(function() {
$content.show();
msnry_id.masonry('reloadItems');
msnry_id.masonry( 'layout' );
});
} else {
cnt_ele.html( result.data );
}
current_obj.html( result.pagination_html );
} else if(result.data == '') {
current_obj.closest('.bdpp-paging').hide();
var msg_info = '
'+Bdpp.no_post_found_msg+'
';
cnt_ele.after( msg_info );
setTimeout(function() {
$(".bdpp-info").fadeOut("normal", function() {
$(this).remove();
});
}, 3000 );
}
bdpp_tooltip();
btn.removeClass('bdpp-ajax-disabled');
cls_ele.find('.bdpp-loader').hide();
});
return false;
});
});
/* Prev - Next Ajax */
$( '.bdpp-prev-next-post-ajax' ).each(function( index ) {
var current_obj = $(this);
var btn = current_obj.find('.bdpp-ajax-pagi-btn');
var cls_ele = current_obj.closest('.bdpp-post-data-wrap');
var cnt_ele = current_obj.closest('.bdpp-post-data-wrap').find('.bdpp-post-data-inr-wrap');
var shrt_param = current_obj.attr('data-conf');
var paged = current_obj.attr('data-paged');
if( cls_ele.hasClass('bdpp-post-masonry-wrap') ) {
var masonry = true;
} else {
var masonry = false;
}
btn.on("click", function() {
if( $(this).hasClass('bdpp-ajax-disabled') ) {
return false;
}
btn.addClass('bdpp-ajax-disabled');
current_obj.find('.bdpp-loader').css('display', 'inline-block');
if( $(this).hasClass('bdpp-ajax-prev-page') ) {
var type = 'prev';
paged = paged ? ( parseInt(paged) - 1 ) : 1;
} else {
var type = 'next';
paged = paged ? ( parseInt(paged) + 1 ) : 2;
}
paged = ( paged > 0 ) ? paged : 1;
var data = {
action : 'bdpp_load_more_posts',
shrt_param : shrt_param,
paged : paged,
count : 0
};
$.post(Bdpp.ajax_url, data, function(result) {
if( result.status == 1 && result.data != '' ) {
if( masonry ) {
var obj_id = cls_ele.attr('id');
var msnry_id = $('#'+obj_id+' .bdpp-post-masonry-inr-wrap');
var $content = $( result.data );
$content.hide();
msnry_id.html($content).imagesLoaded(function() {
$content.show();
msnry_id.masonry('reloadItems');
msnry_id.masonry( 'layout' );
});
} else {
cnt_ele.html( result.data );
}
} else if(result.data == '') {
current_obj.closest('.bdpp-paging').hide();
var msg_info = '
'+Bdpp.no_post_found_msg+'
';
cnt_ele.after( msg_info );
setTimeout(function() {
$(".bdpp-info").fadeOut("normal", function() {
$(this).remove();
});
}, 3000 );
}
bdpp_tooltip();
btn.removeClass('bdpp-ajax-disabled');
current_obj.find('.bdpp-loader').hide();
if( paged == 1 ) {
current_obj.find('.bdpp-ajax-prev-page').addClass('bdpp-ajax-disabled');
} else if( result.last_page == 1 ) {
current_obj.find('.bdpp-ajax-next-page').addClass('bdpp-ajax-disabled');
}
});
});
});
/* Infinite Pagination */
$( '.bdpp-post-infinite-pagi' ).each(function( index ) {
var current_obj = $(this);
var cls_ele = current_obj.closest('.bdpp-post-data-wrap');
var cnt_ele = current_obj.closest('.bdpp-post-data-wrap').find('.bdpp-post-data-inr-wrap');
var shrt_param = current_obj.attr('data-conf');
var paged = current_obj.attr('data-paged');
if( cls_ele.hasClass('bdpp-post-masonry-wrap') ) {
var masonry = true;
} else {
var masonry = false;
}
$(this).on('inf_inview', function (event, visible) {
if (visible == true) {
if( current_obj.hasClass('bdpp-infinite-disabled') ) {
return false;
}
current_obj.addClass('bdpp-infinite-disabled');
current_obj.find('.bdpp-loader').css('display', 'inline-block');
paged = paged ? ( parseInt(paged) + 1) : 2;
var data = {
action : 'bdpp_load_more_posts',
shrt_param : shrt_param,
paged : paged,
count : current_obj.attr('data-count')
};
$.post(Bdpp.ajax_url, data, function(result) {
if( result.status == 1 && result.data != '' ) {
if( masonry ) {
var obj_id = cls_ele.attr('id');
var msnry_id = $('#'+obj_id+' .bdpp-post-masonry-inr-wrap');
var $content = $( result.data );
$content.hide();
msnry_id.append($content).imagesLoaded(function() {
$content.show();
msnry_id.append( $content ).masonry( 'appended', $content );
});
} else {
cnt_ele.append( result.data );
current_obj.attr( 'data-count', result.count );
}
if( result.last_page == 1 ) {
current_obj.closest('.bdpp-paging').hide();
}
} else if(result.data == '') {
current_obj.closest('.bdpp-paging').hide();
var msg_info = '
'+Bdpp.no_post_found_msg+'
';
cnt_ele.after( msg_info );
setTimeout(function() {
$(".bdpp-info").fadeOut("normal", function() {
$(this).remove();
});
}, 3000 );
}
bdpp_tooltip();
current_obj.find('.bdpp-loader').hide();
current_obj.removeClass('bdpp-infinite-disabled');
});
}
});
});
/* Infinite Pagination Ends */
/* Load More Start */
$( '.bdpp-term-load-more' ).each(function( index ) {
var current_obj = $(this);
var cls_ele = current_obj.closest('.bdpp-term-data-wrap');
var cnt_ele = current_obj.closest('.bdpp-term-data-wrap').find('.bdpp-term-data-inr-wrap');
var shrt_param = current_obj.attr('data-conf');
var paged = current_obj.attr('data-paged');
if( cls_ele.hasClass('bdpp-term-masonry-wrap') ) {
var masonry = true;
} else {
var masonry = false;
}
$(this).on("click", function() {
if( $(this).hasClass('bdpp-load-more-disabled') ) {
return false;
}
current_obj.addClass('bdpp-load-more-disabled');
current_obj.find('.bdpp-load-more-icon').hide();
current_obj.find('.bdpp-loader').css('display', 'inline-block');
paged = paged ? ( parseInt(paged) + 1) : 2;
var data = {
action : 'bdpp_load_more_',
shrt_param : shrt_param,
paged : paged,
count : current_obj.attr('data-count')
};
$.post(Bdpp.ajax_url, data, function(result) {
if( result.status == 1 && result.data != '' ) {
if( masonry ) {
var obj_id = cls_ele.attr('id');
var msnry_id = $('#'+obj_id+' .bdpp-term-masonry-inr-wrap');
var $content = $( result.data );
$content.hide();
msnry_id.append($content).imagesLoaded(function() {
$content.show();
msnry_id.append( $content ).masonry( 'appended', $content );
});
} else {
cnt_ele.append( result.data );
current_obj.attr( 'data-count', result.count );
}
if( result.last_page == 1 ) {
current_obj.closest('.bdpp-paging').hide();
}
} else if(result.data == '') {
current_obj.closest('.bdpp-paging').hide();
var msg_info = '
'+Bdpp.no_term_found_msg+'
';
cnt_ele.after( msg_info );
setTimeout(function() {
$(".bdpp-info").fadeOut("normal", function() {
$(this).remove();
});
}, 3000 );
}
bdpp_tooltip();
current_obj.find('.bdpp-load-more-icon').show();
current_obj.find('.bdpp-loader').hide();
current_obj.removeClass('bdpp-load-more-disabled');
});
});
});
/* Load More Ends */
/* Taxonomy Numeric Ajax Start */
$( '.bdpp-numeric-term-ajax' ).each(function( index ) {
var current_obj = $(this);
var btn = current_obj.find('.page-numbers');
var cls_ele = current_obj.closest('.bdpp-term-data-wrap');
var cnt_ele = current_obj.closest('.bdpp-term-data-wrap').find('.bdpp-term-data-inr-wrap');
var cls_id = cls_ele.attr('id');
var shrt_param = current_obj.attr('data-conf');
if( cls_ele.hasClass('bdpp-term-masonry-wrap') ) {
var masonry = true;
} else {
var masonry = false;
}
$('#'+cls_id).on("click", '.bdpp-numeric-term-ajax .page-numbers', function() {
var btn_href = $(this).attr('href');
if( typeof(btn_href) == 'undefined' || btn_href == '' ) {
return false;
}
if( $(this).hasClass('bdpp-ajax-disabled') ) {
return false;
}
btn.addClass('bdpp-ajax-disabled');
cls_ele.find('.bdpp-loader').css('display', 'inline-block');
var data = {
action : 'bdpp_load_more_',
pagination_type : 'numeric-ajax',
shrt_param : shrt_param,
href : btn_href,
count : 0
};
$.post(Bdpp.ajax_url, data, function(result) {
if( result.status == 1 && result.data != '' ) {
if( masonry ) {
var obj_id = cls_ele.attr('id');
var msnry_id = $('#'+obj_id+' .bdpp-term-masonry-inr-wrap');
var $content = $( result.data );
$content.hide();
msnry_id.html($content).imagesLoaded(function() {
$content.show();
msnry_id.masonry('reloadItems');
msnry_id.masonry( 'layout' );
});
} else {
cnt_ele.html( result.data );
}
current_obj.html( result.pagination_html );
} else if(result.data == '') {
current_obj.closest('.bdpp-paging').hide();
var msg_info = '
'+Bdpp.no_term_found_msg+'
';
cnt_ele.after( msg_info );
setTimeout(function() {
$(".bdpp-info").fadeOut("normal", function() {
$(this).remove();
});
}, 3000 );
}
btn.removeClass('bdpp-ajax-disabled');
cls_ele.find('.bdpp-loader').hide();
});
return false;
});
});
/* Taxonomy Numeric Ajax End */
/* Taxonomy Prev - Next Ajax Start */
$( '.bdpp-prev-next-term-ajax' ).each(function( index ) {
var current_obj = $(this);
var btn = current_obj.find('.bdpp-ajax-pagi-btn');
var cls_ele = current_obj.closest('.bdpp-term-data-wrap');
var cnt_ele = current_obj.closest('.bdpp-term-data-wrap').find('.bdpp-term-data-inr-wrap');
var shrt_param = current_obj.attr('data-conf');
var paged = current_obj.attr('data-paged');
if( cls_ele.hasClass('bdpp-term-masonry-wrap') ) {
var masonry = true;
} else {
var masonry = false;
}
btn.on("click", function() {
if( $(this).hasClass('bdpp-ajax-disabled') ) {
return false;
}
btn.addClass('bdpp-ajax-disabled');
current_obj.find('.bdpp-loader').css('display', 'inline-block');
if( $(this).hasClass('bdpp-ajax-prev-page') ) {
var type = 'prev';
paged = paged ? ( parseInt(paged) - 1 ) : 1;
} else {
var type = 'next';
paged = paged ? ( parseInt(paged) + 1 ) : 2;
}
paged = ( paged > 0 ) ? paged : 1;
var data = {
action : 'bdpp_load_more_',
shrt_param : shrt_param,
paged : paged,
count : 0
};
$.post(Bdpp.ajax_url, data, function(result) {
if( result.status == 1 && result.data != '' ) {
if( masonry ) {
var obj_id = cls_ele.attr('id');
var msnry_id = $('#'+obj_id+' .bdpp-term-masonry-inr-wrap');
var $content = $( result.data );
$content.hide();
msnry_id.html($content).imagesLoaded(function() {
$content.show();
msnry_id.masonry('reloadItems');
msnry_id.masonry( 'layout' );
});
} else {
cnt_ele.html( result.data );
}
} else if(result.data == '') {
current_obj.closest('.bdpp-paging').hide();
var msg_info = '
'+Bdpp.no_term_found_msg+'
';
cnt_ele.after( msg_info );
setTimeout(function() {
$(".bdpp-info").fadeOut("normal", function() {
$(this).remove();
});
}, 3000 );
}
btn.removeClass('bdpp-ajax-disabled');
current_obj.find('.bdpp-loader').hide();
if( paged == 1 ) {
current_obj.find('.bdpp-ajax-prev-page').addClass('bdpp-ajax-disabled');
} else if( result.last_page == 1 ) {
current_obj.find('.bdpp-ajax-next-page').addClass('bdpp-ajax-disabled');
}
});
});
});
/* Taxonomy Prev - Next Ajax End */
/* Term Infinite Pagination Start */
$( '.bdpp-term-infinite-pagi' ).each(function( index ) {
var current_obj = $(this);
var cls_ele = current_obj.closest('.bdpp-term-data-wrap');
var cnt_ele = current_obj.closest('.bdpp-term-data-wrap').find('.bdpp-term-data-inr-wrap');
var shrt_param = current_obj.attr('data-conf');
var paged = current_obj.attr('data-paged');
if( cls_ele.hasClass('bdpp-term-masonry-wrap') ) {
var masonry = true;
} else {
var masonry = false;
}
$(this).on('inf_inview', function (event, visible) {
if (visible == true) {
if( current_obj.hasClass('bdpp-infinite-disabled') ) {
return false;
}
current_obj.addClass('bdpp-infinite-disabled');
current_obj.find('.bdpp-loader').css('display', 'inline-block');
paged = paged ? ( parseInt(paged) + 1) : 2;
var data = {
action : 'bdpp_load_more_',
shrt_param : shrt_param,
paged : paged,
count : current_obj.attr('data-count')
};
$.post(Bdpp.ajax_url, data, function(result) {
if( result.status == 1 && result.data != '' ) {
if( masonry ) {
var obj_id = cls_ele.attr('id');
var msnry_id = $('#'+obj_id+' .bdpp-term-masonry-inr-wrap');
var $content = $( result.data );
$content.hide();
msnry_id.append($content).imagesLoaded(function() {
$content.show();
msnry_id.append( $content ).masonry( 'appended', $content );
});
} else {
cnt_ele.append( result.data );
current_obj.attr( 'data-count', result.count );
}
if( result.last_page == 1 ) {
current_obj.closest('.bdpp-paging').hide();
}
} else if(result.data == '') {
current_obj.closest('.bdpp-paging').hide();
var msg_info = '
'+Bdpp.no_term_found_msg+'
';
cnt_ele.after( msg_info );
setTimeout(function() {
$(".bdpp-info").fadeOut("normal", function() {
$(this).remove();
});
}, 3000 );
}
bdpp_tooltip();
current_obj.find('.bdpp-loader').hide();
current_obj.removeClass('bdpp-infinite-disabled');
});
}
});
});
/* Term Infinite Pagination Ends */
/* Creative Design 1 */
$(document).on('mouseover touchstart', '.bdpp-post-ctv1-wrap .bdpp-post-grid', function() {
var cls_ele = $(this).closest('.bdpp-post-ctv1-wrap');
var bg_no = $(this).attr('data-count');
var bg_img = $(this).attr('data-bg');
if( ! cls_ele.find('.bdpp-post-ctv1-thumb-'+bg_no).hasClass('bdpp-post-ctv1-thumb-active') ) {
if( bg_img ) {
cls_ele.find('.bdpp-post-ctv1-thumb-'+bg_no).css('background-image', 'url(' + bg_img + ')');
}
cls_ele.find('.bdpp-post-ctv1-thumb').stop().fadeOut().removeClass('bdpp-post-ctv1-thumb-active');
cls_ele.find('.bdpp-post-ctv1-thumb-'+bg_no).stop().fadeIn().addClass('bdpp-post-ctv1-thumb-active');
}
});
/* Window Resize Function Start */
$(window).on( "resize", function() {
Bdpp_Window_Resise();
});
/* Window Resize Function Ends */
})( jQuery );
/* Slider */
function bdpp_init_post_slider() {
jQuery( '.bdpp-post-slider-wrap' ).each(function( index ) {
var slider_id = jQuery(this).attr('id');
var slider = jQuery('#'+slider_id);
var thumbnail = jQuery(this).parent().find('.bdpp-thumb-slider');
var conf = JSON.parse( jQuery(this).attr('data-conf') );
var hash = location.hash;
var flag = false;
slider.owlCarousel({
loop : conf.loop,
margin : parseInt(conf.slide_margin),
items : 1,
nav : conf.arrows,
dots : conf.dots,
autoplay : conf.autoplay,
startPosition : (conf.url_hash_listener && hash != '') ? 'URLHash' : parseInt(conf.start_position),
lazyLoad : conf.lazyload,
lazyLoadEager : ( conf.lazyload ) ? 1 : 0,
autoplayTimeout : parseInt( conf.autoplay_interval ),
autoplaySpeed : (conf.speed == 'false') ? false : parseInt( conf.speed ),
autoHeight : conf.auto_height,
URLhashListener : conf.url_hash_listener,
navText : conf.nav_text,
stagePadding : conf.stage_padding,
navElement : 'span',
rtl : ( Bdpp.is_rtl == 1 ) ? true : false,
autoplayHoverPause : conf.autoplay_hover_pause,
});
/* Slider Thumbnail */
if( conf.show_thumbnail ) {
thumbnail.on('initialized.owl.carousel', function(e) {
bdpp_set_current_thumb( e, parseInt(conf.start_position) );
}).owlCarousel({
nav : false,
navText : false,
dots : false,
navRewind : false,
items : 7,
margin : 10,
lazyLoad : conf.lazyload,
lazyLoadEager : ( conf.lazyload ) ? 1 : 0,
startPosition : (conf.url_hash_listener && hash != '') ? 'URLHash' : parseInt(conf.start_position),
rtl : ( Bdpp.is_rtl == 1 ) ? true : false,
responsiveClass : true,
responsive:{
0:{
items : ( conf.thumbnail < 2 ) ? conf.thumbnail : 2,
},
376:{
items : ( conf.thumbnail < 3 ) ? conf.thumbnail : 3,
},
568:{
items : ( conf.thumbnail < 5 ) ? conf.thumbnail : 5,
},
812:{
items : ( conf.thumbnail < 6 ) ? conf.thumbnail : 6,
},
1023:{
items : conf.thumbnail,
}
}
});
slider.on('changed.owl.carousel', function(e) {
var target = e.relatedTarget.relative(e.property.value, true);
if ( ! flag ) {
flag = true;
thumbnail.trigger('to.owl.carousel', [target, parseInt( conf.speed ), true]);
flag = false;
}
bdpp_set_current_thumb(e, false);
});
thumbnail.on('changed.owl.carousel', function (e) {
if ( ! flag ) {
flag = true;
jQuery(slider).trigger('to.owl.carousel', e.item.index, parseInt( conf.speed ), true);
flag = false;
}
}).on('click', '.owl-item', function (e) {
e.preventDefault();
jQuery(slider).trigger('to.owl.carousel', jQuery(this).index(), parseInt( conf.speed ), true);
});
}
/* Set current thumbnail for slider */
function bdpp_set_current_thumb(e, current) {
var current = current ? current : e.relatedTarget.relative(e.item.index);
var items = thumbnail.find('.owl-stage').children();
items.removeClass('bdpp-current-thumb');
items.eq(e.relatedTarget.normalize(current)).toggleClass('bdpp-current-thumb');
}
});
}
/* Carousel Slider */
function bdpp_init_post_carousel() {
jQuery( '.bdpp-post-carousel-wrap' ).each(function( index ) {
var carousel_id = jQuery(this).attr('id');
var conf = JSON.parse( jQuery(this).attr('data-conf') );
var hash = location.hash;
var items = parseInt( conf.slide_show );
var slide_scroll = parseInt( conf.slide_scroll );
jQuery('#'+carousel_id).owlCarousel({
items : items,
loop : conf.loop,
slideBy : slide_scroll,
margin : parseInt( conf.slide_margin ),
nav : conf.arrows,
dots : conf.dots,
autoplay : conf.autoplay,
startPosition : (conf.url_hash_listener && hash != '') ? 'URLHash' : parseInt(conf.start_position),
lazyLoad : conf.lazyload,
lazyLoadEager : ( conf.lazyload ) ? 1 : 0,
autoplayTimeout : parseInt( conf.autoplay_interval ),
autoplaySpeed : (conf.speed == 'false') ? false : parseInt( conf.speed ),
URLhashListener : conf.url_hash_listener,
navText : conf.nav_text,
stagePadding : conf.stage_padding,
center : conf.center,
autoHeight : conf.auto_height,
navElement : 'span',
rtl : ( Bdpp.is_rtl == 1 ) ? true : false,
autoplayHoverPause : conf.autoplay_hover_pause,
responsiveClass : true,
responsive:{
0:{
items : 1,
slideBy : 1,
dots : false,
stagePadding: 0,
},
568:{
slideBy : ( slide_scroll >= 2 ) ? 2 : slide_scroll,
items : ( items >= 2 ) ? 2 : items,
stagePadding: 0,
},
768:{
slideBy : ( slide_scroll >= 2 ) ? 2 : slide_scroll,
items : ( items >= 2 ) ? 2 : items,
},
1024:{
slideBy : ( slide_scroll >= 3 ) ? 3 : slide_scroll,
items : ( items >= 3 ) ? 3 : items,
},
1100:{
slideBy : slide_scroll,
items : items,
}
}
});
});
}
/* GridBox Slider */
function bdpp_init_post_gridbox_slider() {
jQuery( '.bdpp-gridbox-slider-wrap' ).each(function( index ) {
var slider_id = jQuery(this).attr('id');
var conf = JSON.parse( jQuery(this).attr('data-conf') );
var hash = location.hash;
jQuery('#'+slider_id).owlCarousel({
loop : conf.loop,
margin : parseInt(conf.slide_margin),
items : 1,
nav : conf.arrows,
dots : conf.dots,
autoplay : conf.autoplay,
startPosition : (conf.url_hash_listener && hash != '') ? 'URLHash' : parseInt(conf.start_position),
lazyLoad : conf.lazyload,
lazyLoadEager : ( conf.lazyload ) ? 1 : 0,
autoplayTimeout : parseInt( conf.autoplay_interval ),
autoplaySpeed : (conf.speed == 'false') ? false : parseInt( conf.speed ),
URLhashListener : conf.url_hash_listener,
navText : conf.nav_text,
autoHeight : conf.auto_height,
stagePadding : conf.stage_padding,
navElement : 'span',
rtl : ( Bdpp.is_rtl == 1 ) ? true : false,
autoplayHoverPause : conf.autoplay_hover_pause,
});
});
}
/* Ticker */
function bdpp_init_post_ticker() {
jQuery( '.bdpp-ticker-wrp' ).each(function( index ) {
var ticker_id = jQuery(this).attr('id');
var ticker_conf = JSON.parse( jQuery(this).attr('data-conf') );
if( typeof(ticker_id) != 'undefined' && ticker_id != '' ) {
jQuery("#"+ticker_id).breakingNews({
effect : ticker_conf.ticker_effect,
play : ticker_conf.autoplay,
scrollSpeed : parseInt(ticker_conf.scroll_speed),
stopOnHover : ticker_conf.hover_stop,
position : ticker_conf.position,
delayTimer : parseInt(ticker_conf.speed),
height : parseInt(ticker_conf.height),
borderWidth : 2,
radius : '0px',
direction : ( Bdpp.is_rtl == 1 ) ? "rtl" : "ltr",
});
}
});
}
/* Taxonomy Slider */
function bdpp_init_cat_slider() {
jQuery( '.bdpp-term-slider-wrap' ).each(function( index ) {
var carousel_id = jQuery(this).attr('id');
var conf = JSON.parse( jQuery(this).attr('data-conf') );
var hash = location.hash;
var items = parseInt( conf.slide_show );
var slide_scroll = parseInt( conf.slide_scroll );
jQuery('#'+carousel_id).owlCarousel({
items : items,
loop : conf.loop,
slideBy : slide_scroll,
margin : parseInt( conf.slide_margin ),
nav : conf.arrows,
dots : conf.dots,
autoplay : conf.autoplay,
startPosition : (conf.url_hash_listener && hash != '') ? 'URLHash' : parseInt(conf.start_position),
lazyLoad : conf.lazyload,
lazyLoadEager : ( conf.lazyload ) ? 1 : 0,
autoplayTimeout : parseInt( conf.autoplay_interval ),
autoplaySpeed : (conf.speed == 'false') ? false : parseInt( conf.speed ),
URLhashListener : conf.url_hash_listener,
navText : conf.nav_text,
stagePadding : conf.stage_padding,
center : conf.center,
autoHeight : conf.auto_height,
navElement : 'span',
rtl : ( Bdpp.is_rtl == 1 ) ? true : false,
autoplayHoverPause : conf.autoplay_hover_pause,
responsiveClass : true,
responsive:{
0:{
items : 1,
slideBy : 1,
dots : false,
},
568:{
slideBy : ( slide_scroll >= 2 ) ? 2 : slide_scroll,
items : ( items >= 2 ) ? 2 : items,
},
768:{
items : items,
}
}
});
});
}
/* Masonry */
function bdpp_init_post_masonry() {
jQuery('.bdpp-post-masonry-wrap').each(function( index ) {
var obj_id = jQuery(this).attr('id');
var msnry_id = jQuery('#'+obj_id+' .bdpp-post-masonry-inr-wrap');
/* Creating object */
var masonry_param_obj = {itemSelector: '.bdpp-post-grid'};
if( !jQuery(this).hasClass('bdpp-effect-1') ) {
masonry_param_obj['transitionDuration'] = 0;
}
msnry_id.imagesLoaded(function() {
msnry_id.masonry(masonry_param_obj);
});
});
}
/* Widget Slider */
function bdpp_init_widget_slider() {
jQuery( '.bdpp-post-slider-wdgt' ).each(function( index ) {
var slider_id = jQuery(this).attr('id');
var conf = JSON.parse( jQuery(this).attr('data-conf') );
jQuery('#'+slider_id).owlCarousel({
loop : conf.loop,
items : 1,
nav : conf.arrows,
dots : conf.dots,
autoplay : conf.autoplay,
lazyLoad : conf.lazyload,
lazyLoadEager : ( conf.lazyload ) ? 1 : 0,
autoplayTimeout : parseInt( conf.autoplay_interval ),
autoplaySpeed : (conf.speed == 'false') ? false : parseInt( conf.speed ),
autoHeight : conf.auto_height,
navElement : 'span',
rtl : ( Bdpp.is_rtl == 1 ) ? true : false,
autoplayHoverPause : conf.autoplay_hover_pause,
});
});
}
/* Vertical Scrolling Widget */
function bdpp_init_vertical_scrolling_wdgt() {
jQuery( '.bdpp-post-scroling-wdgt-js' ).each(function( index ) {
var ticker_id = jQuery(this).attr('id');
var conf = JSON.parse( jQuery(this).attr('data-conf') );
if( typeof(ticker_id) != 'undefined' && ticker_id != '' ) {
var ticker = jQuery('#'+ticker_id+' .bdpp-vticker-scroling-wdgt-js').easyTicker({
easing : 'swing',
direction : conf.direction,
height : conf.height,
speed : parseInt(conf.speed),
interval : parseInt(conf.pause),
visible : parseInt(conf.show_items),
mousePause : conf.autoplay_hover_pause,
autoplay : conf.autoplay,
controls : {
up : '#'+ticker_id+' .bdpp-btn-up',
down : '#'+ticker_id+' .bdpp-btn-down',
}
});
if( ! conf.autoplay ) {
var TickerObj = ticker.data('easyTicker');
TickerObj.stop();
}
}
});
}
/* Tooltip */
function bdpp_tooltip() {
if( jQuery('.bdpp-tooltip:not(.tooltipstered)').length > 0 ) {
jQuery('.bdpp-tooltip:not(.tooltipstered)').each( function() {
var tooltip_trigger = jQuery(this).attr('data-trigger');
var tooltip_cnt = jQuery(this).attr('data-tooltip-content');
var tooltip_theme = jQuery(this).attr('data-tooltip-theme');
var tooltip_side = jQuery(this).attr('data-tooltip-side');
var tooltip_min_width = jQuery(this).attr('data-tooltip-min-width');
tooltip_cnt = ( jQuery('#'+tooltip_cnt).length > 0 ) ? jQuery('#'+tooltip_cnt) : jQuery(this).parent().find('.bdpp-tooltip-cnt');
tooltip_theme = tooltip_theme ? tooltip_theme : 'bdpp-tooltipster tooltipster-noir';
tooltip_side = tooltip_side ? tooltip_side : 'top';
tooltip_min_width = tooltip_min_width ? tooltip_min_width : false;
tooltip_trigger = tooltip_trigger ? tooltip_trigger : 'hover';
jQuery(this).tooltipster({
maxWidth: 300,
content: tooltip_cnt,
contentCloning: true,
animation: 'fade',
theme: tooltip_theme,
interactive: true,
repositionOnScroll: true,
minWidth: tooltip_min_width,
side:tooltip_side,
trigger: ( Bdpp.is_mobile == 1 ) ? 'click' : tooltip_trigger,
});
});
}
}
/* Resize Function */
function Bdpp_Window_Resise() {
var window_width = jQuery(window).width();
jQuery( '.bdpp-post-ctv1-wrap' ).each(function( index ) {
var slider_screen = jQuery(this).attr('data-slider-screen');
slider_screen = slider_screen ? slider_screen : 640;
if( window_width <= slider_screen ) {
jQuery(this).find( '.bdpp-post-grid' ).each(function( index ) {
var bg_img = jQuery(this).attr('data-bg');
if( bg_img ) {
jQuery(this).css('background-image', 'url(' + bg_img + ')');
}
});
} else {
jQuery(this).find( '.bdpp-post-grid' ).css('background-image', '');
}
});
}