When it comes to the growing list of Phnom Penh properties to choose from, which one is right for you? Which one should you invest in? Hear what Mrs. KEO Sochenda, Founder of Reachny Property, has to say
jQuery(document).ready(function($) { $('.splash-btn-close').click(function(){ $('.splash').fadeOut(); }); }); jQuery(document).ready(function($) { $('#btn-availability').click(function(){ $('.living-overlay').fadeIn(); }); $('#btn-calculator').click(function(){ $('.calculator-overlay').fadeIn(); $('html').addClass('noscroll'); $('body').addClass('noscroll'); }); $('.overlay-btn-close').click(function(){ $('html').removeClass('noscroll'); $('body').removeClass('noscroll'); $('.living-overlay').fadeOut(); $('.calculator-overlay').fadeOut(); }); }); --> jQuery(document).ready(function($) { $('.navbar-toggler').click(function(){ $('.menu-overlay').fadeIn(); }); $('.navbar-closebtn').click(function(){ $('.menu-overlay').fadeOut(); }); $('.menu-overlay-content .menu-item a').click(function(){ $('.menu-overlay').fadeOut(); }); $('.content-container').hover(function(){ $('.menu-overlay').fadeOut(); }); $('.navbar-nav [data-toggle="dropdown"]').bootstrapDropdownHover({ // see next for specifications }); //$('.navbar-nav [data-toggle="dropdown"]').bootstrapDropdownHover('setClickBehavior', 'disabled').on('click', function(){ if ($(this).attr('aria-expanded')=='true') {window.location = $(this).attr('href');} } ); $('.navbar-nav [data-toggle="dropdown"]').each(function(){ $(this).bootstrapDropdownHover('setClickBehavior', 'disabled').on('click', function(){ if ($(this).attr('aria-expanded')=='true') {window.location = $(this).attr('href');} } ); }); var toggleAffix = function(affixElement, scrollElement, wrapper) { var height = affixElement.outerHeight(), top = wrapper.offset().top; if (scrollElement.scrollTop() >= top){ wrapper.height(height); affixElement.addClass("affix"); } else { affixElement.removeClass("affix"); wrapper.height('auto'); } }; $('[data-toggle="affix"]').each(function() { var ele = $(this), wrapper = $('
'); ele.before(wrapper); $(window).on('scroll resize', function() { toggleAffix(ele, $(this), wrapper); }); // init toggleAffix(ele, $(window), wrapper); }); // this one for smooth scroll with offset anchors within a page (function($) { $('.navbar-nav a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') || location.hostname == this.hostname) { var target = $(this.hash), headerHeight = $("nav.navbar").height() + 5; // Get fixed header height target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html,body').animate({ scrollTop: target.offset().top - headerHeight }, 500); return false; } } }); })(jQuery); }); --> /* window.onload = function() { document.body.className += " loaded"; } */ jQuery(document).ready(function($) { $('body').addClass('loaded'); })(jQuery); -->When it comes to the growing list of Phnom Penh properties to choose from, which one is right for you? Which one should you invest in? Hear what Mrs. KEO Sochenda, Founder of Reachny Property, has to say