| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /www/data/wwwroot/2026_06_02_02/skin/js/ |
Upload File : |
/*
| ----------------------------------------------------------------------------------
| TABLE OF CONTENT
| ----------------------------------------------------------------------------------
1. Setting
2. Icon Hovered
3. Waypoint Animated
4. Price Range
5. Camera Slider
6. Scroll Top
7. Carousels All
8. Paralax
9. Slider Product
10. Flickr
11. Fancybox
12. Contact Form
*/
$(document).ready(function() {
"use strict";
/////////////////////////////////////////////////////////////////
// SETTING
/////////////////////////////////////////////////////////////////
var windowHeight = $(window).height();
var windowWidth = $(window).width();
$('ul li:last-child').addClass('li-last');
var windowWidth = $(window).width();
var tabletWidth = 767;
var mobileWidth = 640;
/////////////////////////////////////
// BX CAROUSELS
/////////////////////////////////////
/*function carouselReload (){
$(".bxslider").each(function (i) {
var widthslides = $(this).data("width-slides");
var marginslides = $(this).data("margin-slides");
var autoslides = $(this).data("auto-slides");
var moveslides = $(this).data("move-slides");
var infiniteslides = $(this).data("infinite-slides");
var maxslides = $(this).data("max-slides");
var minslides = $(this).data("min-slides");
$(this).bxSlider({
slideWidth: widthslides ,
minSlides: minslides,
maxSlides: maxslides,
slideMargin: marginslides,
auto: false,
moveSlides: moveslides,
infiniteLoop: false,
hideControlOnEnd: true
});
$('.bx-next').html(' <i class="fa fa-angle-right"></i>')
$('.bx-prev').html(' <i class="fa fa-angle-left"></i>')
});
}
carouselReload ();*/
/////////////////////////////////////
// Zoom Images
/////////////////////////////////////
$("a.magnific").magnificPopup({
type: 'image'
});
$("a.prettyphoto").prettyPhoto();
////////////////////////////////////////////
// CAROUSEL PRODUCTS
///////////////////////////////////////////
if ($('#slider-product').length > 0) {
$('#carousel').flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
slideshow: false,
itemWidth: 105,
itemMargin: 4,
asNavFor: '#slider-product'
});
$('#slider-product').flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
slideshow: false,
sync: "#carousel"
});
}
////////////////////////////////////////////
// PARALAX
///////////////////////////////////////////
$(window).scroll(function(e) {
parallax();
});
function parallax() {
var scrolled = $(window).scrollTop();
$('.bg-section').css('top', -(scrolled * 0.3) + 'px');
}
if (windowWidth < mobileWidth) {
/////////////////////////////////////
// Disable Mobile Animated
/////////////////////////////////////
$("body").removeClass("animated-css");
}
$('.animated-css .animated:not(.animation-done)').waypoint(function() {
var animation = $(this).data('animation');
$(this).addClass('animation-done').addClass(animation);
}, {
triggerOnce: true,
offset: '90%'
});
////////////////////////////////////////////
// HOME SLIDER
///////////////////////////////////////////
if ($('#iview').length > 0) {
$('#iview').iView({
pauseTime: 6000,
pauseOnHover: false,
directionNavHoverOpacity: 0,
timer: "Bar",
timerDiameter: "20%",
timerPadding: 0,
timerStroke: 0,
timerBarStroke: 0,
timerColor: "#FFF",
timerPosition: "bottom-right",
nextLabel: "",
previousLabel: "",
});
}
/////////////////////////////////////////////////////////////////
// Dropdown Menu Fade
/////////////////////////////////////////////////////////////////
$(".dropdown").hover(
function() {
$('.dropdown-menu', this).stop( true, true ).slideDown("fast");
$(this).toggleClass('open');
},
function() {
$('.dropdown-menu', this).stop( true, true ).slideUp("fast");
$(this).toggleClass('open');
}
);
$(".yamm .navbar-nav>li").hover(
function() { $('.dropdown-menu', this).fadeIn("fast");
},
function() { $('.dropdown-menu', this).fadeOut("fast");
});
window.prettyPrint && prettyPrint()
$(document).on('click', '.yamm .dropdown-menu', function(e) {
e.stopPropagation()
})
//////////////////////////////
// Animated Entrances
//////////////////////////////
if (windowWidth > 1200) {
$(window).scroll(function() {
$('.animatedEntrance').each(function() {
var imagePos = $(this).offset().top;
var topOfWindow = $(window).scrollTop();
if (imagePos < topOfWindow + 400) {
$(this).addClass("slideUp"); // slideUp, slideDown, slideLeft, slideRight, slideExpandUp, expandUp, fadeIn, expandOpen, bigEntrance, hatch
}
});
});
}
/////////////////////////////////////
// SCROLL TOP
/////////////////////////////////////
if ($('body').length) {
$(window).on('scroll', function() {
var winH = $(window).scrollTop();
if (winH > 500) {
$(".scroll-top").addClass('scroll-top-view');
} else {
$(".scroll-top").removeClass('scroll-top-view');
}
});
}
$('.scroll-top').click(function(event) {
event.preventDefault();
$('html, body').animate({
scrollTop: 0
}, 300);
});
/////////////////////////////////////////////////////////////////
//PRICE RANGE
/////////////////////////////////////////////////////////////////
if ($('#slider-start').length > 0) {
$("#slider-start").noUiSlider({
start: [20, 80],
range: {
'min': [0],
'max': [100]
}
});
}
/////////////////////////////////////
// Chars Start
/////////////////////////////////////
/*if ($('body').length) {
$(window).on('scroll', function() {
var winH = $(window).scrollTop();
$('.featured-item-simple-icon').waypoint(function() {
$('.chart').each(function() {
CharsStart();
});
}, {
offset: '80%'
});
});
}*/
/*function CharsStart() {
$('.chart').easyPieChart({
barColor: false,
trackColor: false,
scaleColor: false,
scaleLength: false,
lineCap: false,
lineWidth: false,
size: false,
animate: 7000,
onStep: function(from, to, percent) {
$(this.el).find('.percent').text(Math.round(percent));
}
});
}*/
});
if(jQuery('.tp-banner-1')){
jQuery('.tp-banner-1').show().revolution({
delay:9000,
startwidth:1170,
startheight:500,//640
hideThumbs:10,
fullWidth:"on",
forceFullWidth:"on",
navigationStyle:"preview2"
});
}
jQuery(document).ready(function($) {
if("#iport-owl") {
$("#iport-owl .iport-owl-ul").owlCarousel({
loop:true,
margin:0,
items:4,
autoplay:false, //1.32为:autoPlay
controls:false, //1.32
navigation:false, //1.32
dots:true, //2.0
nav:false, //2.0
responsiveClass:true,
responsive:{
0:{
items:1,
},
430:{
items:2,
},
800:{
items:3,
},
1024:{
items:3,
},
1440:{
items:4,
},
1600:{
items:4,
}
}
});
/*var owl = $("#iport-owl .iport-owl-ul");
$(".iport-ctrl .bx-prev").click(function(){
//owl.trigger('owl.prev');
owl.trigger('prev.owl.carousel', [300]);
});
$(".iport-ctrl .bx-next").click(function(){
//owl.trigger('owl.next');
owl.trigger('next.owl.carousel', [300]);
});*/
}
if("#inews-owl") {
$("#inews-owl .inews-owl-ul").owlCarousel({
loop:true,
margin:0,
items:4,
autoplay:false, //1.32为:autoPlay
controls:false, //1.32
navigation:false, //1.32
dots:false, //2.0
nav:false, //2.0
responsiveClass:true,
responsive:{
0:{
items:1,
},
430:{
items:2,
},
800:{
items:3,
},
1024:{
items:3,
},
1440:{
items:4,
},
1600:{
items:4,
}
}
});
var owl2b = $("#inews-owl .inews-owl-ul");
$(".inews-ctrl .bx-prev").click(function(){
//owl.trigger('owl.prev');
owl2b.trigger('prev.owl.carousel', [300]);
});
$(".inews-ctrl .bx-next").click(function(){
//owl.trigger('owl.next');
owl2b.trigger('next.owl.carousel', [300]);
});
}
if("#iclient-owl") {
$("#iclient-owl .iclient-owl-ul").owlCarousel({
loop:true,
margin:0,
items:6,
autoplay:false, //1.32为:autoPlay
controls:false, //1.32
navigation:false, //1.32
dots:false, //2.0
nav:false, //2.0
responsiveClass:true,
responsive:{
0:{
items:2,
},
480:{
items:3,
},
767:{
items:4,
},
1024:{
items:4,
},
1440:{
items:5,
},
1600:{
items:6,
}
}
});
var owl2 = $("#iclient-owl .iclient-owl-ul");
$(".iclient-ctrl .bx-prev").click(function(){
//owl.trigger('owl.prev');
owl2.trigger('prev.owl.carousel', [300]);
});
$(".iclient-ctrl .bx-next").click(function(){
//owl.trigger('owl.next');
owl2.trigger('next.owl.carousel', [300]);
});
}
});