| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/members.shylaj.com/public_html/custom_assets/js/ |
Upload File : |
jQuery(function($) {
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
if( $('#banner-fade').length > 0 ){
$('#banner-fade').bjqs({
height : 414,
width : 1170,
responsive : true
});
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
var owl1 = $("#owl-videos");
var owl2 = $("#owl-photos");
var owl3 = $("#owl-models");
var owl4 = $("#owl-upcoming");
owl1.owlCarousel({
items : 1, //10 items above 1000px browser width
itemsDesktop : [1000,1], //5 items between 1000px and 901px
itemsDesktopSmall : [900,1], // 3 items betweem 900px and 601px
itemsTablet: [600,1], //2 items between 600 and 0;
itemsMobile : [480,1] // itemsMobile disabled - inherit from itemsTablet option
});
owl2.owlCarousel({
items : 1, //10 items above 1000px browser width
itemsDesktop : [1000,1], //5 items between 1000px and 901px
itemsDesktopSmall : [900,1], // 3 items betweem 900px and 601px
itemsTablet: [600,1], //2 items between 600 and 0;
itemsMobile : [480,1], // itemsMobile disabled - inherit from itemsTablet option
navigation : true,
navigationText : ["prev2","next2"],
});
owl3.owlCarousel({
items : 3, //10 items above 1000px browser width
itemsDesktop : [1000,2], //5 items between 1000px and 901px
itemsDesktopSmall : [900,2], // 3 items betweem 900px and 601px
itemsTablet: [600,2], //2 items between 600 and 0;
itemsMobile : [480,1], // itemsMobile disabled - inherit from itemsTablet option
navigation : true,
navigationText : ["prev3","next3"],
});
owl4.owlCarousel({
items : 3, //10 items above 1000px browser width
itemsDesktop : [1000,3], //5 items between 1000px and 901px
itemsDesktopSmall : [900,2], // 3 items betweem 900px and 601px
itemsTablet: [600,2], //2 items between 600 and 0;
itemsMobile : [480,1], // itemsMobile disabled - inherit from itemsTablet option
navigation : true,
navigationText : ["prev4","next4"],
});
// Custom Navigation Events for OWL CAROUSEL
$(".next").click(function(){ owl1.trigger('owl.next'); });
$(".prev").click(function(){ owl1.trigger('owl.prev'); });
$(".next").click(function(){ owl2.trigger('owl.next'); });
$(".prev").click(function(){ owl2.trigger('owl.prev'); });
$(".next").click(function(){ owl3.trigger('owl.next'); });
$(".prev").click(function(){ owl3.trigger('owl.prev'); });
$(".next").click(function(){ owl4.trigger('owl.next'); });
$(".prev").click(function(){ owl4.trigger('owl.prev'); });
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
$(".modeldeta").hide();
if( $(window).width() > 768 ) {
$(".model").hover(function(){
$(this).find(".modeldeta").stop().fadeIn();
}, function(){
$(this).find(".modeldeta").stop().fadeOut();
});
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - */
// only trigger on HOMEPAGE!
function getLatestVideos(){
if($('.getlatestvideos').length > 0) {
$('.getlatestvideos').empty();
var domain = document.domain;
var targetURL = 'http://'+domain;
$('.getlatestvideos').addClass('loading');
$('.getlatestvideos').load('categories/movies/1/latest/ .modelfeature.grabthis', function(){ $('.getlatestvideos').removeClass('loading'); StdImageHandler(); } );
}
}
getLatestVideos();
function getLatestPhotos(){
if($('.getlatestphotos').length > 0) {
$('.getlatestphotos').empty();
var domain = document.domain;
var targetURL = 'http://'+domain;
$('.getlatestphotos').addClass('loading');
$('.getlatestphotos').load('categories/photos/1/latest/ .latestphotobox.grabthis', function(){ $('.getlatestphotos').removeClass('loading'); StdImageHandler(); });
}
}
getLatestPhotos();
/* - - - - - - - - - - - - - - - - - - - - - - - - - - */
});
jQuery(window).ready(function($) {
$('#topnav').ReSmenu({ maxWidth: 1023 });
if( $('.pgwMenu').length > 0 ){
$('.pgwMenu').pgwMenu({
dropDownLabel: 'Categories'
});
}
});
$(window).load(function () {
var interv;
var ax = [];
var idx = "";
this.stdthis = function(){
cnt = $('#'+idx).attr('cnt');
v = $('#'+idx).attr('v');
v = parseInt(v);
v = (v + 1) % cnt;
sr = ax[v]
$('#'+idx).attr('v', v);
$('#'+idx).attr('src', sr);
}
this.TourStdImageHandler = function(){
imgs = [];
$(".stdimage").ready(function() {
$(".stdimage").each(function() {
cnt = $(this).attr('cnt')
if (cnt < 2) { return; }
/*for(c=0; c < cnt; c++) {
itr = imgs.length;
var newImage = $(this).attr('src' + c);
$(this).attr('src', newImage);
}*/
});
});
$(".stdimage").hover(function(e){
cnt = $(this).attr('cnt')
idx = $(this).attr('id')
if (cnt < 2){ return; }
v = $(this).attr('v')
v = parseInt(v);
v = (v + 1) % cnt;
ax = []
for(c=0; c < cnt; c++)
{
ax[c] = $(this).attr('src' + c + '_1x')
}
$(this).attr('v', v);
$(this).attr('src', ax[v])
interv = setInterval("this.stdthis()", 800);
},
function(e){
cnt = $(this).attr('cnt')
if (cnt < 2) { return; }
$(this).attr('v' ,0);
$(this).attr('src', $(this).attr('src0_1x'))
clearInterval(interv)
interv = 0;
idx = "";
});
}
TourStdImageHandler();
});