. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 94.23.64.18 / Your IP :
216.73.216.185 [
Web Server : Apache System : Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : villadal ( 6036) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/villadal/www/old/wp-content/themes/sohohotel/framework/js/ |
Upload File : |
jQuery(document).ready(function($) {
"use strict";
// Fixed Menu
var nav = $(".fixed-navigation");
var navwrapper = $(".logo-navigation-wrapper");
$(window).scroll(function () {
if ($(this).scrollTop() > 350) {
nav.addClass("fixed-navigation-show");
navwrapper.addClass("fixed-navigation-show-wrapper");
} else {
nav.removeClass("fixed-navigation-show");
navwrapper.removeClass("fixed-navigation-show-wrapper");
}
});
// Mobile Navigation
$(window).resize(function() {
if ($(window).width() > 1005) {
$(".mobile-navigation-wrapper").css("display","none");
}
});
// Mobile Navigation Button
$( "#mobile-navigation-btn" ).click(function() {
$( ".mobile-navigation-wrapper" ).slideToggle( "slow", function() {
// Animation complete.
});
});
// Accordion
$( ".vc_tta-accordion" ).accordion({
heightStyle: "content",
collapsible: true,
active: false
});
// Toggle
$( ".toggle > .inner" ).hide();
$(".toggle .title").on("click",function() {
$(this).toggleClass("active");
if ($(this).hasClass("active")) {
$(this).closest(".toggle").find(".inner").slideDown(200, "easeOutCirc");
} else {
$(this).closest(".toggle").find(".inner").slideUp(200, "easeOutCirc");
}
});
// Main Navigation
jQuery("#primary-navigation").on("mouseenter mouseleave",".menu-item-has-children", function (e) {
var elm = $("ul:first", this);
var off = elm .offset();
var l = off.left;
var w = elm.width();
var docH = $(".outer-wrapper").height();
var docW = $(".outer-wrapper").width();
var isEntirelyVisible = (l+ w <= docW);
if ( ! isEntirelyVisible ) {
$(this).addClass("edge");
} else {
$(this).removeClass("edge");
}
});
// Tabs
$(function() {
$( "#tabs" ).tabs();
});
$(function() {
$( "#booking-tabs" ).tabs();
});
$(function() {
$( "#booking-tabs-2" ).tabs();
});
if ( $.isFunction($.fn.revolution) ) {
// Revolution Slider 1
$("#slider1").revolution({
sliderType:"standard",
sliderLayout:"auto",
delay:9000,
navigation: {
arrows:{
enable:true,
}
},
responsiveLevels:[4096,1280,660],
gridwidth:[1110,1110,1110],
gridheight:[570,520,800]
});
// Revolution Slider 2
$("#slider2").revolution({
sliderType:"standard",
sliderLayout:"auto",
delay:9000,
navigation: {
arrows:{
enable:true,
}
},
gridwidth:800,
gridheight:486
});
// Revolution Slider 3
$("#slider3").revolution({
sliderType:"standard",
sliderLayout:"auto",
delay:9000,
navigation: {
arrows:{
enable:true,
}
},
responsiveLevels:[4096,1280,660],
gridwidth:[1110,1110,1110],
gridheight:[800,800,800]
});
}
// Our Fleet
$('.owl-carousel1').owlCarousel({
loop:true,
margin:30,
nav:false,
pagination: true,
navText: "",
responsive:{
0:{
items:1
},
490:{
items:2
},
710:{
items:3
},
920:{
items:4
},
}
})
// Latest News
$('.owl-carousel2').owlCarousel({
loop:true,
margin:30,
nav:true,
pagination: true,
navText: "",
responsive:{
0:{
items:1
},
490:{
items:2
},
710:{
items:3
},
920:{
items:3
},
}
})
// Testimonials
$('.owl-carousel3').owlCarousel({
loop:true,
margin:30,
nav:false,
pagination: true,
navText: "",
responsive:{
0:{
items:1
},
490:{
items:1
},
710:{
items:1
},
920:{
items:1
},
}
})
// PrettyPhoto
$("a[data-gal^='prettyPhoto']").prettyPhoto({
hook: 'data-gal',
animation_speed: 'fast', /* fast/slow/normal */
slideshow: 5000, /* false OR interval time in ms */
autoplay_slideshow: false, /* true/false */
opacity: 0.80, /* Value between 0 and 1 */
show_title: true, /* true/false */
allow_resize: true, /* Resize the photos bigger than viewport. true/false */
default_width: 500,
default_height: 344,
counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
theme: 'pp_default', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
horizontal_padding: 20, /* The padding on each side of the picture */
hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
wmode: 'opaque', /* Set the flash wmode attribute */
autoplay: true, /* Automatically start videos: True/False */
modal: false, /* If set to true, only the close button will close the window */
deeplinking: true, /* Allow prettyPhoto to update the url to enable deeplinking. */
overlay_gallery: true, /* If set to true, a gallery will overlay the fullscreen image on mouse over */
keyboard_shortcuts: true, /* Set to false if you open forms inside prettyPhoto */
changepicturecallback: function(){}, /* Called everytime an item is shown/changed */
callback: function(){}, /* Called when prettyPhoto is closed */
ie6_fallback: true,
markup: '<div class="pp_pic_holder"> \
<div class="ppt"> </div> \
<div class="pp_top"> \
<div class="pp_left"></div> \
<div class="pp_middle"></div> \
<div class="pp_right"></div> \
</div> \
<div class="pp_content_container"> \
<div class="pp_left"> \
<div class="pp_right"> \
<div class="pp_content"> \
<div class="pp_loaderIcon"></div> \
<div class="pp_fade"> \
<a href="#" class="pp_expand" title="Expand the image">Expand</a> \
<div class="pp_hoverContainer"> \
<a class="pp_next" href="#">next</a> \
<a class="pp_previous" href="#">previous</a> \
</div> \
<div id="pp_full_res"></div> \
<div class="pp_details"> \
<div class="pp_nav"> \
<a href="#" class="pp_arrow_previous">Previous</a> \
<p class="currentTextHolder">0/0</p> \
<a href="#" class="pp_arrow_next">Next</a> \
</div> \
<p class="pp_description"></p> \
{pp_social} \
<a class="pp_close" href="#"><i class="fa fa-close"></i></a> \
</div> \
</div> \
</div> \
</div> \
</div> \
</div> \
<div class="pp_bottom"> \
<div class="pp_left"></div> \
<div class="pp_middle"></div> \
<div class="pp_right"></div> \
</div> \
</div> \
<div class="pp_overlay"></div>',
gallery_markup: '<div class="pp_gallery"> \
<a href="#" class="pp_arrow_previous">Previous</a> \
<div> \
<ul> \
{gallery} \
</ul> \
</div> \
<a href="#" class="pp_arrow_next">Next</a> \
</div>',
image_markup: '<img id="fullResImage" src="{path}" />',
flash_markup: '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',
quicktime_markup: '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',
iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',
inline_markup: '<div class="pp_inline">{content}</div>',
custom_markup: '',
social_tools: '<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' /* html or false to disable */
});
});