Server IP : 103.169.32.36 / Your IP : 216.73.217.108 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/dpmptsp/public_html/js/ |
Upload File : |
| Current File : /home/dpmptsp/public_html/js/init.js |
(function($) {
"use strict";
// Sticky menu
$(window).scroll(function () {
var mainmenu = jQuery("#header_main.sticky", "#header");
if (parseInt(mainmenu.attr("rel"),10) <= Math.abs(parseInt(jQuery(window).scrollTop()),10)) {
mainmenu.addClass("fixed");
} else {
mainmenu.removeClass("fixed");
}
});
// Center caption in wide slider
$(window).resize(function () {
centerTopLeft();
centerLeft();
});
$(window).load(function () {
centerTopLeft();
centerLeft();
});
function centerTopLeft()
{
var container = $(".wide_slider", "#wrapper");
var content = $(".wide_slider .slider_caption", "#wrapper");
content.css({
"left": ((container.width() - content.width()) / 2),
"top": ((container.height() - content.height()) / 2)
});
}
function centerLeft()
{
var container = $(".wide_slider", "#wrapper");
var content = $("#wide_slider_pager", "#wrapper");
content.css({
"left": ((container.width() - content.width()) / 2),
"bottom": "0"
});
}
$(document).ready(function(){
// Sticky menu
$("#header_main.sticky", "#header").wrap("<div class='header_main-parent'></div>").attr("rel", $("#header_main.sticky", "#header").offset().top).parent().height($("#header_main.sticky", "#header").height());
// Responsive top navigation
$(".top_navigation_toggle", "#header").on( "click", function() {
$(".top_navigation .menu", "#header").toggle();
$(this).toggleClass("active");
return false;
});
$(".top_sub_menu_toggle", "#header").on( "click", function() {
$(this).next(".sub-menu").toggle();
return false;
});
// Responsive site navigation
$(".site_navigation_toggle", "#header").on( "click", function() {
$(".site_navigation .menu", "#header").toggle();
$(this).toggleClass("active");
return false;
});
$(".site_sub_menu_toggle", "#header").on( "click", function() {
$(this).next(".sub-menu").toggle();
$(this).next(".dt_mega_menu").toggle();
$(this).next(".cart_content").toggle();
return false;
});
// Accordions
$(".accordion_content", "#wrapper").accordion({
collapsible: true,
heightStyle: "content",
icons: false,
active: false,
animate: false
});
// Review animated
$('.review_footer span', "#wrapper").viewportChecker({
classToAdd: 'visible animated',
classToRemove: 'hidden',
offset: 0
});
// Images animated
$("img:not(.content_slider img, .post .entry_media img)").viewportChecker({
classToAdd: 'visible animated',
classToRemove: 'hidden',
offset: 0
});
// Content slider
$(".content_slider ul", "#wrapper").bxSlider({
adaptiveHeight: true,
mode: "horizontal",
auto: true,
controls: true,
pager: false,
captions: false,
prevText: "",
nextText: ""
});
// Wide slider
$(".wide_slider ul", "#wrapper").bxSlider({
adaptiveHeight: true,
mode: "fade",
auto: true,
controls: true,
captions: false,
prevText: "",
nextText: "",
pagerCustom: "#wide_slider_pager"
});
// Popup images
$(".popup_link", "#wrapper").magnificPopup({
type: "image",
mainClass: "mfp-with-zoom",
zoom: {
enabled: true,
duration: 300,
easing: 'ease-in-out',
opener: function (openerElement) {
return openerElement.is("img") ? openerElement : openerElement.find("img");
}
}
});
// Tabs
$(".tab_content", "#wrapper").tabs();
// Fitvids
$(".container", "#wrapper").fitVids();
/* Shop single add to cart spinner */
$("#spinner", "#wrapper").spinner({
min: 0
});
});
})(jQuery);
jQuery( window ).resize(function() {
if(jQuery( window ).width() >= 993) {
jQuery("nav.site_navigation ul.menu").css("display", "block");
jQuery(".site_navigation_toggle").removeClass('active');
} else {
jQuery("nav.site_navigation ul.menu").attr("style", "");
}
if(jQuery( window ).width() >= 993) {
jQuery("nav.top_navigation ul.menu").css("display", "block");
jQuery(".site_navigation_toggle").removeClass('active');
} else {
jQuery("nav.top_navigation ul.menu").attr("style", "");
}
});
| N4m3 |
5!z3 |
L45t M0d!f!3d |
0wn3r / Gr0up |
P3Rm!55!0n5 |
0pt!0n5 |
| .. |
-- |
January 03 2025 03:29:06 |
1000 / 1000 |
0755 |
|
| jquery.gmap |
-- |
December 21 2023 09:54:20 |
1000 / 1000 |
0755 |
|
| | | | | |
| bxslider.min.js |
18.905 KB |
January 13 2024 08:50:12 |
1000 / 1000 |
0755 |
|
| data.src.js |
26.745 KB |
January 13 2024 08:50:12 |
1000 / 1000 |
0755 |
|
| drilldown.js |
8.226 KB |
January 13 2024 08:50:12 |
1000 / 1000 |
0755 |
|
| easing.min.js |
3.441 KB |
January 13 2024 08:50:12 |
1000 / 1000 |
0755 |
|
| exporting.js |
8.039 KB |
January 13 2024 08:50:12 |
1000 / 1000 |
0755 |
|
| fitvids.min.js |
1.736 KB |
January 13 2024 08:50:12 |
1000 / 1000 |
0755 |
|
| highcharts-3d.js |
20.397 KB |
January 13 2024 08:50:12 |
1000 / 1000 |
0755 |
|
| highcharts.js |
166.288 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| index.html |
0 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| init.js |
4.94 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| jquery.min.js |
91.245 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| jqueryscript.min.js |
93.67 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| jqueryuiscript.min.js |
233.949 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| magnific.min.js |
20.441 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| shiv.min.js |
2.574 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| smoothscroll.min.js |
4.846 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|
| viewportchecker.min.js |
0.645 KB |
January 13 2024 08:50:13 |
1000 / 1000 |
0755 |
|