CINXE.COM
DubaiExporters - Dubai Business News - UAE Exports
<!DOCTYPE html> <html lang="en-US"> <head> <title>DubaiExporters - Dubai Business News - UAE Exports</title> <meta content="True" name="HandheldFriendly" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link type="text/css" href="bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="shortcut icon" href="images/dubaiexporters.ico" /><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" /> <script type="text/javascript">window.gdSetMap = window.gdSetMap || 'google';</script> <meta name="robots" content="index, follow" /><link rel="dns-prefetch" href="//maps.google.com" /><link rel="dns-prefetch" href="//s.w.org" /> <style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel="stylesheet" href="stylee.css" type="text/css" /><link rel="stylesheet" href="main.css" type="text/css" /><link rel="stylesheet" href="js_composer.min.css" type="text/css" /><link rel="stylesheet" href="responsive.css" type="text/css" media="all" /><link href="https://fonts.googleapis.com/css?family=Poppins" rel="stylesheet" /><link href="http://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css" /><link href="http://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet" type="text/css" /><link rel="stylesheet" href="css/normalize.css" type="text/css" media="all" /><link rel="stylesheet" href="css/js_composer.min.css" type="text/css" media="all" /><link rel="stylesheet" href="css/prettyPhoto.min.css" type="text/css" media="all" /><link rel="stylesheet" href="css/responsive.css" type="text/css" media="all" /><link rel="stylesheet" href="css/pushy.css" type="text/css" media="all" /><link rel="stylesheet" href="css/component.css" type="text/css" media="all" /><link rel="stylesheet" href="css/gfonts.css" type="text/css" media="all" /><link rel="stylesheet" href="css/green.css" type="text/css" media="all" /><link rel="stylesheet" href="css/red.css" type="text/css" media="all" /> <script type='text/javascript' src="js/jquery.js"></script> <script type='text/javascript' src="js/jquery-migrate.min.js"></script> <script type="text/javascript"> // On window load. This waits until images have loaded which is essential /*global jQuery:false, my_ajax:false, on_resize:false */ /*jshint unused:false */ jQuery(window).load(function () { "use strict"; jQuery('.recent-activities-container').isotope(); function first_geodir_map_init() { var content_width = jQuery("#geodir-wrapper").outerWidth(); var browser_width = jQuery(window).width(); if (jQuery("body").hasClass("admin-bar")) { var browser_height = jQuery(window).height() - 102; } else { var browser_height = jQuery(window).height() - 70; } var sidebar_width = jQuery(".geodir-map-left").outerWidth(); if (jQuery("body").hasClass("single-geodir-page")) { jQuery(".stick_trigger_container").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57, "height": "425px" }); jQuery(".geodir_marker_cluster").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57, "height": "425px", "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper, #home_map_canvas_loading_div").css({ "width": browser_width - content_width, "height": "425px" }); if (jQuery('body').hasClass('single-geodir-page')) { if (jQuery(window).width() > 1200) { jQuery(".stick_trigger_container").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57 }); jQuery(".geodir_marker_cluster").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57 }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57 }); } else { jQuery(".stick_trigger_container").css({ "width": "100%" }); jQuery(".geodir_marker_cluster").css({ "width": "100%" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css({ "width": "100%" }); } var position = jQuery.goMap.map.getCenter(); google.maps.event.trigger(jQuery.goMap.map, "resize"); jQuery.goMap.map.setCenter(position); } } else if (jQuery("body").hasClass("page-template-template-frontpage")) { if (jQuery(window).height() < 900 && jQuery('body').hasClass('header_search_map')) { if (jQuery("body").hasClass("admin-bar")) { var map_height = jQuery(window).height() - 162; } else { var map_height = jQuery(window).height() - 130; }; jQuery('#main_header_bg, #main_header_image').height(map_height); jQuery('body.page-template-template-frontpage-php .wrapper .main .page-wrapper').css('margin-top', (jQuery(window).height() - 130) + 83 + 'px'); jQuery(".stick_trigger_container").css({ "width": jQuery(window).width(), "height": map_height }); jQuery(".geodir_marker_cluster").css({ "width": jQuery(window).width(), "height": map_height, "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper, #home_map_canvas_loading_div").css({ "width": jQuery(window).width(), "height": map_height }); } else { jQuery(".stick_trigger_container").css({ "width": jQuery(window).width(), "height": "747px" }); jQuery(".geodir_marker_cluster").css({ "width": jQuery(window).width(), "height": "747px", "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper, #home_map_canvas_loading_div").css({ "width": jQuery(window).width(), "height": "747px" }); } } else { jQuery(".stick_trigger_container").css({ "width": browser_width - sidebar_width + "px", "height": browser_height + "px", "max-width": "none" }); jQuery(".geodir_marker_cluster").css({ "width": browser_width - sidebar_width, "height": browser_height + "px", "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper, #home_map_canvas_loading_div").css({ "width": browser_width - sidebar_width, "height": browser_height + "px" }); } if (typeof jQuery.goMap.map == Object) { // Resize map google.maps.event.trigger(jQuery.goMap.map, "resize"); // Fit bounds // var bounds = new google.maps.LatLngBounds(); // jQuery.goMap.map.fitBounds(bounds); }; } if (jQuery("body").hasClass("search-results") || jQuery("body").hasClass("single-geodir-page") || jQuery("body").hasClass("search-no-results") || jQuery("body").hasClass("geodir-category-search") || jQuery("body").hasClass("page-template-template-frontpage") || jQuery("body").hasClass("geodir-main-search")) { first_geodir_map_init(); } jQuery(".map-listing-carousel-container").jcarousel({ wrap: "circular" }); if (jQuery('.featured-properties-inner-carousel-container').length) { jQuery('.featured-properties-inner-carousel-container').jcarousel({ wrap: "circular", animation: { duration: 0 } }); jQuery('.featured-carousel-controls .featured-carousel-next').click(function () { jQuery(this).parent().parent().find('.featured-properties-inner-carousel-container').jcarousel('scroll', '+=1'); jQuery(this).parent().parent().find('.featured-properties-inner-carousel-container').css('opacity', '0').stop().animate({ opacity: 1 }, 700); }); jQuery('.featured-carousel-controls .featured-carousel-prev').click(function () { jQuery(this).parent().parent().find('.featured-properties-inner-carousel-container').jcarousel('scroll', '-=1'); jQuery(this).parent().parent().find('.featured-properties-inner-carousel-container').css('opacity', '0').stop().animate({ opacity: 1 }, 700); }); }; }); /* Plugin: jQuery Parallax Version 1.1.3 Author: Ian Lunn Twitter: @IanLunn Author URL: http://www.ianlunn.co.uk/ Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/ Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html */ jQuery(document).ajaxStop(function () { if (jQuery(".blog-row").length) { if (jQuery(".blog-row").last().html().length == 71) { jQuery(".blog-row").last().hide(); }; if (jQuery("#blog_show_load_more").val() == 'false') { jQuery("#load_blog_posts").hide(); }; if (jQuery(window).width() > 1200) { jQuery(".featured-properties-row, .blog-carousel .blog-row").css({ "max-width": '1170px', "min-width": '1170px', "width": '1170px' }); jQuery('.featured-properties-row .featured-properties-inner-carousel img').css('width', 'auto'); } else if (jQuery(window).width() < 1200) { jQuery(".featured-properties-row, .blog-carousel .blog-row").css({ "max-width": jQuery(window).width() - 30, "min-width": jQuery(window).width() - 30, "width": jQuery(window).width() - 30 }); var image_width = jQuery('.featured-properties-row .featured-properties-inner-carousel-container').outerWidth(); jQuery('.featured-properties-row .featured-properties-inner-carousel img').css('width', image_width); jQuery('.featured-properties-row .featured-properties-container .featured-properties-inner-carousel img').css('width', parseInt(image_width + (image_width * 0.25))); jQuery('.featured-properties-row .featured-properties-container.wide .featured-properties-inner-carousel img').css('width', parseInt(image_width + (image_width * 1.5))); jQuery('.featured-properties-inner-carousel-container').jcarousel('reload', { 'animation': 'fast' }); jQuery('.featured-properties-inner-carousel-container').jcarousel('scroll', '0'); } else { jQuery(".featured-properties-row, .blog-carousel .blog-row").css({ "max-width": "1170px", "min-width": "1170px", "width": jQuery(window).width() - 30 }); } }; function vh_removeElements(text, selector) { var wrapped = jQuery("<div>" + text + "</div>"); wrapped.find(selector).remove(); return wrapped.html(); } jQuery('.ac_results li').on('click', function () { var result = vh_removeElements(jQuery(this).html(), 'small'); result = vh_removeElements(result, 'span'); jQuery('#header-location').val(result); }); }); jQuery(document).ready(function ($) { "use strict"; if (jQuery('#buy-now-ribbon').length && window.self === window.top) { jQuery('#buy-now-ribbon').show(); }; if (jQuery("body").hasClass("single-geodir-page")) { var content_width = jQuery("#geodir-wrapper").outerWidth(); var browser_width = jQuery(window).width(); if (jQuery("body").hasClass("admin-bar")) { var browser_height = jQuery(window).height() - 102; } else { var browser_height = jQuery(window).height() - 70; } jQuery(".stick_trigger_container").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57, "height": "425px" }); jQuery(".geodir_marker_cluster").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57, "height": "425px", "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper, #home_map_canvas_loading_div").css({ "width": browser_width - content_width, "height": "425px" }); } var $select_file_button = ''; jQuery('body').on('click', function () { if ($select_file_button != '') { if (jQuery('#post_images').val() != '') { jQuery('#post_imagesdropbox .input-required').css('background-color', 'rgb(51, 153, 51)'); } else { jQuery('#post_imagesdropbox .input-required').css('background-color', 'rgb(255, 102, 0)'); } }; }); jQuery('.chosen-results li.active-result').live('click', function () { if (jQuery(this).parent().parent().parent().parent().parent().hasClass('geodir_taxonomy_field')) { jQuery(this).parent().parent().parent().parent().parent().parent().find('.input-required').css('background-color', 'rgb(51, 153, 51)'); } else { jQuery(this).parent().parent().parent().parent().find('.input-required').css('background-color', 'rgb(51, 153, 51)'); } }); // Perform AJAX login on form submit jQuery('form#login').on('submit', function (e) { jQuery('form#login p.status').show().text(ajax_login_object.loadingmessage); jQuery.ajax({ type: 'POST', dataType: 'json', url: ajax_login_object.ajaxurl, data: { 'action': 'ajaxlogin', //calls wp_ajax_nopriv_ajaxlogin 'username': jQuery('form#login #username').val(), 'password': jQuery('form#login #password').val(), 'rememberme': jQuery('form#login #rememberme').val(), 'security': jQuery('form#login #security').val() }, success: function (data) { if (data.for_input == "username") { jQuery('form#login .username-error').show().text(data.message); jQuery('form#login .header-form-input').removeClass("error"); jQuery('form#login .username-error').parent().addClass("error"); } else if (data.for_input == "password") { jQuery('form#login .password-error').show().text(data.message); jQuery('form#login .header-form-input').removeClass("error"); jQuery('form#login .password-error').parent().addClass("error"); } if (data.loggedin == true) { document.location.href = ajax_login_object.redirecturl; } } }); e.preventDefault(); }); // Perform AJAX register on form submit jQuery('form#register').on('submit', function (e) { jQuery('form#register .status').show().text(ajax_login_object.loadingmessage); jQuery.ajax({ type: 'POST', dataType: 'json', url: ajax_login_object.ajaxurl, data: { 'action': 'ajax_register', 'email': jQuery('form#register #user_email').val(), 'fullname': jQuery('form#register #fullname').val(), 'regsecurity': jQuery('form#register #regsecurity').val() }, success: function (data) { if (data.for_input == "username") { jQuery('form#register .fullname-error').show().text(data.message); jQuery('form#register .status').text(ajax_login_object.registermessage); jQuery('form#register .email-error').hide(); jQuery('form#register .header-form-input').removeClass("error"); jQuery('form#register .fullname-error').parent().addClass("error"); } else if (data.for_input == "user_email") { jQuery('form#register .email-error').show().text(data.message); jQuery('form#register .status').text(ajax_login_object.registermessage); jQuery('form#register .fullname-error').hide(); jQuery('form#register .header-form-input').removeClass("error"); jQuery('form#register .email-error').parent().addClass("error"); } else if (data.for_input == "main") { jQuery('form#register .status').show().text(data.message); jQuery('form#register .email-error').hide(); jQuery('form#register .fullname-error').hide(); jQuery('.header-form-input input[type="text"]').val(''); } // if (data.loggedin == true) { // document.location.href = ajax_login_object.redirecturl; // } } }); e.preventDefault(); }); jQuery(".header-login-button:not(.dashboard)").click(function () { jQuery(".header-login-main").fadeIn(300); jQuery(".header-login-button").fadeOut(150); }); jQuery("#rememberme_check, .rememberme_checkbox").click(function () { if (jQuery(".rememberme_checkbox").hasClass("checked")) { jQuery("#rememberme").val("0"); } else { jQuery("#rememberme").val("1"); } jQuery(".rememberme_checkbox").toggleClass("checked icon-ok"); }); var $isotope_container = jQuery(".blog .wpb_thumbnails"); $isotope_container.isotope({ straightAcross: true }); // update columnWidth on window resize jQuery(window).bind("debouncedresize", function () { $isotope_container.isotope({ // update columnWidth to a percentage of container width masonry: { columnWidth: $isotope_container.width() / 2 } }); }); jQuery(".scroll-to-top").click(function () { jQuery("html, body").animate({ scrollTop: 0 }, "slow"); return false; }); jQuery('.package_button').click(function (e) { e.preventDefault(); jQuery(this).parent().parent().find('input:radio').prop('checked', true); jQuery('#job_package_selection').submit(); }); function geodir_get_popup_forms(e, ele, clk_class, popup_id) { var ajax_url = geodir_var.geodir_ajax_url; var append_class = ele.parent(); var post_id = append_class.find('input[name="geodir_popup_post_id"]').val(); jQuery.gdmodal('<div id="basic-modal-content" class="clearfix simplemodal-data" style="display: block;"><div class="geodir-modal-loading"><i class="fa fa-refresh fa-spin "></i></div></div>'); // show popup right away jQuery.post(ajax_url, { popuptype: clk_class, post_id: post_id }) .done(function (data) { append_class.find('.geodir_display_popup_forms').append(data); e.preventDefault(); jQuery.gdmodal.close(); // close popup and show new one with new data, will be so fast user will not see it jQuery('#' + popup_id).gdmodal({ persist: true, //overlayClose:true, onClose: function () { jQuery.gdmodal.close({ overlayClose: true }); append_class.find('.geodir_display_popup_forms').html(''); }, }); }); } jQuery('a.vh_b_send_inquiry').click(function (e) { geodir_get_popup_forms(e, jQuery(this), 'b_send_inquiry', 'basic-modal-content2'); }); jQuery('a.vh_b_sendtofriend').click(function (e) { geodir_get_popup_forms(e, jQuery(this), 'b_sendtofriend', 'basic-modal-content'); }); function geodir_get_claim_popup_forms(e, clk_class, popup_id) { var ajax_url = my_ajax.ajaxurl + '?action=vh_geodir_claim_ajax_action'; var post_id = jQuery('input[name="geodir_claim_popup_post_id"]').val() var append_class = jQuery('.vh_' + clk_class).closest('.claim-busisness-container'); jQuery.gdmodal('<div id="basic-modal-content" class="clearfix simplemodal-data" style="display: block;"><div class="geodir-modal-loading"><i class="fa fa-refresh fa-spin "></div></div>');// show popup right away jQuery.post(ajax_url, { popuptype: clk_class, listing_id: post_id }) .done(function (data) { append_class.find('.geodir_display_claim_popup_forms').append(data); e.preventDefault(); jQuery.gdmodal.close();// close popup and show new one with new data, will be so fast user will not see it jQuery('#' + popup_id).gdmodal({ persist: true, onClose: function () { jQuery.gdmodal.close({ overlayClose: true }); append_class.find('.geodir_display_claim_popup_forms').html(''); }, }); }); } if (jQuery('.chosen_select').length && !check_browser_agent()) { jQuery('.chosen_select').addClass('chosen-mobile'); }; function check_browser_agent() { if (/iP(od|hone)/i.test(window.navigator.userAgent)) { return false; } if (/Android/i.test(window.navigator.userAgent)) { if (/Mobile/i.test(window.navigator.userAgent)) { return false; } } return true; } jQuery('a.vh_geodir_claim_enable').click(function (e) { geodir_get_claim_popup_forms(e, 'geodir_claim_enable', 'gd-basic-modal-content4'); }); jQuery(".gmmodal-close-dialog").live("click", function () { jQuery.gdmodal.close({ overlayClose: true }); }); jQuery(".gmmodal-close-dialog").live("click", function () { jQuery(".gm-style-iw").parent().find("div").first().find("div:nth-child(4)").hide(); }); jQuery('.header_search .sb-icon-search').click(function () { jQuery(".header-search-body .header-search-container").fadeIn(300); }) if (jQuery('body.geodir-multi-ratings span.gd-rank').length) { jQuery('body.geodir-multi-ratings span.gd-rank').each(function () { jQuery(this).html(''); }); }; jQuery('.gd-rate-category ul.rate-area-list li, .gd-rate-area ul.rate-area-list li').hover(function () { var hovered_index = jQuery(this).index(); var item_width = jQuery(this).width(); var left_position = hovered_index * item_width; jQuery(this).parent().parent().find('.gd-rank').stop().css('left', left_position + 'px'); jQuery(this).parent().parent().find('.gd-rank').stop().addClass('active'); }, function () { var hovered_index = jQuery(this).index(); var item_width = jQuery(this).width(); var left_position = hovered_index * item_width; jQuery(this).parent().parent().find('.gd-rank').stop().css('left', left_position + 'px'); jQuery(this).parent().parent().find('.gd-rank').stop().removeClass('active'); }); jQuery('.gd-rate-category ul.rate-area-list, .gd-rate-area ul.rate-area-list').hover(function () { jQuery(this).addClass('active'); }, function () { jQuery(this).removeClass('active'); }); // jQuery(".geodir_category_list_view li.gridview_onehalf").live("hover", function() { // jQuery(this).addClass("animation"); // jQuery(this).removeClass("reverse-animation"); // },function() { // jQuery(this).removeClass("animation"); // jQuery(this).addClass("reverse-animation"); // }); jQuery('#your-profile .submit .profile-update-submit').click(function () { jQuery(this).next().click(); }) jQuery(".geodir_category_list_view li.gridview_onehalf").live({ mouseenter: function () { jQuery(this).addClass("animation"); jQuery(this).removeClass("reverse-animation"); }, mouseleave: function () { jQuery(this).removeClass("animation"); jQuery(this).addClass("reverse-animation"); } }); jQuery(".map-listing-next, .map-listing-prev").live({ mouseenter: function () { jQuery(this).parent().find("a.wpb_button").hide(); }, mouseleave: function () { jQuery(this).parent().find("a.wpb_button").show(); } }); jQuery('.map-listing-next').live("click", function () { jQuery(this).parent().find(".map-listing-carousel-container").jcarousel('scroll', '+=1'); }); jQuery('.map-listing-prev').live("click", function () { jQuery(this).parent().find(".map-listing-carousel-container").jcarousel('scroll', '-=1'); }); jQuery('#dd1 > span').live('click', function () { if (jQuery("#dd1").hasClass("active")) { jQuery(this).parent().find("ul").hide(); } else { jQuery(this).parent().find("ul").show(); } jQuery("#dd1").toggleClass("active"); }); jQuery(".geodir_category_list_view").isotope({ transformsEnabled: true, getSortData: { price: function (elem) { var element = jQuery(elem).find(".map-listing-price").html(); if (element != undefined) { element = element.replace(my_ajax.currency_symbol, ""); }; return parseFloat(element); }, rating: function (elem) { if (element != undefined) { var element = jQuery(elem).find(".listing-item-star.text").html(); } return parseFloat(element); } }, sortBy: 'price', sortAscending: true, animationOptions: { duration: 250, easing: 'swing', queue: true }, animationEngine: "jquery" }); jQuery("#dd1 a").live('click', function () { jQuery("#dd1 a").removeClass("active"); jQuery(this).addClass("active"); jQuery("#dd1 .sort-by").html(jQuery(this).find("span").html()); jQuery("#dd1 ul").hide(); jQuery("#dd1").removeClass("active"); var sortValue = jQuery(this).attr('data-sort-value'); if (sortValue == 'price') { jQuery(".geodir_category_list_view").isotope({ transformsEnabled: true, getSortData: { price: function (elem) { var element = jQuery(elem).find(".map-listing-price").html(); if (element != undefined) { element = element.replace(my_ajax.currency_symbol, ""); }; return parseFloat(element); }, rating: function (elem) { if (element != undefined) { var element = jQuery(elem).find(".listing-item-star.text").html(); } return parseFloat(element); } }, sortBy: sortValue, sortAscending: true, animationOptions: { duration: 250, easing: 'swing', queue: true }, animationEngine: "jquery" }); } else { jQuery(".geodir_category_list_view").isotope({ transformsEnabled: true, getSortData: { price: function (elem) { var element = jQuery(elem).find(".map-listing-price").html(); if (element != undefined) { element = element.replace(my_ajax.currency_symbol, ""); }; return parseFloat(element); }, rating: function (elem) { if (element != undefined) { var element = jQuery(elem).find(".listing-item-star.text").html(); } return parseFloat(element); } }, sortBy: sortValue, sortAscending: false, animationOptions: { duration: 250, easing: 'swing', queue: true }, animationEngine: "jquery" }); } if (jQuery("body").hasClass("admin-bar")) { var height = jQuery(window).height() - 70 - 46 - 32; if (jQuery('.geodir-map-listing-filters').length) { height = height - jQuery('.geodir-map-listing-filters').height(); } jQuery("body.geodir-main-search .geodir_category_list_view").css('height', height); } else { var height = jQuery(window).height() - 70 - 46; if (jQuery('.geodir-map-listing-filters').length) { height = height - jQuery('.geodir-map-listing-filters').height(); } jQuery("body.geodir-main-search .geodir_category_list_view").css('height', height); }; }); jQuery(window).bind("debouncedresize", function () { if (jQuery('body').hasClass('geodir-main-search')) { if (jQuery("body").hasClass("admin-bar")) { var height = jQuery(window).height() - 70 - 46 - 32; if (jQuery('.geodir-map-listing-filters').length) { height = height - jQuery('.geodir-map-listing-filters').height(); } jQuery("body.geodir-main-search .geodir_category_list_view").css('height', height); } else { var height = jQuery(window).height() - 70 - 46; if (jQuery('.geodir-map-listing-filters').length) { height = height - jQuery('.geodir-map-listing-filters').height(); } jQuery("body.geodir-main-search .geodir_category_list_view").css('height', height); }; }; }); jQuery(".property-count").html(jQuery("#geodir-search-results").val()); jQuery("#geodir-filter-list li.add-filters").click(function (e) { if (jQuery(".geodir-filter-container").hasClass("active")) { jQuery(".geodir-filter-container").hide(); } else { jQuery(".geodir-filter-container").show(); jQuery(".geodir-filter-container").focus(); jQuery(".geodir-filter-container").css('left', '675px'); } jQuery(".geodir-filter-container").toggleClass("active"); }); jQuery("body").click(function (e) { if (jQuery('body').hasClass("search-results")) { if (!jQuery(e.srcElement).parent().hasClass("add-filters") && jQuery(e.srcElement.offsetParent).attr("class") !== 'geodir-filter-inner') { jQuery(".geodir-filter-container").hide(); jQuery(".geodir-filter-container").removeClass("active"); }; if (!jQuery(e.target).hasClass("sort-by") && !jQuery(e.target).hasClass("geodir-sortby-item")) { jQuery("#dd1 > ul").hide(); }; }; }); jQuery(".map-view-default").click(function () { jQuery('#post_mapview').prop('checked', true); jQuery(".map-view-default").addClass("active"); jQuery(".map-view-satellite").removeClass("active"); jQuery(".map-view-hybrid").removeClass("active"); }); jQuery(".map-view-satellite").click(function () { jQuery('#map_view1').prop('checked', true); jQuery(".map-view-satellite").addClass("active"); jQuery(".map-view-default").removeClass("active"); jQuery(".map-view-hybrid").removeClass("active"); }); jQuery(".map-view-hybrid").click(function () { jQuery('#map_view2').prop('checked', true); jQuery(".map-view-hybrid").addClass("active"); jQuery(".map-view-default").removeClass("active"); jQuery(".map-view-satellite").removeClass("active"); }); jQuery(".addlisting-upload-button").click(function () { $select_file_button = 'clicked'; jQuery("#post_imagesplupload-browse-button").click(); }); jQuery(".checkbox_box").live('click', function () { if (jQuery(this).hasClass("checked")) { jQuery(this).parent().removeClass("checked"); jQuery(this).parent().find("input[type=checkbox]").prop('checked', false); } else { jQuery(this).parent().addClass("checked"); jQuery(this).parent().find("input[type=checkbox]").prop('checked', true); } jQuery(this).toggleClass("checked icon-ok"); }); jQuery(".radiobutton").live("click", function () { if (jQuery(this).hasClass("checked")) { jQuery(this).parent().find("input[type=radio]").prop('checked', false); } else { jQuery(this).parent().find("input[type=radio]").prop('checked', true).click(); } jQuery(this).parent().parent().find('.radiobutton').removeClass("checked"); jQuery(this).toggleClass("checked"); }); if ((jQuery("#header-type").length || jQuery("#header-top-type").length || jQuery("#header_category").length || jQuery("#header-top-category").length)) { jQuery("#header-type, #header-top-type, #header_category, #header-top-category").autocomplete({ source: my_ajax.ajaxurl + "?action=vh_get_listing_category&vh_post_type=" + jQuery('#header-post-type').val(), minLength: 2,//search after two characters select: function (event, ui) { jQuery(this).parent().removeClass('triangle'); }, html: true, open: function () { jQuery(this).parent().find('.search-contract-container').removeClass('active').hide(); jQuery(this).parent().addClass('triangle'); jQuery(".ui-autocomplete:visible").css({ left: "-=7", top: "+=4" }); } }).data("ui-autocomplete")._renderItem = function (ul, item) { return $("<li></li>") .data("item.autocomplete", item) .append("<a>" + item.label + "</a>") .appendTo(ul); }; }; jQuery("#header-type, #header-top-type, #header_category, #header-top-category").live('focus', function () { jQuery('body').addClass('category-field-focused'); jQuery(this).parent().addClass('focused'); }); jQuery("#header-type, #header-top-type, #header_category, #header-top-category").live('blur', function () { jQuery('body').removeClass('category-field-focused'); jQuery(this).parent().removeClass('focused'); }); function hideDatePicker(element) { if (typeof element === 'undefined') { var element = jQuery(this).parent().find(".search-calendar-options"); } else { element = element.find(".search-calendar-options"); } element.animate({ opacity: 0 }, 0, function () { jQuery(".search-calendar-options").hide(); jQuery(".search-calendar-container").hide(); }); } function showDatePicker(element) { if (typeof element === 'undefined') { var element = jQuery(this).parent().find(".search-calendar-options"); } else { element = element.find(".search-calendar-options"); } jQuery(".search-calendar-options").stop().show(); jQuery(".search-calendar-container").show(); jQuery(".search-calendar-container").width(jQuery(".search-calendar-options").outerWidth() + jQuery("#ui-datepicker-div").outerWidth() - 12); jQuery(".search-calendar-container").height(jQuery("#ui-datepicker-div").outerHeight() - 4); jQuery(".search-calendar-options").height(jQuery("#ui-datepicker-div").outerHeight() - 4); jQuery(".search-calendar-options").animate({ opacity: 1 }, 65, function () { // Animation complete. }); } var startDate, endDate, dateRange = []; var $tmp_start_date, $tmp_end_date, $date_selected = ''; if (jQuery("#header-when, #header-top-when, #listing-when").length) { jQuery("#header-when, #header-top-when, #listing-when").datepicker({ dateFormat: 'yy-mm-dd', onClose: function (dateText, inst) { jQuery(".ui-datepicker").stop(false, true); }, dayNamesMin: ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'], showAnim: 'fadeIn', minDate: 0, onChangeMonthYear: function () { setTimeout(function () { jQuery(".search-calendar-container").width(jQuery(".search-calendar-options").outerWidth() + jQuery("#ui-datepicker-div").outerWidth() - 12); if (jQuery(window).width() < 767) { jQuery(".search-calendar-container").height(jQuery("#ui-datepicker-div").outerHeight() - 4 + 272); } else { jQuery(".search-calendar-container").height(jQuery("#ui-datepicker-div").outerHeight() - 4); } jQuery(".search-calendar-options").height(jQuery("#ui-datepicker-div").outerHeight() - 4); }, 50); }, onSelect: function (dateText, inst) { // Page has been reloaded, if user tries to select new date then start all over again if (!$date_selected) { jQuery("#startrange").val(''); jQuery("#startrange").val(''); } var date1 = jQuery.datepicker.parseDate('yy-mm-dd', jQuery("#startrange").val()); var date2 = jQuery.datepicker.parseDate('yy-mm-dd', jQuery("#endrange").val()); if (!date1 || date2) { if (jQuery(".single-listing-info").length) { jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html()); } jQuery("#startrange").val(dateText); jQuery("#endrange").val(""); // Start date is selected. Set min date to selected start date. jQuery(this).datepicker("option", "minDate", dateText); // Get date from datepicker startDate = dateText; // Set input field value jQuery("#header-when, #listing-when").val(startDate); // Set cookie jQuery.cookie('vh_selected_date', startDate, { path: '/' }); // Set date range cookies jQuery.cookie('vh_startrange', dateText, { path: '/' }); jQuery.cookie('vh_endrange', '', { path: '/' }); // Keep open datepicker showDatePicker(); jQuery(".ui-datepicker").css({ 'display': 'block' }); } else { jQuery("#endrange").val(dateText); // jQuery("#header-when, #listing-when").datepicker('hide'); // End date is selected. Set min date to "today" jQuery(this).datepicker("option", "minDate", 0); // Get date from datepicker endDate = dateText; // Format date var startformatted = $.datepicker.formatDate('d', new Date(startDate)); var endformatted = $.datepicker.formatDate('d M', new Date(endDate)); var year = endDate.split("-"); // Set input field value jQuery("#header-when, #header-top-when, #listing-when").val(startformatted + " - " + endformatted + " " + year["0"]); dateRange = []; for (var d = new Date(startDate) ; d <= new Date(endDate) ; d.setDate(d.getDate() + 1)) { dateRange.push($.datepicker.formatDate('yy-mm-dd', d)); } // Set cookie (Format: 30 - 32 Dec 2014) jQuery.cookie('vh_selected_date', startformatted + " - " + endformatted + " " + year["0"], { path: '/' }); // Set date range cookies jQuery.cookie('vh_endrange', dateText, { path: '/' }); // Reset daterange dateRange = []; // Remove click event jQuery('.vh_wrapper').off('click.calendar'); var a_date = new Date(Date.parse(jQuery.cookie('vh_startrange')).toString('yyyy'), parseInt(Date.parse(jQuery.cookie('vh_startrange')).toString('M')) - 1, Date.parse(jQuery.cookie('vh_startrange')).toString('d'), 0, 0, 0, 0); var b_date = new Date(Date.parse(jQuery.cookie('vh_endrange')).toString('yyyy'), parseInt(Date.parse(jQuery.cookie('vh_endrange')).toString('M')) - 1, Date.parse(jQuery.cookie('vh_endrange')).toString('d'), 0, 0, 0, 0); if (jQuery(".single-listing-info").length) { jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html() * (Math.round((b_date - a_date) / 1000 / 60 / 60 / 24) + 1)); } // Hide datepicker hideDatePicker(jQuery(this).parent()); jQuery(".ui-datepicker").css({ 'display': 'none' }); $date_selected = false; $tmp_start_date = ''; $tmp_end_date = ''; } $date_selected = true; jQuery("td.highlighted").removeClass("highlighted"); }, beforeShowDay: function (date) { var date1, date2 = ''; if ($tmp_start_date) { date1 = jQuery.datepicker.parseDate('yy-mm-dd', $tmp_start_date); date2 = jQuery.datepicker.parseDate('yy-mm-dd', $tmp_end_date); } else { date1 = jQuery.datepicker.parseDate('yy-mm-dd', jQuery("#startrange").val()); date2 = jQuery.datepicker.parseDate('yy-mm-dd', jQuery("#endrange").val()); } return [true, date1 && ((date.getTime() == date1.getTime()) || (date2 && date >= date1 && date <= date2)) ? "highlighted" : ""]; }, beforeShow: function (input) { // Add click event with delay setTimeout(function () { // When click anywhere check if it's not calendar. jQuery('.vh_wrapper').on("click.calendar", function (e) { // Remove click event hideDatePicker(jQuery('body')); jQuery(".ui-datepicker").css({ 'display': 'none' }); $date_selected = false; $tmp_start_date = ''; $tmp_end_date = ''; jQuery('.vh_wrapper').off('click.calendar'); }); }, 200); // Set min date to "today" jQuery(this).datepicker("option", "minDate", 0); jQuery("#header-when, #header-top-when").datepicker("refresh"); } }); } if (jQuery.cookie('vh_selected_date') == null) { var d = new Date(); var month = d.getMonth() + 1; var day = d.getDate(); var output = d.getFullYear() + '-' + (('' + month).length < 2 ? '0' : '') + month + '-' + (('' + day).length < 2 ? '0' : '') + day; jQuery.cookie('vh_selected_date', output, { path: '/' }); }; if (jQuery("#header-when, #header-top-when, #listing-when").length) { if (jQuery.cookie('vh_selected_date') == "This Weekend") { jQuery("#header-when, #header-top-when, #listing-when").val(jQuery.cookie('vh_selected_date')); jQuery(".single-listing-info .single-listing-text .for-selected").html(parseInt(jQuery(".single-listing-info .single-listing-text.small .per-night").html()) * 2); } else if (jQuery.cookie('vh_selected_date') == "Next week") { jQuery("#header-when, #header-top-when, #listing-when").val(jQuery.cookie('vh_selected_date')); jQuery(".single-listing-info .single-listing-text .for-selected").html(parseInt(jQuery(".single-listing-info .single-listing-text.small .per-night").html()) * 7); } else if (jQuery.cookie('vh_selected_date').indexOf(" - ") > -1) { var a_date = new Date(Date.parse(jQuery.cookie('vh_startrange')).toString('yyyy'), parseInt(Date.parse(jQuery.cookie('vh_startrange')).toString('M')) - 1, Date.parse(jQuery.cookie('vh_startrange')).toString('d'), 0, 0, 0, 0); var b_date = new Date(Date.parse(jQuery.cookie('vh_endrange')).toString('yyyy'), parseInt(Date.parse(jQuery.cookie('vh_endrange')).toString('M')) - 1, Date.parse(jQuery.cookie('vh_endrange')).toString('d'), 0, 0, 0, 0); jQuery("#header-when, #header-top-when, #listing-when").val(jQuery.cookie('vh_selected_date')); jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html() * (Math.round((b_date - a_date) / 1000 / 60 / 60 / 24) + 1)); } else { jQuery("#header-when, #header-top-when, #listing-when").datepicker("setDate", new Date(jQuery.cookie('vh_selected_date'))); jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html()); } } if (jQuery.cookie('vh_selected_people') == null) { jQuery.cookie('vh_selected_people', '1 Adult/No Children', { path: '/' }); jQuery("#header-people, #listing-people").val(jQuery.cookie('vh_selected_people')); } else { jQuery("#header-people, #listing-people").val(jQuery.cookie('vh_selected_people')); } jQuery(".calendar-search-item").live({ mouseenter: function () { if (jQuery(this).hasClass("today")) { $tmp_start_date = Date.parse('today').toString('yyyy-MM-dd'); $tmp_end_date = ''; } else if (jQuery(this).hasClass("tomorrow")) { $tmp_start_date = Date.parse('tomorrow').toString('yyyy-MM-dd'); $tmp_end_date = ''; } else if (jQuery(this).hasClass("this_weekend")) { $tmp_start_date = Date.parse('saturday').toString('yyyy-MM-dd'); $tmp_end_date = Date.parse('next sunday').toString('yyyy-MM-dd'); } else if (jQuery(this).hasClass("next_week")) { $tmp_start_date = Date.parse('next monday').toString('yyyy-MM-dd'); $tmp_end_date = Date.parse('next monday').next().sunday().toString('yyyy-MM-dd'); } // Temporary reset selected date jQuery("#header-when, #header-top-when, #listing-when").datepicker("setDate", null); // sky_datepicker.datepicker("setDate", $tmp_start_date); jQuery("#header-when, #header-top-when, #listing-when").datepicker("refresh"); }, mouseleave: function () { $tmp_start_date = jQuery("#startrange").val(); $tmp_end_date = jQuery("#endrange").val(); jQuery("#header-when, #header-top-when, #listing-when").datepicker("refresh"); } }); jQuery(".calendar-search-item").live('click', function () { if (jQuery(this).hasClass("today")) { jQuery("#header-when, #header-top-when, #listing-when").val("Today"); var date = jQuery(this).find(".date-value").val(); jQuery("#startrange").val(Date.parse('today').toString('yyyy-MM-dd')); jQuery("#endrange").val(''); // Set date range cookies jQuery.cookie('vh_startrange', Date.parse('today').toString('yyyy-MM-dd'), { path: '/' }); jQuery.cookie('vh_endrange', '', { path: '/' }); jQuery.cookie('vh_selected_date', date, { path: '/' }); if (jQuery(".single-listing-info").length) { jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html()); } } else if (jQuery(this).hasClass("tomorrow")) { jQuery("#header-when, #header-top-when, #listing-when").val("Tomorrow"); var date = jQuery(this).find(".date-value").val(); jQuery("#startrange").val(Date.parse('tomorrow').toString('yyyy-MM-dd')); jQuery("#endrange").val(''); // Set date range cookies jQuery.cookie('vh_startrange', Date.parse('tomorrow').toString('yyyy-MM-dd'), { path: '/' }); jQuery.cookie('vh_endrange', '', { path: '/' }); jQuery.cookie('vh_selected_date', date, { path: '/' }); if (jQuery(".single-listing-info").length) { jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html()); } } else if (jQuery(this).hasClass("this_weekend")) { jQuery("#header-when, #header-top-when, #listing-when").val("This Weekend"); jQuery("#startrange").val(Date.parse('saturday').toString('yyyy-MM-dd')); jQuery("#endrange").val(Date.parse('next sunday').toString('yyyy-MM-dd')); // Set date range cookies jQuery.cookie('vh_startrange', Date.parse('saturday').toString('yyyy-MM-dd'), { path: '/' }); jQuery.cookie('vh_endrange', Date.parse('next sunday').toString('yyyy-MM-dd'), { path: '/' }); jQuery.cookie('vh_selected_date', 'This Weekend', { path: '/' }); if (jQuery(".single-listing-info").length) { jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html() * 2); } } else if (jQuery(this).hasClass("next_week")) { jQuery("#header-when, #header-top-when, #listing-when").val("Next week"); jQuery("#startrange").val(Date.parse('next monday').toString('yyyy-MM-dd')); jQuery("#endrange").val(Date.parse('next monday').next().sunday().toString('yyyy-MM-dd')); // Set date range cookies jQuery.cookie('vh_startrange', Date.parse('next monday').toString('yyyy-MM-dd'), { path: '/' }); jQuery.cookie('vh_endrange', Date.parse('next monday').next().sunday().toString('yyyy-MM-dd'), { path: '/' }); jQuery.cookie('vh_selected_date', 'Next week', { path: '/' }); if (jQuery(".single-listing-info").length) { jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html() * 7); } } // Hide datepicker hideDatePicker(jQuery(this).parent().parent().parent()); jQuery(".header-when.ui-datepicker").css({ 'display': 'none' }); $tmp_start_date = ''; $tmp_end_date = ''; }); jQuery(".geodir-addtofav-icon").hover(function () { jQuery(this).find(".fa-heart").addClass("icon-heart-1"); jQuery(this).parent().append("<span class=\"listing-slider-hover\">Add to favorites</span>"); jQuery(this).parent().find("span").show(); }, function () { jQuery(this).find(".fa-heart").removeClass("icon-heart-1"); jQuery(this).parent().find("span").remove(); }); jQuery(".geodir-removetofav-icon").hover(function () { jQuery(this).find(".fa-heart").addClass("icon-heart-1"); jQuery(this).parent().append("<span class=\"listing-slider-hover\">Remove from favorites</span>"); jQuery(this).parent().find("span").show(); }, function () { jQuery(this).find(".fa-heart").removeClass("icon-heart-1"); jQuery(this).parent().find("span").remove(); }); jQuery(".header-slider-prev, .header-slider-next").hover(function () { jQuery(".listing-item-rating, .listing-item-title, .listing-item-location, .listing-item-info").fadeOut(300); jQuery(".listing-item.first").removeClass("first"); }, function () { jQuery(".listing-item-rating, .listing-item-title, .listing-item-location, .listing-item-info").fadeIn(300); jQuery(".listing-carousel li").addClass("first"); }); jQuery(".listing-item-video").click(function () { jQuery(".listing-item").find("iframe").css({ "position": "relative", "z-index": "22" }); jQuery(".listing-item").find("iframe").parent().append("<a href=\"javascript:void(0)\" class=\"listing-item-exitfullscreen icon-resize-small\"></a>"); }); jQuery(".listing-item-exitfullscreen").live("click", function () { jQuery(".listing-item").find("iframe").css({ "position": "initial", "z-index": "0" }); jQuery(".listing-item").find("iframe").parent().find(".listing-item-exitfullscreen").remove(); }); function get_datepicker_highlights() { var today, tomorrow, this_weekend, next_week = ""; jQuery(".date-value").each(function (i, val) { if (i == "0") { today = '{"value_type":"today","value_date":"' + jQuery(this).val() + '"},'; } else if (i == 1) { tomorrow = '{"value_type":"tomorrow","value_date":"' + jQuery(this).val() + '"},'; } else if (i == 2) { this_weekend = '{"value_type":"this_weekend","value_date":"' + jQuery(this).val() + '"},'; } else if (i == 3) { next_week = '{"value_type":"next_week","value_date":"' + jQuery(this).val() + '"}'; } }); return "[" + today + tomorrow + this_weekend + next_week + "]"; } setTimeout(function () { jQuery(".listing-carousel-container").jcarousel({ wrap: "circular" }); }, 500); jQuery(".listing-carousel li").each(function () { jQuery(this).css("width", jQuery(window).width()); }); jQuery(window).bind("debouncedresize", function () { jQuery(".listing-carousel li").each(function () { jQuery(this).css("width", jQuery(window).width()); jQuery('.listing-carousel-container').jcarousel(); }); if (jQuery('body').hasClass('single-geodir-page')) { if (jQuery(window).width() > 1200) { jQuery(".stick_trigger_container").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57 }); jQuery(".geodir_marker_cluster").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57 }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css({ "width": ((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57 }); } else { jQuery(".stick_trigger_container").css({ "width": "100%" }); jQuery(".geodir_marker_cluster").css({ "width": "100%" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css({ "width": "100%" }); } var position = jQuery.goMap.map.getCenter(); google.maps.event.trigger(jQuery.goMap.map, "resize"); jQuery.goMap.map.setCenter(position); } else { var sidebar_width = jQuery(".geodir-map-left").outerWidth(); jQuery(".stick_trigger_container").css("width", jQuery(window).width() - sidebar_width + "px"); jQuery(".geodir_marker_cluster").css("width", jQuery(window).width() - sidebar_width + "px"); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css("width", jQuery(window).width() - sidebar_width + "px"); } if (jQuery("body").hasClass("skydirectory")) { jQuery('body.single-geodir-page #geodir-wrapper, body.geodir-listing-preview #geodir-wrapper').css('margin-top', jQuery('.listing-carousel-container').height() + 70); } else { jQuery('body.single-geodir-page #geodir-wrapper, body.geodir-listing-preview #geodir-wrapper').css('margin-top', jQuery('.listing-carousel-container').height() + 140); } }); jQuery('.header-slider-next').click(function () { jQuery(".listing-carousel-container").jcarousel('scroll', '+=1'); }); jQuery('.header-slider-prev').click(function () { jQuery(".listing-carousel-container").jcarousel('scroll', '-=1'); }); jQuery('.listing-item-fullscreen').click(function () { jQuery(".listing-carousel-container").css("opacity", "0"); jQuery(".listing-gallery-carousel-main").fadeIn(150); jQuery(".gdplaces-header-container").addClass("gallery"); jQuery("body").addClass("header-gallery"); window.scrollTo(0, 70); if (jQuery("body").hasClass("skydirectory")) { var geodir_height = Number(jQuery(window).height()) + 70; } else { var geodir_height = Number(jQuery(window).height()) + 140; } var picture_max_height = Number(jQuery(window).height()) - 325; if (jQuery("body").hasClass("admin-bar")) { var container_height = jQuery(window).height() - 32; } else { var container_height = jQuery(window).height(); } jQuery(".listing-gallery-carousel-main").append("<style>.gdplaces-header-container.gallery .listing-carousel-container, .gdplaces-header-container.gallery .listing-gallery-carousel-main, .gdplaces-header-container.gallery .listing-gallery-carousel-container { height: " + container_height + "px; } body.single-geodir-page.header-gallery #geodir-wrapper { margin-top: " + geodir_height + "px; } .listing-gallery-item.active-right img, .listing-gallery-item.active-left img { max-height: " + picture_max_height + "px; } .listing-gallery-carousel li { height: " + container_height + "px; }</style>"); // jQuery('html, body').animate({scrollTop: '+=70px'}, 300); }); jQuery('.text-field-placeholder').each(function () { if (jQuery(this).val() == 'Captcha') { jQuery(this).next().find('input[type=text]').attr("placeholder", jQuery(this).val()); } else if (jQuery(this).next().attr('type') == 'text' || jQuery(this).next().is('textarea')) { jQuery(this).next().attr("placeholder", jQuery(this).val()); }; }) jQuery('.easy-button').addClass('wpb_button wpb_btn-primary wpb_regularsize'); if (!jQuery('body').hasClass('skyestate')) { jQuery('.single-listing-booknow').click(function () { var startdate = $.datepicker.formatDate('dd.mm.yy', new Date(jQuery('#startrange').val())); var enddate = $.datepicker.formatDate('dd.mm.yy', new Date(jQuery('#endrange').val())); if (enddate == 'NaN.NaN.NaN') { enddate = startdate; }; if (jQuery('#startrange').val() != '') { jQuery('#easy-listing-datepicker-from').val(startdate); }; if (jQuery('#endrange').val() == '') { jQuery('#easy-listing-datepicker-to').val(startdate); } else { jQuery('#easy-listing-datepicker-to').val(enddate); } jQuery('#easy_listing_form').submit(); }) }; jQuery(".listing-item-exitfullscreen").live("click", function () { if (jQuery(this).hasClass("googlemap") && !jQuery(this).hasClass("icon-resize-small") && jQuery("body").hasClass("geodir-main-search")) { jQuery(".geodir-map-listing-filters").hide(); jQuery(".geodir-map-listing-top").hide(); jQuery("body.geodir-main-search .geodir_category_list_view").hide(); jQuery("body.geodir-main-search .stick_trigger_container").css({ 'top': '0', 'float': 'left' }); jQuery("body").addClass("geodir-fullmap"); var content_width = jQuery("#geodir-wrapper").outerWidth(); var browser_width = jQuery(window).width(); if (jQuery("body").hasClass("admin-bar")) { var browser_height = jQuery(window).height() - 102; } else { var browser_height = jQuery(window).height() - 70; } jQuery(".stick_trigger_container").css({ "width": browser_width + "px", "height": browser_height + "px" }); jQuery(".geodir_marker_cluster").css({ "width": browser_width, "height": browser_height + "px", "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css({ "width": browser_width, "height": browser_height + "px" }); var extra_html = '<a href="javascript:void(0)" class="geodir-map-filters googlemap"></a>' jQuery(this).parent().append('<a href="javascript:void(0)" class="listing-item-exitfullscreen icon-resize-small googlemap"></a><div class="clearfix"></div>' + extra_html); jQuery(this).remove(); var position = jQuery.goMap.map.getCenter(); google.maps.event.trigger(jQuery.goMap.map, "resize"); jQuery.goMap.map.setCenter(position); } else if (jQuery(this).hasClass("googlemap") && jQuery(this).hasClass("icon-resize-small") && jQuery("body").hasClass("geodir-main-search")) { jQuery(".geodir-map-listing-filters").show(); jQuery(".geodir-map-listing-top").show(); jQuery("body.geodir-main-search .geodir_category_list_view").show(); jQuery(".geodir-filter-container").hide(); jQuery("body.geodir-main-search .stick_trigger_container").css({ 'top': '0', 'float': 'left' }); jQuery("body").removeClass("geodir-fullmap"); var content_width = jQuery("#geodir-wrapper").outerWidth(); var browser_width = jQuery(window).width(); if (jQuery("body").hasClass("admin-bar")) { var browser_height = jQuery(window).height() - 102; } else { var browser_height = jQuery(window).height() - 70; } jQuery(".stick_trigger_container").css({ "width": browser_width - 673 + "px", "height": browser_height + "px" }); jQuery(".geodir_marker_cluster").css({ "width": browser_width - 673, "height": browser_height + "px", "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css({ "width": browser_width - 673, "height": browser_height + "px" }); jQuery(this).parent().append('<a href="javascript:void(0)" class="listing-item-exitfullscreen icon-resize-full googlemap"></a>'); jQuery(".geodir-map-filters.googlemap").remove(); jQuery(this).remove(); var position = jQuery.goMap.map.getCenter(); google.maps.event.trigger(jQuery.goMap.map, "resize"); jQuery.goMap.map.setCenter(position); var listing_price = ''; var listing_price_val = ''; var listing_guests = ''; var listing_guests_val = ''; var listing_bedrooms = ''; var listing_bedrooms_val = ''; var listing_beds = ''; var listing_beds_val = ''; jQuery("#geodir-filter-list li").each(function () { if (jQuery(this).find(".tagit-label").html() != undefined && jQuery(this).find(".tagit-label").html().indexOf("per night") >= 0) { listing_price = listing_price_val = jQuery(this).find(".tagit-label").html(); } else if (jQuery(this).find(".tagit-label").html() != undefined && jQuery(this).find(".tagit-label").html().indexOf("guests") >= 0) { listing_guests = listing_guests_val = jQuery(this).find(".tagit-label").html(); } else if (jQuery(this).find(".tagit-label").html() != undefined && jQuery(this).find(".tagit-label").html().indexOf("bedrooms") >= 0) { listing_bedrooms = listing_bedrooms_val = jQuery(this).find(".tagit-label").html(); } else if (jQuery(this).find(".tagit-label").html() != undefined && jQuery(this).find(".tagit-label").html().indexOf("beds") >= 0) { listing_beds = listing_beds_val = jQuery(this).find(".tagit-label").html(); } }); jQuery.ajax({ type: 'POST', url: my_ajax.ajaxurl, data: { "action": "geodir_search_markers", listing_date: jQuery(".geodir-filter-when-value").html(), listing_price: listing_price_val, listing_guests: listing_guests_val, listing_bedrooms: listing_bedrooms_val, listing_beds: listing_beds_val }, success: function (response) { var jsonData = jQuery.parseJSON(response); return false; } }); get_geodir_search_posts(jQuery(".geodir-filter-when-value").html(), listing_price, listing_guests, listing_bedrooms, listing_beds, my_ajax.ajaxurl); } else if (jQuery(this).hasClass("googlemap") && jQuery(this).hasClass("icon-resize-small")) { var listing_price = ''; var listing_guests = ''; var listing_bedrooms = ''; var listing_beds = ''; jQuery.ajax({ type: 'POST', url: my_ajax.ajaxurl, data: { "action": "geodir_search_sidemap" }, success: function (response) { jQuery("#geodir-main-search").html(jQuery("#geodir-main-search").html() + response); // jQuery("body.geodir-main-search .stick_trigger_container").css({'top': '0', 'float': 'left'}); // var extra_html = '<a href="javascript:void(0)" class="geodir-map-filters googlemap"></a>' // jQuery(".geodir_map_container").append('<a href="javascript:void(0)" class="listing-item-exitfullscreen icon-resize-small googlemap"></a><div class="clearfix"></div>'+extra_html); return false; } }); jQuery("#geodir-filter-list li").each(function () { if (jQuery(this).find(".tagit-label").html() != undefined && jQuery(this).find(".tagit-label").html().indexOf("per night") >= 0) { listing_price = jQuery(this).find(".tagit-label").html(); } else if (jQuery(this).find(".tagit-label").html() != undefined && jQuery(this).find(".tagit-label").html().indexOf("guests") >= 0) { listing_guests = jQuery(this).find(".tagit-label").html(); } else if (jQuery(this).find(".tagit-label").html() != undefined && jQuery(this).find(".tagit-label").html().indexOf("bedrooms") >= 0) { listing_bedrooms = jQuery(this).find(".tagit-label").html(); } else if (jQuery(this).find(".tagit-label").html() != undefined && jQuery(this).find(".tagit-label").html().indexOf("beds") >= 0) { listing_beds = jQuery(this).find(".tagit-label").html(); } }); get_geodir_search_posts(jQuery(".geodir-filter-when-value").html(), listing_price, listing_guests, listing_bedrooms, listing_beds, my_ajax.ajaxurl); } else { jQuery(".listing-carousel-container").css("opacity", "1"); jQuery(".listing-gallery-carousel-main").fadeOut(150); jQuery(".gdplaces-header-container").removeClass("gallery"); jQuery("body").removeClass("header-gallery"); } }); function get_geodir_search_posts(date, price, guests, bedrooms, beds, ajaxurl) { jQuery.ajax({ type: 'POST', url: ajaxurl, data: { "action": "geodir_search", listing_date: date, listing_price: price, listing_guests: guests, listing_bedrooms: bedrooms, listing_beds: beds }, success: function (response) { jQuery("#geodir-main-search").html(response); // jQuery(".geodir_category_list_view").isotope(); // jQuery(".map-listing-carousel-container").jcarousel({wrap: "circular"}); jQuery(".property-count").html(jQuery("#geodir-search-results").val()); jQuery("#geodir-main-search").removeClass("loading"); jQuery(".geodir-map-listing-filters").show(); jQuery(".geodir-map-listing-top").show(); jQuery("body.geodir-main-search .geodir_category_list_view").show(); jQuery(".geodir-filter-container").hide(); return false; } }); } function get_geodir_fullmap(ajaxurl) { jQuery.ajax({ type: 'POST', url: ajaxurl, data: { "action": "geodir_search_fullmap" }, success: function (response) { jQuery("#geodir-main-search").html(response); jQuery("body.geodir-main-search .stick_trigger_container").css({ 'top': '0', 'float': 'left' }); var extra_html = '<a href="javascript:void(0)" class="geodir-map-filters googlemap"></a>' jQuery(".geodir_map_container").append('<a href="javascript:void(0)" class="listing-item-exitfullscreen icon-resize-small googlemap"></a>' + extra_html); return false; } }); } // jQuery(".geodir_map_container").append('<a href="javascript:void(0)" class="listing-item-exitfullscreen icon-resize-small googlemap"></a>'+extra_html); jQuery(document).on('click', '.header-custom-posts a:not(.active)', function () { jQuery('#form-loading-effect').fadeIn(); jQuery('.header-custom-posts a').removeClass('active'); jQuery(this).addClass('active'); jQuery.ajax({ type: 'POST', url: my_ajax.ajaxurl, data: { "action": "geodir_custom_posts", post_type: jQuery(this).text() }, success: function (response) { jQuery('.header-search-form').html(response); jQuery("select.chosen_select").chosen(); if (jQuery("#header-when, #header-top-when").length) { jQuery("#header-when, #header-top-when, #listing-when").datepicker({ dateFormat: 'yy-mm-dd', onClose: function (dateText, inst) { jQuery(".ui-datepicker").stop(false, true); }, dayNamesMin: ['SUN', 'MON', 'TUE', 'WED', 'THU', 'FRI', 'SAT'], showAnim: 'fadeIn', minDate: 0, onChangeMonthYear: function () { setTimeout(function () { jQuery(".search-calendar-container").width(jQuery(".search-calendar-options").outerWidth() + jQuery("#ui-datepicker-div").outerWidth() - 12); if (jQuery(window).width() < 767) { jQuery(".search-calendar-container").height(jQuery("#ui-datepicker-div").outerHeight() - 4 + 272); } else { jQuery(".search-calendar-container").height(jQuery("#ui-datepicker-div").outerHeight() - 4); } jQuery(".search-calendar-options").height(jQuery("#ui-datepicker-div").outerHeight() - 4); }, 50); }, onSelect: function (dateText, inst) { // Page has been reloaded, if user tries to select new date then start all over again if (!$date_selected) { jQuery("#startrange").val(''); jQuery("#startrange").val(''); } var date1 = jQuery.datepicker.parseDate('yy-mm-dd', jQuery("#startrange").val()); var date2 = jQuery.datepicker.parseDate('yy-mm-dd', jQuery("#endrange").val()); if (!date1 || date2) { if (jQuery(".single-listing-info").length) { jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html()); } jQuery("#startrange").val(dateText); jQuery("#endrange").val(""); // Start date is selected. Set min date to selected start date. jQuery(this).datepicker("option", "minDate", dateText); // Get date from datepicker startDate = dateText; // Set input field value jQuery("#header-when, #listing-when").val(startDate); // Set cookie jQuery.cookie('vh_selected_date', startDate, { path: '/' }); // Set date range cookies jQuery.cookie('vh_startrange', dateText, { path: '/' }); jQuery.cookie('vh_endrange', '', { path: '/' }); // Keep open datepicker showDatePicker(); jQuery(".ui-datepicker").css({ 'display': 'block' }); } else { jQuery("#endrange").val(dateText); // jQuery("#header-when, #listing-when").datepicker('hide'); // End date is selected. Set min date to "today" jQuery(this).datepicker("option", "minDate", 0); // Get date from datepicker endDate = dateText; // Format date var startformatted = $.datepicker.formatDate('d', new Date(startDate)); var endformatted = $.datepicker.formatDate('d M', new Date(endDate)); var year = endDate.split("-"); // Set input field value jQuery("#header-when, #header-top-when, #listing-when").val(startformatted + " - " + endformatted + " " + year["0"]); dateRange = []; for (var d = new Date(startDate) ; d <= new Date(endDate) ; d.setDate(d.getDate() + 1)) { dateRange.push($.datepicker.formatDate('yy-mm-dd', d)); } // Set cookie (Format: 30 - 32 Dec 2014) jQuery.cookie('vh_selected_date', startformatted + " - " + endformatted + " " + year["0"], { path: '/' }); // Set date range cookies jQuery.cookie('vh_endrange', dateText, { path: '/' }); // Reset daterange dateRange = []; // Remove click event jQuery('.vh_wrapper').off('click.calendar'); var a_date = new Date(Date.parse(jQuery.cookie('vh_startrange')).toString('yyyy'), parseInt(Date.parse(jQuery.cookie('vh_startrange')).toString('M')) - 1, Date.parse(jQuery.cookie('vh_startrange')).toString('d'), 0, 0, 0, 0); var b_date = new Date(Date.parse(jQuery.cookie('vh_endrange')).toString('yyyy'), parseInt(Date.parse(jQuery.cookie('vh_endrange')).toString('M')) - 1, Date.parse(jQuery.cookie('vh_endrange')).toString('d'), 0, 0, 0, 0); if (jQuery(".single-listing-info").length) { jQuery(".single-listing-info .single-listing-text .for-selected").html(jQuery(".single-listing-info .single-listing-text.small .per-night").html() * (Math.round((b_date - a_date) / 1000 / 60 / 60 / 24) + 1)); } // Hide datepicker hideDatePicker(jQuery(this).parent()); jQuery(".ui-datepicker").css({ 'display': 'none' }); $date_selected = false; $tmp_start_date = ''; $tmp_end_date = ''; } $date_selected = true; jQuery("td.highlighted").removeClass("highlighted"); }, beforeShowDay: function (date) { var date1, date2 = ''; if ($tmp_start_date) { date1 = jQuery.datepicker.parseDate('yy-mm-dd', $tmp_start_date); date2 = jQuery.datepicker.parseDate('yy-mm-dd', $tmp_end_date); } else { date1 = jQuery.datepicker.parseDate('yy-mm-dd', jQuery("#startrange").val()); date2 = jQuery.datepicker.parseDate('yy-mm-dd', jQuery("#endrange").val()); } return [true, date1 && ((date.getTime() == date1.getTime()) || (date2 && date >= date1 && date <= date2)) ? "highlighted" : ""]; }, beforeShow: function (input) { // Add click event with delay setTimeout(function () { // When click anywhere check if it's not calendar. jQuery('.vh_wrapper').on("click.calendar", function (e) { // Remove click event hideDatePicker(jQuery('body')); jQuery(".ui-datepicker").css({ 'display': 'none' }); $date_selected = false; $tmp_start_date = ''; $tmp_end_date = ''; jQuery('.vh_wrapper').off('click.calendar'); }); }, 200); // Set min date to "today" jQuery(this).datepicker("option", "minDate", 0); jQuery("#header-when, #header-top-when").datepicker("refresh"); } }); } if ((jQuery("#header-type").length || jQuery("#header-top-type").length || jQuery("#header_category").length || jQuery("#header-top-category").length) && my_ajax.geo_advanced_search == 'false') { jQuery("#header-type, #header-top-type, #header_category, #header-top-category").autocomplete({ source: my_ajax.ajaxurl + "?action=vh_get_listing_category&vh_post_type=" + jQuery('#header-post-type').val(), minLength: 2,//search after two characters select: function (event, ui) { jQuery(this).parent().removeClass('triangle'); }, html: true, open: function () { jQuery(this).parent().find('.search-contract-container').removeClass('active').hide(); jQuery(this).parent().addClass('triangle'); jQuery(".ui-autocomplete").css({ left: "-=7", top: "+=4" }); } }).data("ui-autocomplete")._renderItem = function (ul, item) { return $("<li></li>") .data("item.autocomplete", item) .append("<a>" + item.label + "</a>") .appendTo(ul); }; }; //if ((jQuery("#header-location").length || jQuery("#header-top-location").length) && my_ajax.geo_advanced_search == 'false' && my_ajax.autocomplete == '1') { // jQuery("#header-location, #header-top-location").autocomplete({ // source: my_ajax.ajaxurl + "?action=vh_get_location_search_terms&vh_post_type=" + jQuery('#header-post-type').val(), // minLength: 2,//search after two characters // select: function (event, ui) { // jQuery.cookie('vh_viewer_location', ui.item.value, { path: '/' }); // if (my_ajax.autosubmit == '1') { // jQuery("#header_submit, #header_submit2").click(); // }; // }, // html: true, // open: function () { // jQuery(".ui-autocomplete:visible").css({ left: "-=6" }); // } // }).data("ui-autocomplete")._renderItem = function (ul, item) { // return $("<li></li>") // .data("item.autocomplete", item) // .append("<a>" + item.label + "</a>") // .appendTo(ul); // }; //}; if (jQuery.cookie('vh_selected_people') == null) { jQuery.cookie('vh_selected_people', '1 Adult/No Children', { path: '/' }); jQuery("#header-people, #listing-people").val(jQuery.cookie('vh_selected_people')); } else { jQuery("#header-people, #listing-people").val(jQuery.cookie('vh_selected_people')); } if (jQuery.cookie('vh_selected_date') != null) { jQuery('#header-when').val(jQuery.cookie('vh_selected_date')); }; if (jQuery('.header-input-container input[name=event]').length) { var d = new Date(); var month = d.getMonth() + 1; var day = d.getDate(); var date = d.getFullYear() + '-' + (month < 10 ? '0' : '') + month + '-' + (day < 10 ? '0' : '') + day; jQuery('.header-input-container input[name=event]').attr('placeholder', date); }; return false; } }); }); jQuery('#geodir_accept_term_condition_row .geodir_button').click(function () { e.preventDefault(); console.log('clicked'); }); jQuery(".geodir-map-filters.googlemap").live("click", function () { if (jQuery(this).hasClass("active")) { jQuery(".geodir-filter-container").hide(); } else { jQuery(".geodir-filter-container").show(); } jQuery(this).toggleClass("active"); jQuery(".geodir-filter-container").css('left', '525px'); }) if (jQuery('.listing-gallery-carousel li').length >= 4) { jQuery(".listing-gallery-carousel-container").jcarousel({ wrap: "circular" }).on('jcarousel:fullyvisiblein', 'li', function (event, carousel) { jQuery(".listing-gallery-carousel li").removeClass("active-left"); jQuery(".listing-gallery-carousel li").removeClass("active"); jQuery(".listing-gallery-carousel li").removeClass("active-right"); carousel._target.addClass("active-left"); carousel._target.next().addClass("active"); carousel._target.next().next().addClass("active-right"); }); }; jQuery(".listing-gallery-carousel li:nth-child(1)").addClass("active-left"); jQuery(".listing-gallery-carousel li:nth-child(2)").addClass("active"); jQuery(".listing-gallery-carousel li:nth-child(3)").addClass("active-right"); jQuery(".listing-gallery-carousel li").each(function () { jQuery(this).css("width", jQuery(window).width() / 3); }); jQuery(window).bind("debouncedresize", function () { jQuery(".listing-gallery-carousel li").each(function () { jQuery(this).css("width", jQuery(window).width() / 3); }); jQuery(".featured-properties-row").each(function () { jQuery(this).css("width", jQuery(window).width() / 3); }); }); jQuery('.header-gallery-slider-next').click(function () { jQuery(".listing-gallery-carousel-container").jcarousel('scroll', '+=1'); if (parseInt(jQuery(".header-gallery-counter").find(".max-items").html()) == parseInt(jQuery(".header-gallery-counter").find(".current-item").html())) { jQuery(".header-gallery-counter").find(".current-item").html(0); }; jQuery(".header-gallery-counter").find(".current-item").html(parseInt(jQuery(".header-gallery-counter").find(".current-item").html()) + 1); }); jQuery('.header-gallery-slider-prev').click(function () { jQuery(".listing-gallery-carousel-container").jcarousel('scroll', '-=1'); if (parseInt(jQuery(".header-gallery-counter").find(".current-item").html()) == 1) { jQuery(".header-gallery-counter").find(".current-item").html(parseInt(jQuery(".header-gallery-counter").find(".max-items").html()) + 1); }; jQuery(".header-gallery-counter").find(".current-item").html(parseInt(jQuery(".header-gallery-counter").find(".current-item").html()) - 1); }); jQuery(".stick_trigger_container .listing-item-exitfullscreen:not(.streetview)").live('click', function () { if (!jQuery("body").hasClass("geodir-main-search")) { if (!jQuery(this).hasClass("active")) { var content_width = jQuery("#geodir-wrapper").outerWidth(); var browser_width = jQuery(window).width(); if (jQuery("body").hasClass("admin-bar")) { var browser_height = jQuery(window).height() - 32; } else { var browser_height = jQuery(window).height(); } if (jQuery("body").hasClass("skyestate") || jQuery("body").hasClass("skyvacation")) { var scroll_to = 70 + 611 + 70; } else { var scroll_to = 70 + 611; } window.scrollTo(0, scroll_to); jQuery(".stick_trigger_container").css({ "width": browser_width + "px", "height": browser_height + "px", "left": "-" + parseInt(jQuery(".single-listing-sidebar").offset().left) + "px", "position": "relative" }); jQuery(".geodir_marker_cluster").css({ "width": browser_width, "height": browser_height + "px", "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css({ "width": browser_width, "height": browser_height + "px" }); jQuery(".single-listing-by").css({ "margin-top": browser_height + "px" }); jQuery(".single-listing-sidebar > .google-map-main").hide(); jQuery(this).addClass('icon-resize-small') var position = jQuery.goMap.map.getCenter(); google.maps.event.trigger(jQuery.goMap.map, "resize"); jQuery.goMap.map.setCenter(position); jQuery(this).addClass("active"); jQuery(this).next().addClass('icon-resize-small'); } else { var content_width = jQuery("#geodir-wrapper").outerWidth(); var browser_width = jQuery(window).width(); if (jQuery("body").hasClass("admin-bar")) { var browser_height = jQuery(window).height() - 32; } else { var browser_height = jQuery(window).height(); } if (jQuery("body").hasClass("skyestate")) { var scroll_to = 70 + 611 + 70; }; window.scrollTo(0, scroll_to); jQuery(".stick_trigger_container").css({ "width": (browser_width - jQuery(".single-listing-sidebar").offset().left) + "px", "height": "425px", "left": "0", "position": "relative" }); jQuery(".geodir_marker_cluster").css({ "width": (browser_width - jQuery(".single-listing-sidebar").offset().left) + "px", "height": "425px", "left": "0", "position": "relative" }); jQuery(".geodir_map_container, #home_map_canvas_wrapper, #geodir_map_v3_home_map_100_wrapper, #geodir_map_v3_home_map_101_wrapper, #geodir_map_v3_home_map_102_wrapper").css({ "width": (browser_width - jQuery(".single-listing-sidebar").offset().left) + "px", "height": "425px" }); jQuery(".single-listing-by").css({ "margin": "0" }); jQuery(".single-listing-sidebar > .google-map-main").show(); jQuery(this).removeClass('icon-resize-small'); var position = jQuery.goMap.map.getCenter(); google.maps.event.trigger(jQuery.goMap.map, "resize"); jQuery.goMap.map.setCenter(position); jQuery(this).removeClass("active"); jQuery(this).next().removeClass('icon-resize-small'); } jQuery(this).toggleClass("active"); }; }); jQuery(".stick_trigger_container .listing-item-exitfullscreen").live('click', function () { if (!jQuery("body").hasClass("geodir-main-search")) { if (!jQuery(this).hasClass("active")) { if (jQuery(this).hasClass('streetview')) { var position = new google.maps.LatLng(vh_main.post_info['0']['post_latitude'], vh_main.post_info['0']['post_longitude']); var panorama = jQuery.goMap.map.getStreetView(); panorama.setPosition(position); panorama.setPov({ heading: 45, pitch: -10 } ); panorama.setVisible(true); // jQuery.goMap.setMap({addressControlOptions: {position: 'TOP_RIGHT'}}); }; } else { if (jQuery(this).hasClass('streetview')) { var position = jQuery.goMap.map.getCenter(); var panorama = jQuery.goMap.map.getStreetView(); panorama.setVisible(false); // jQuery.goMap.setMap({streetViewControl: false}); }; } jQuery(this).toggleClass("active"); }; }); if (jQuery('body').hasClass('single-geodir-page')) { jQuery('.stick_trigger_container').append('<a href="javascript:void(0)" class="listing-item-exitfullscreen icon-resize-full googlemap"></a>'); jQuery('.stick_trigger_container').append('<a href="javascript:void(0)" class="listing-item-exitfullscreen icon-resize-full googlemap streetview"></a>'); }; jQuery('.popular-destinations-container.half-right, .popular-destinations-container.half-left').hover(function () { jQuery(this).find('img').first().stop().animate({ 'margin-left': '0' }, 200, function () { }); }, function () { jQuery(this).find('img').first().animate({ 'margin-left': '-29px' }, 200, function () { }); }); jQuery('.featured-properties-container.animation').hover(function () { jQuery(this).find('img').first().stop().animate({ 'margin-left': '0' }, 200, function () { }); }, function () { jQuery(this).find('img').first().animate({ 'margin-left': '-29px' }, 200, function () { }); }); jQuery(".reply-count").click(function () { if (jQuery(this).parent().parent().parent().hasClass("active")) { jQuery(this).parent().parent().parent().find("ul.children").first().fadeOut(300, function () { jQuery(this).parent().removeClass("active"); }); } else { jQuery(this).parent().parent().parent().addClass("active"); jQuery(this).parent().parent().parent().find("ul.children").first().fadeIn(300); } }); jQuery(".add-review-container a, .comment-reply-link").click(function (e) { e.preventDefault(); var comment_title = jQuery("#respond #reply-title").html().split("<small>"); jQuery("#respond").dialog({ modal: true, width: 678, resizable: false, dialogClass: "main-dialog", title: comment_title["0"], position: { my: "center center", at: "center center" }, close: function () { jQuery(this).dialog('destroy'); }, create: function () { jQuery(".ui-dialog-title").append(" <span>" + jQuery("#listing-name").val() + "</span>"); } }); jQuery(".form-submit #submit").addClass("wpb_button wpb_btn-primary wpb_btn-small"); if (jQuery(".form-submit").find(".close-dialog").length == 0) { jQuery(".form-submit").append("<a href=\"javascript:void(0)\" class=\"close-dialog wpb_button wpb_btn-inverse wpb_btn-small\">Cancel</a>"); }; }); jQuery('.comment-reply-link').click(function () { jQuery('.review-container').hide(); jQuery(".ui-dialog-title").html('Leave a reply on' + " <span>" + jQuery("#listing-name").val() + "</span>"); }); jQuery('.add-review-container > a').click(function () { jQuery('.review-container').show(); }); jQuery(".close-dialog").live("click", function () { jQuery("#respond").dialog('destroy'); }) jQuery(".google-map-container").hover(function () { var marker = jQuery(this)["0"].id.split("-"); jQuery("div[id^='geo-marker-']").removeClass("hovered-list"); jQuery("#geo-marker-" + marker["3"] + "").addClass("hovered-list"); }, function () { jQuery("div[id^='geo-marker-']").removeClass("hovered-list"); }); jQuery("div[id^='geo-marker-']").live("mouseover", function () { var marker = jQuery(this)["0"].id.split("-"); jQuery("#list-geo-marker-" + marker["2"] + "").addClass("map-hover"); }); jQuery("div[id^='geo-marker-']").live("mouseout", function () { var marker = jQuery(this)["0"].id.split("-"); jQuery(".google-map-container").removeClass("map-hover"); }); jQuery(window).bind("debouncedresize", function () { vh_resize_carousel_images(); vh_resize_header_video(); jQuery(".google-map-main").width(((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57); }); vh_resize_carousel_images(); jQuery(".google-map-main").width(((jQuery(window).width() - 1200) / 2) + jQuery('.single-listing-sidebar').width() + 57); function vh_resize_carousel_images() { if (jQuery(window).width() > 1200) { jQuery(".featured-properties-row, .blog-carousel .blog-row").css({ "max-width": '1170px', "min-width": '1170px', "width": '1170px' }); jQuery('.featured-properties-row .featured-properties-inner-carousel img').css('width', 'auto'); } else if (jQuery(window).width() < 1200) { jQuery(".featured-properties-row, .blog-carousel .blog-row").css({ "max-width": jQuery(window).width() - 30, "min-width": jQuery(window).width() - 30, "width": jQuery(window).width() - 30 }); var image_width = jQuery('.featured-properties-row .featured-properties-inner-carousel-container').outerWidth(); jQuery('.featured-properties-row .featured-properties-inner-carousel img').css('width', image_width); jQuery('.featured-properties-row .featured-properties-container .featured-properties-inner-carousel img').css('width', parseInt(image_width + (image_width * 0.25))); jQuery('.featured-properties-row .featured-properties-container.wide .featured-properties-inner-carousel img').css('width', parseInt(image_width + (image_width * 1.5))); if (jQuery('.featured-properties-inner-carousel-container').length) { jQuery('.featured-properties-inner-carousel-container').jcarousel(); jQuery('.featured-properties-inner-carousel-container').jcarousel('reload', { 'animation': 'fast' }); jQuery('.featured-properties-inner-carousel-container').jcarousel('scroll', '0'); }; } else { jQuery(".featured-properties-row, .blog-carousel .blog-row").css({ "max-width": "1170px", "min-width": "1170px", "width": jQuery(window).width() - 30 }); } } if (jQuery('#blog_post_container').length) { get_blog_posts(jQuery('#blog_posts_categories').val(), jQuery('#blog_posts_limit').val(), '1', my_ajax.ajaxurl); } jQuery('.geodir_package .geodir-select-package').click(function (e) { e.preventDefault(); jQuery(this).next().prop("checked", true).click(); }); function vh_resize_header_video() { var browser_width = jQuery(window).width(); var video_height = jQuery('#main_header_bg video').outerHeight(); jQuery('#main_header_bg video').css({ 'width': browser_width + 'px', 'height': 'auto' }); if (video_height < '747') { jQuery('#main_header_bg video').css('display', 'none'); } else { jQuery('#main_header_bg video').css('display', 'block'); } } function vh_getUrlParameter(sParam) { var sPageURL = window.location.search.substring(1); var sURLVariables = sPageURL.split('&'); for (var i = 0; i < sURLVariables.length; i++) { var sParameterName = sURLVariables[i].split('='); if (sParameterName[0] == sParam) { return sParameterName[1]; } } } if (jQuery('body').hasClass('geodirectory-payment-manager')) { if (vh_getUrlParameter('upgrade') != null && vh_getUrlParameter('pid') != null) { jQuery('.geodir_add_listing_fields, #geodir_coupon_code_row, #NotRecurring_sh, #propertyform h5, #gdfi_import_url, #gd_facebook_import, .gd-start-edate, .gd-event-end-div, .gd-all-day, .gd-event-time-row').hide(); jQuery('#gd_recurring_span').parent().parent().hide(); jQuery('.geodir_price_package_row').show(); } else if (vh_getUrlParameter('pid') != null) { jQuery('.geodir_add_listing_fields, #geodir_coupon_code_row, #NotRecurring_sh, #propertyform h5, #gdfi_import_url, #gd_facebook_import, .gd-start-edate, .gd-event-end-div, .gd-all-day, .gd-event-time-row').show(); jQuery('#gd_recurring_span').parent().parent().show(); jQuery('.geodir_price_package_row').hide(); } else if (vh_getUrlParameter('package_id') != null) { jQuery('.geodir_add_listing_fields, #geodir_coupon_code_row, #NotRecurring_sh, #propertyform h5, #gdfi_import_url, #gd_facebook_import, .gd-start-edate, .gd-event-end-div, .gd-all-day, .gd-event-time-row').show(); jQuery('#gd_recurring_span').parent().parent().show(); jQuery('.geodir_price_package_row').hide(); } else { jQuery('.geodir_add_listing_fields, #geodir_coupon_code_row, #NotRecurring_sh, #propertyform h5, #gdfi_import_url, #gd_facebook_import, .gd-start-edate, .gd-event-end-div, .gd-all-day, .gd-event-time-row').hide(); jQuery('#gd_recurring_span').parent().parent().hide(); jQuery('.geodir_price_package_row').show(); } } else { jQuery('.geodir_price_package_row').hide(); } jQuery('.featured-carousel-controls .delete-listing').click(function () { if (confirm('Are you sure you want to permanently deleted this listing?')) { return true; } else { return false; } }); function get_blog_posts(cat, limit, posts, ajaxurl) { jQuery.ajax({ type: 'POST', url: ajaxurl, data: { "action": "blog_posts", categories: cat, post_limit: limit, p_count: posts }, success: function (response) { jQuery("#blog_post_container").addClass('loaded'); jQuery("#blog_post_container").html(response); jQuery("#load_blog_posts").removeClass("disabled"); jQuery("#load_blog_posts").parent().removeClass("loading"); return false; } }); } jQuery('.geodir_add_listing_fields .geodir_button').click(function () { jQuery(this).parent().parent().submit(); }); jQuery("#load_blog_posts").click(function () { if (!jQuery(this).hasClass('disabled')) { jQuery("#posts_to_load").val(parseInt(jQuery("#posts_to_load").val()) + 1); get_blog_posts(jQuery('#blog_posts_categories').val(), jQuery('#blog_posts_limit').val(), jQuery("#posts_to_load").val(), my_ajax.ajaxurl); jQuery(this).parent().addClass('loading'); }; jQuery(this).addClass("disabled"); }) jQuery(".popular-destinations-container.city").hover(function () { jQuery(this).find(".city-text").show().animate({ opacity: 1 }, 150, function () { // Animation complete }); }, function () { jQuery(this).find(".city-text").animate({ opacity: 0 }, 150, function () { jQuery(this).hide(); }); }); if (jQuery("body").hasClass("page-template-template-frontpage-php") && !jQuery('body').hasClass('geodir_disabled')) { if (!jQuery.cookie('vh_user_location') && my_ajax.disable_geoloc == '0') { if (jQuery('body').hasClass('geolocation_on')) { vh_geolocate_user(); } else { vh_get_country_picture(); } } else if (!jQuery.cookie('vh_user_location') && my_ajax.disable_geoloc == '1') { jQuery.cookie('vh_user_location', my_ajax.def_country + "/" + my_ajax.def_city, { path: '/' }); } else { if (jQuery.cookie('vh_user_tracking') == 'denied') { vh_geolocate_user(); }; } }; function vh_geolocate_user() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function (position) { var geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude); geocoder.geocode({ 'latLng': latlng }, function (results, status) { // if user successfully tracked if (status == google.maps.GeocoderStatus.OK) { var country_val = ''; var city_val = ''; jQuery.each(results, function (key, value) { if (jQuery.inArray("country", value.types) != '-1') { country_val = value.formatted_address; jQuery("#current_country").html(country_val); } else if (jQuery.inArray("locality", value.types) != '-1') { city_val = value.address_components['0']['short_name']; jQuery("#current_city").html(city_val); }; }); jQuery.cookie('vh_user_location', country_val + "/" + city_val, { path: '/' }); jQuery.cookie('vh_user_tracking', 'allowed', { path: '/' }); if (!jQuery('body').hasClass('header_search_map') || my_ajax.header_map == 'false') { jQuery.ajax({ type: 'POST', url: my_ajax.ajaxurl, data: { "action": "get_header_bg", country: country_val }, success: function (response) { jQuery("#main_header_bg").html(response); return false; } }); jQuery.ajax({ type: 'POST', url: my_ajax.ajaxurl, data: { "action": "get_header_bg-information", c_country: country_val, c_city: city_val }, success: function (response) { jQuery("#current_listing_count").html(response); jQuery("#current_listing_count").show(); return false; } }); }; } }); }, function (error) { // if user denies tracking if (error.code == '1') { jQuery.cookie('vh_user_location', my_ajax.def_country + "/" + my_ajax.def_city, { path: '/' }); jQuery.cookie('vh_user_tracking', 'denied', { path: '/' }); }; }); } else { console.log("Geolocation services are not supported by your browser."); } } function vh_get_country_picture() { var def_country = my_ajax.def_country; if (def_country == '') { def_country = 'France'; }; var def_city = my_ajax.def_city; if (def_city == '') { def_city = 'Paris'; }; jQuery.cookie('vh_user_location', def_country + "/" + def_city, { path: '/' }); if (my_ajax.header_map == 'false') { jQuery.ajax({ type: 'POST', url: my_ajax.ajaxurl, data: { "action": "get_header_bg", country: def_country }, success: function (response) { jQuery("#main_header_bg").html(response); return false; } }); jQuery.ajax({ type: 'POST', url: my_ajax.ajaxurl, data: { "action": "get_header_bg-information", c_country: def_country, c_city: def_city }, success: function (response) { jQuery("#current_listing_count").html(response); jQuery("#current_listing_count").show(); return false; } }); }; } if (jQuery("#header-range-price").length) { jQuery("#header-range-price").slider({ range: true, min: 0, max: jQuery("#header-more-max-price").val(), values: [0, jQuery("#header-more-max-price").val()], slide: function (event, ui) { jQuery(this).parent().find(".range-slider-min").html(my_ajax.currency_symbol + ui.values[0]); jQuery(this).parent().find(".range-slider-max").html(my_ajax.currency_symbol + ui.values[1]); }, start: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-active"); jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-changed"); }, stop: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").removeClass("ui-active"); } }); }; if (jQuery("#header-range-area").length) { jQuery("#header-range-area").slider({ range: true, min: 1, max: 500, values: [1, 500], slide: function (event, ui) { jQuery(this).parent().find(".range-slider-min").html(ui.values[0]); jQuery(this).parent().find(".range-slider-max").html(ui.values[1]); }, start: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-active"); jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-changed"); }, stop: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").removeClass("ui-active"); } }); }; if (jQuery("#header-range-rooms").length) { jQuery("#header-range-rooms").slider({ range: true, min: 1, max: 10, values: [1, 10], slide: function (event, ui) { jQuery(this).parent().find(".range-slider-min").html(ui.values[0]); jQuery(this).parent().find(".range-slider-max").html(ui.values[1]); }, start: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-active"); jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-changed"); }, stop: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").removeClass("ui-active"); } }); }; if (jQuery("#header-range-bathrooms").length) { jQuery("#header-range-bathrooms").slider({ range: true, min: 1, max: 3, values: [1, 3], slide: function (event, ui) { jQuery(this).parent().find(".range-slider-min").html(ui.values[0]); jQuery(this).parent().find(".range-slider-max").html(ui.values[1]); }, start: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-active"); jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-changed"); }, stop: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").removeClass("ui-active"); } }); }; if (jQuery("#header-range-bedrooms").length) { jQuery("#header-range-bedrooms").slider({ range: true, min: 1, max: 5, values: [1, 5], slide: function (event, ui) { jQuery(this).parent().find(".range-slider-min").html(ui.values[0]); jQuery(this).parent().find(".range-slider-max").html(ui.values[1]); }, start: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-active"); jQuery(this).parent().find(".ui-slider-range.ui-widget-header").addClass("ui-changed"); }, stop: function (event, ui) { jQuery(this).parent().find(".ui-slider-range.ui-widget-header").removeClass("ui-active"); } }); }; jQuery(".header-more-button").live('click', function () { if (jQuery(this).hasClass("active")) { jQuery("#header-more-options").hide().css('opacity', '0'); jQuery(this).html('More options'); jQuery(this).addClass('icon-angle-down'); jQuery(this).removeClass('icon-angle-up'); } else { jQuery("#header-more-options").show().css('opacity', '1'); jQuery(this).html('Close options'); jQuery(this).removeClass('icon-angle-down'); jQuery(this).addClass('icon-angle-up'); } jQuery(this).toggleClass('active'); }) // jQuery("body.single-post .comment-form-email input, body.single-post .comment-form-comment textarea, .wpcf7-form-control-wrap input").focus(function() { // jQuery(this).parent().addClass("focused"); // }) // jQuery("body.single-post .comment-form-email input, body.single-post .comment-form-comment textarea, .wpcf7-form-control-wrap input").focusout(function() { // jQuery(this).parent().removeClass("focused"); // }) // jQuery("body.single-post .comment-form-email input, body.single-post .comment-form-comment textarea, .wpcf7-form-control-wrap input").hover(function() { // jQuery(this).parent().addClass("hovered"); // }, function() { // jQuery(this).parent().removeClass("hovered"); // }) jQuery(".review-container .star-icon").hover(function () { if (jQuery(this)["0"].id == "gd_star1") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("active icon-star"); jQuery("#gd_star1").addClass("active icon-star"); } else if (jQuery(this)["0"].id == "gd_star2") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("active icon-star"); jQuery("#gd_star1, #gd_star2").addClass("active icon-star"); } else if (jQuery(this)["0"].id == "gd_star3") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("active icon-star"); jQuery("#gd_star1, #gd_star2, #gd_star3").addClass("active icon-star"); } else if (jQuery(this)["0"].id == "gd_star4") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("active icon-star"); jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4").addClass("active icon-star"); } else if (jQuery(this)["0"].id == "gd_star5") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("active icon-star"); jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").addClass("active icon-star"); } }, function () { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("active icon-star"); }); jQuery(".review-container .star-icon").click(function () { if (jQuery(this)["0"].id == "gd_star1") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("clicked"); jQuery("#gd_star1").addClass("clicked"); jQuery(this).parent().parent().find("#geodir_overallrating").val(1); jQuery(this).parent().find("#geodir_overallrating").val(1); } else if (jQuery(this)["0"].id == "gd_star2") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("clicked"); jQuery("#gd_star1, #gd_star2").addClass("clicked"); jQuery(this).parent().parent().find("#geodir_overallrating").val(2); jQuery(this).parent().find("#geodir_overallrating").val(2); } else if (jQuery(this)["0"].id == "gd_star3") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("clicked"); jQuery("#gd_star1, #gd_star2, #gd_star3").addClass("clicked"); jQuery(this).parent().parent().find("#geodir_overallrating").val(3); jQuery(this).parent().find("#geodir_overallrating").val(3); } else if (jQuery(this)["0"].id == "gd_star4") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("clicked"); jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4").addClass("clicked"); jQuery(this).parent().parent().find("#geodir_overallrating").val(4); jQuery(this).parent().find("#geodir_overallrating").val(4); } else if (jQuery(this)["0"].id == "gd_star5") { jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").removeClass("clicked"); jQuery("#gd_star1, #gd_star2, #gd_star3, #gd_star4, #gd_star5").addClass("clicked"); jQuery(this).parent().parent().find("#geodir_overallrating").val(5); jQuery(this).parent().find("#geodir_overallrating").val(5); } }) if (jQuery.cookie('vh_viewer_location') == null && my_ajax.disable_geoloc == '0') { if (jQuery('body').hasClass('geolocation_on')) { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function (position) { var geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(position.coords.latitude, position.coords.longitude); geocoder.geocode({ 'latLng': latlng }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { jQuery.cookie('vh_viewer_location', results[1].address_components[1].short_name, { path: '/' }); jQuery("#header-location, #header-top-location").val(jQuery.cookie('vh_viewer_location')); } }); }); } else { console.log("Geolocation services are not supported by your browser."); } } else { jQuery.cookie('vh_viewer_location', my_ajax.def_city, { path: '/' }); jQuery("#header-location, #header-top-location").val(my_ajax.def_city); } } else { jQuery("#header-location, #header-top-location").val(jQuery.cookie('vh_viewer_location')); } jQuery("#header-when, #header-top-when, #listing-when").live('click', function () { jQuery("#ui-datepicker-div").removeClass("header-when header-top-when listing-when"); jQuery("#ui-datepicker-div").addClass(jQuery(this)["0"]["id"]); jQuery(this).parent().find(".search-calendar-container").find(".search-calendar-options").show(); jQuery(this).parent().find(".search-calendar-container").show(); jQuery(this).parent().find(".search-calendar-container").width(jQuery(".search-calendar-options").outerWidth() + jQuery("#ui-datepicker-div").outerWidth() - 12); if (jQuery(window).width() < 767) { jQuery(this).parent().find(".search-calendar-container").height(jQuery("#ui-datepicker-div").outerHeight() - 4 + 272); } else { jQuery(this).parent().find(".search-calendar-container").height(jQuery("#ui-datepicker-div").outerHeight() - 4); } jQuery(this).parent().find(".search-calendar-container").find(".search-calendar-options").height(jQuery("#ui-datepicker-div").outerHeight() - 4); jQuery(this).parent().find(".search-calendar-container").find(".search-calendar-options").animate({ opacity: 1 }, 65, function () { // Animation complete }); }); jQuery("#header-people, #listing-people").live('click', function () { jQuery(this).parent().find(".search-people-container").show(); jQuery(this).parent().find(".search-people-container").animate({ opacity: 1 }, 150, function () { jQuery(this).parent().find(".search-people-container").addClass("active"); }); }); jQuery("#header-contract, #header-top-contract").live('click', function () { jQuery(this).parent().find(".search-contract-container").show(); jQuery(this).parent().find(".search-contract-container").animate({ opacity: 1 }, 150, function () { jQuery(this).parent().find(".search-contract-container").addClass("active"); }); }); jQuery("#header-type, #header-top-type, #header_category, #header-top-category").live('click', function () { jQuery(this).parent().find(".search-contract-container").show(); jQuery(this).parent().find(".search-contract-container").animate({ opacity: 1 }, 150, function () { jQuery(this).parent().find(".search-contract-container").addClass("active"); }); }); jQuery(document).mouseup(function (e) { var container = jQuery(".search-people-container.active"); if (!container.is(e.target) && container.has(e.target).length === 0) { container.hide(); container.removeClass("active"); } }); jQuery(document).mouseup(function (e) { var container = jQuery(".header-login-main"); if (!container.is(e.target) && container.has(e.target).length === 0) { container.fadeOut(150); jQuery(".header-login-button").fadeIn(150); } }); jQuery(".calendar-people-item").live('click', function () { var input = jQuery("#header-people, #listing-people").val(); var input_value = input.split("/"); if (input == "") { if (jQuery(this).parent().is(".search-people-adults")) { jQuery("#header-people, #listing-people").val(jQuery(this).find("span").html() + "/"); } else { jQuery("#header-people, #listing-people").val("/" + jQuery(this).find("span").html()); } } else if (jQuery(this).parent().is(".search-people-adults")) { if (input_value["0"] == "") { jQuery("#header-people, #listing-people").val(jQuery(this).find("span").html() + input); } else { jQuery.cookie('vh_selected_people', jQuery(this).find("span").html() + "/" + input_value["1"], { path: '/' }); jQuery("#header-people, #listing-people").val(jQuery(this).find("span").html() + "/" + input_value["1"]); } } else { if (input_value["1"] == "") { jQuery("#header-people, #listing-people").val(input + jQuery(this).find("span").html()); } else { jQuery.cookie('vh_selected_people', input_value["0"] + "/" + jQuery(this).find("span").html(), { path: '/' }); jQuery("#header-people, #listing-people").val(input_value["0"] + "/" + jQuery(this).find("span").html()); } } var current_input_value = jQuery("#header-people, #listing-people").val().split("/"); if (current_input_value["0"] != "" && current_input_value["1"] != "") { jQuery(".search-people-container").animate({ opacity: 0 }, 150, function () { jQuery(".search-people-container").hide(); jQuery(".search-people-container").removeClass("active"); }); }; }); jQuery(".calendar-contract-item").live('click', function () { if (jQuery(this).parent().parent().hasClass('category')) { jQuery("#header-type, #header-top-type, #header_category, #header-top-category").val(jQuery(this).find("span").html()); } else { jQuery("#header-contract, #header-top-contract").val(jQuery(this).find("span").html()) } jQuery(".search-contract-container").animate({ opacity: 0 }, 150, function () { jQuery(".search-contract-container").hide(); jQuery(".search-contract-container").removeClass("active"); }); }); if (jQuery('.header-input-container input[name=event]').length) { var d = new Date(); var month = d.getMonth() + 1; var day = d.getDate(); var date = d.getFullYear() + '-' + (month < 10 ? '0' : '') + month + '-' + (day < 10 ? '0' : '') + day; jQuery('.header-input-container input[name=event]').attr('placeholder', date); }; jQuery(document).on('click', '.vh-current-location', function () { var location_button = jQuery(this); if (!location_button.hasClass('active')) { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function (position) { jQuery('.vh-current-location').attr('data-lat', position.coords.latitude); jQuery('.vh-current-location').attr('data-lng', position.coords.longitude); location_button.toggleClass('active'); }, function () { alert('Geolocation failed, may not be supported!'); }); } else { alert('Geolocation failed, may not be supported!'); } } else { location_button.removeClass('active'); } }); jQuery(".popular-destinations-image .city-text").live('click', function (e) { var geocoder = new google.maps.Geocoder(); var address = jQuery(this).parent().find(".city-country").html(); var post_type = jQuery("#header-post-type").val(); var height = 0; if (post_type == '') { post_type = 'gd_place'; }; geocoder.geocode({ 'address': address }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { var latitude = results[0].geometry.location.lat(); var longitude = results[0].geometry.location.lng(); } if (jQuery("body").hasClass("skydirectory")) { var location = "?geodir_search=1&stype=" + post_type + "&s=+&snear=" + address + "&sgeo_lat=" + latitude + "&sgeo_lon=" + longitude + "&sgeo_when=&sgeo_adults=1&sgeo_childrens=No"; window.location.href = my_ajax.blog_url + location; } else if (jQuery("body").hasClass("skyvacation")) { var location = "?geodir_search=1&stype=" + post_type + "&s=+&snear=" + address + "&sgeo_lat=" + latitude + "&sgeo_lon=" + longitude; window.location.href = my_ajax.blog_url + location; } else { var location = "?geodir_search=1&stype=" + post_type + "&s=+&snear=" + address + "&sgeo_lat=" + latitude + "&sgeo_lon=" + longitude; window.location.href = my_ajax.blog_url + location; } }); }) jQuery(window).bind("debouncedresize", function () { jQuery('.wpb_thumbnails').isotope(); }); if (jQuery(window).width() >= 767) { jQuery("a.menu-trigger").click(function () { jQuery(".mp-menu").css({ top: jQuery(document).scrollTop() }); return false; }); } jQuery(".fixed_menu .social-container").css({ 'top': (jQuery(window).height()) - (jQuery(".fixed_menu .social-container").height() + 60) }); if (typeof prettyPhoto !== 'undefined' && $.isFunction(prettyPhoto)) { jQuery(".gallery-icon a").attr('rel', 'prettyphoto'); jQuery("a[rel^='prettyPhoto']").prettyPhoto(); } // Opacity hover effect jQuery(".opacity_hover").mouseenter(function () { var social = this; jQuery(social).animate({ opacity: "0.8" }, 80, function () { jQuery(social).animate({ opacity: "1.0" }, 80); }); }); var $window = $(window); var windowHeight = $window.height(); $window.resize(function () { windowHeight = $window.height(); jQuery(".fixed_menu .social-container").css({ 'top': (jQuery(window).height()) - (jQuery(".fixed_menu .social-container").height() + 60) }); }); /** * jQuery.LocalScroll - Animated scrolling navigation, using anchors. * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * Date: 3/11/2009 * @author Ariel Flesler * @version 1.2.7 **/ ; (function ($) { var l = location.href.replace(/#.*/, ''); var g = $.localScroll = function (a) { $('body').localScroll(a) }; g.defaults = { duration: 1e3, axis: 'y', event: 'click', stop: true, target: window, reset: true }; g.hash = function (a) { if (location.hash) { a = $.extend({}, g.defaults, a); a.hash = false; if (a.reset) { var e = a.duration; delete a.duration; $(a.target).scrollTo(0, a); a.duration = e } i(0, location, a) } }; $.fn.localScroll = function (b) { b = $.extend({}, g.defaults, b); return b.lazy ? this.bind(b.event, function (a) { var e = $([a.target, a.target.parentNode]).filter(d)[0]; if (e) i(a, e, b) }) : this.find('a,area').filter(d).bind(b.event, function (a) { i(a, this, b) }).end().end(); function d() { return !!this.href && !!this.hash && this.href.replace(this.hash, '') == l && (!b.filter || $(this).is(b.filter)) } }; function i(a, e, b) { var d = e.hash.slice(1), f = document.getElementById(d) || document.getElementsByName(d)[0]; if (!f) return; if (a) a.preventDefault(); var h = $(b.target); if (b.lock && h.is(':animated') || b.onBefore && b.onBefore.call(b, a, f, h) === false) return; if (b.stop) h.stop(true); if (b.hash) { var j = f.id == d ? 'id' : 'name', k = $('<a> </a>').attr(j, d).css({ position: 'absolute', top: $(window).scrollTop(), left: $(window).scrollLeft() }); f[j] = ''; $('body').prepend(k); location = e.hash; k.remove(); f[j] = d } h.scrollTo(f, b).trigger('notify.serialScroll', [f]) } })(jQuery); // Hide loading effect jQuery('.overlay-hide').hide(); jQuery('#vh_loading_effect').addClass('hide').delay(500).queue(function (next) { jQuery(this).hide(); next(); }); }); function header_size() { jQuery(window).on('touchmove', function (event) { set_height(); }); var win = jQuery(window), header = jQuery('.header .top-header'), logo = jQuery('.header .top-header .logo img'), elements = jQuery('.header, .top-header .header-social-icons div a, .top-header .logo, .top-header .header_search, .header_search .search .gray-form .footer_search_input, .top-header .menu-btn.icon-menu-1'), el_height = jQuery(elements).filter(':first').height(), isMobile = 'ontouchstart' in document.documentElement, set_height = function () { var st = win.scrollTop(), newH = 0; if (st < el_height / 2) { newH = el_height - st; header.removeClass('header-small'); } else { newH = el_height / 2; header.addClass('header-small'); } elements.css({ 'height': newH + 'px', 'line-height': newH + 'px' }); logo.css({ 'max-height': newH + 'px' }); } if (!header.length) { return false; } win.scroll(set_height); set_height(); } // debulked onresize handler function on_resize(c, t) { "use strict"; var onresize = function () { clearTimeout(t); t = setTimeout(c, 100); }; return c; } function clearInput(input, inputValue) { "use strict"; if (input.value === inputValue) { input.value = ''; } } jQuery(document).ready(function () { "use strict"; // Top menu if (jQuery(".header .sf-menu").length) { var menuOptions = { speed: 'fast', speedOut: 'fast', hoverClass: 'sfHover', } // initialise plugin var menu = jQuery('.header .sf-menu').superfish(menuOptions); } // !Top menu // Search widget jQuery('.search.widget .sb-icon-search').click(function (el) { el.preventDefault(); jQuery('.search.widget form').submit(); }); // !Seaarch widget // Search widget jQuery('.search-no-results .main-inner .sb-icon-search').click(function (el) { el.preventDefault(); jQuery('.search-no-results .main-inner .search form').submit(); }); // !Seaarch widget // Social icons hover effect jQuery(".social_links li a").mouseenter(function () { var social = this; jQuery(social).animate({ opacity: "0.5" }, 250, function () { jQuery(social).animate({ opacity: "1.0" }, 100); }); }); // !Social icons hover effect // Widget contact form - send jQuery("#contact_form").submit(function () { jQuery("#contact_form").parent().find("#error, #success").hide(); var str = jQuery(this).serialize(); jQuery.ajax({ type: "POST", url: my_ajax.ajaxurl, data: 'action=contact_form&' + str, success: function (msg) { if (msg === 'sent') { jQuery("#contact_form").parent().find("#success").fadeIn("slow"); } else { jQuery("#contact_form").parent().find("#error").fadeIn("slow"); } } }); return false; }); // !Widget contact form - send /* Merge gallery */ jQuery('.merge-gallery div').mouseenter(function () { jQuery(this).find('.gallery-caption').animate({ bottom: jQuery(this).find('img').height() }, 250); }).mouseleave(function () { jQuery(this).find('.gallery-caption').animate({ bottom: jQuery(this).find('img').height() + 150 }, 250); }); }); </script> <script type='text/javascript' src="js/datepicker.min.js"></script> <script type='text/javascript'> jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"MM d, yy","firstDay":1,"isRTL":false});}); </script> <script type='text/javascript' src="js/modernizr.custom.js"></script> <!--[if lte IE 9]><link rel="stylesheet" type="text/css" href="http://cohhe.com/demo/sky/sky-directory/wp-content/plugins/js_composer/assets/css/vc_lte_ie9.min.css" media="screen" /><![endif]--><!--[if IE 8]><link rel="stylesheet" type="text/css" href="http://cohhe.com/demo/sky/sky-directory/wp-content/plugins/js_composer/assets/css/vc-ie8.min.css" media="screen" /><![endif]--> <style type='text/css'> html .main-inner p, .ac-device .description, .pricing-table .pricing-content .pricing-desc-1, body .vc_progress_bar .vc_single_bar .vc_label, .page-wrapper .member-desc, .page-wrapper .member-position, .page-wrapper .main-inner ul:not(.ui-tabs-nav) li, .page-wrapper .bg-style-2 p, .wrapper a, .header-search-form input[type="text"], .header-input-container .header-input-title, .item-location, .popular-destinations-image .city-country, .blog-image .blog-picture-time, .blog-picture-read, .blog-carousel .blog-inner-container .blog-date, .blog-carousel .blog-inner-container .blog-excerpt, .blog-author .author-text, .listing-category-side .category-parent, .listing-category-side .category-child, .listing-category-image .listing-count, .useful-links-title, .phone-info-container .phone-text, .phone-info-container .phone-number, .single-listing-by-info .author-text, .wrapper p, h2.wpb_gallery_heading, #comments > span, .wrapper .comment-content .description, .wrapper .comment-content p, .reviewer-time, .add-review-container span, .google-map-location, .listing-item-title, .listing-item-location, .page-title .blog-post-date, .comment-form-comment textarea, .prev-post-text, body.single-post #commentform .form-submit #submit, .google-map-image .listing-price, #propertyform input[type=text], .wrapper .geodir_message_error, .wrapper .geodir_message_note, .addlisting-upload-text, .wrapper .addlisting-upload-button, #propertyform #upload-msg, .checkbox_text, .addlisting-submit-title, .addlisting-submit-body, .geodir-filter-when-text, .geodir-filter-when-value, #geodir-filter-list li, .geodir-map-listing-top, .map-listing-title, .map-listing-price, .geodir-filter-inner .filter-left .filter-text, .geodir-filter-inner .filter-left .filter-second-text, .geodir-filter-inner .filter-right > span, body #simplemodal-container .geodir_popup_field input[type=text], body #simplemodal-container .geodir_popup_field textarea, .gdmodal-title, .wpb_button.wpb_btn-small, #commentform .comment_auth_email input[type=text], .ui-dialog.main-dialog .ui-dialog-titlebar span.ui-dialog-title, .next-post-text, .contact-phone-container, .contact-email-container, wpcf7-response-output, .single-listing-item-info, .breadcrumb .current, .header-login-main, .footer-inner, .footer-content, .featured-properties-row, .popular-destinations-main, .search-calendar-container, #ui-datepicker-div, li.geodir-gridview > span, .single-listing-info, .blog-carousel-container, .open-blog-infobox, body.single-post #commentform input[type=text], body.single-post #commentform input[type=email], .header-gallery-counter, #geodir-wrapper, .search-people-container, #header-more-options, .page_info, .wrapper, .wrapper .easyFrontendFormular, .wrapper #easyFrontendFormular .easy-button, .wrapper #easyFormInnerlay input[type="button"], body .simplemodal-data .gmmodal-dialog-lower input, body #simplemodal-container #gd-basic-modal-content4 .button, body.geodir-multi-ratings .gd-rate-category span.lable, body.geodir-multi-ratings .gd-rate-area .gd-ratehead, .ui-menu .ui-menu-item a { font-family: 'Roboto'; font-size: 16px; line-height: 27px; color: #333333; font-weight: 300; } .sidebar-inner, .sky-contactform.widget input:not(.btn), .sky-recentpostsplus.widget .news-item p, .wrapper .text.widget p, .sky-fastflickrwidget.widget, .widget li, .wrapper .search.widget .sb-search-input, .widget .content-form .textarea.input-block-level, .text.widget .textwidget, .newsletter-email { font-family: 'Roboto'; font-size: 16px; line-height: 27px; color: #333333; font-weight: 300; } .wrapper h1, body .wrapper .page_info .page-title h1 { font-family: 'Roboto'; font-size: 40px; line-height: 44px; color: #339933; font-weight: 300; } .page-wrapper h2, h2, .content .entry-title, .teaser_grid_container .post-title { font-family: 'Roboto'; font-size: 32px; line-height: 40px; color: #339933; font-weight: 300; } .wrapper h3 { font-family: 'Roboto'; font-size: 26px; line-height: 40px; color: #0099cc; font-weight: 300; } .wrapper h4 { font-family: 'Roboto'; font-size: 24px; line-height: 40px; color: #000000; font-weight: 300; } .wrapper h5 { font-family: 'Roboto'; font-size: 16px; line-height: 40px; color: #000000; font-weight: bold; } .wrapper h6 { font-family: 'Roboto'; font-size: 12px; line-height: 40px; color: #000000; font-weight: bold; } .wpb_wrapper a, #author-link a, .sky-usefullinks.widget a { font-family: 'Roboto'; font-size: 16px; line-height: 27px; color: #0099cc; font-weight: 300; }@media (min-width: 1200px) { .wrapper .sidebar-inner .item-title-bg h4, .wrapper .sidebar-inner .widget-title, .wrapper h3.widget-title a { font-family: 'Roboto'; font-size: 26px; line-height: 40px; color: #339933; font-weight: 300; } } body .wrapper .page_info .page-title h1 { font-family: 'Roboto'; font-size: 40px; line-height: 44px; color: #339933; font-weight: 300; }</style> <style type="text/css" data-type="vc_shortcodes-custom-css">.vc_custom_1426779610572{margin-top: 0px !important;margin-bottom: 70px !important;}.vc_custom_1421692489058{margin-bottom: 70px !important;}.vc_custom_1414648153544{margin-bottom: 70px !important;}</style><noscript><style type="text/css"> .wpb_animate_when_almost_visible { opacity: 1; }</style></noscript> <style type="text/css" media="all"> .main_header_image1 { background: url('images/header02.jpg'); height:150px; background-size: cover !important; background-position: 100% !important; } </style> <title> DubaiExporters - Dubai Business News - UAE Exports </title></head> <body class="home page-template page-template-template-frontpage page-template-template-frontpage-php page page-id-75 singular skydirectory geodirectory-payment-manager geolocation_on wp-post-4-4 wpb-js-composer js-comp-ver-4.12 vc_responsive gd-map-google"> <form name="aspnetForm" method="post" action="news.aspx" id="aspnetForm"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTEyNzA1NzQwMTkPZBYCZg9kFgICAw9kFgICBg9kFgICAQ8UKwACDxYEHgtfIURhdGFCb3VuZGceC18hSXRlbUNvdW50AqgSZGQWAmYPZBYEAgEPZBYUAgEPZBYKAgEPDxYCHghJbWFnZVVybAUqfi9pbWFnZXMvbmV3c3BpY3R1cmVzL0R1YmFpX2V4cG9ydGVyczQuanBnZGQCAg8VAWFuZXdzYXJ0aWNsZS5hc3B4P25ld3NpdGVtPTI2NDMmbmV3c3RpdGxlPURvbmdmZW5nIE1vdG9ycyBtYWtlcyBpdHMgZm9ybWFsIGRlYnV0IGluIHRoZSBVQUUgbWFya2V0ZAIDDw8WAh4EVGV4dAU4RG9uZ2ZlbmcgTW90b3JzIG1ha2VzIGl0cyBmb3JtYWwgZGVidXQgaW4gdGhlIFVBRSBtYXJrZXRkZAIFD2QWAmYPFQPRA1dpdGggdGhlIGxhdW5jaCBvZiBpdHMgZmlyc3Qgc2hvd3Jvb20gaW4gRHViYWksIERvbmdmZW5nIE1vdG9yIENvcnBvcmF0aW9uLCBvbmUgb2YgQ2hpbmEncyBtb3N0IGludmVudGl2ZSBhdXRvbWFrZXJzLCBoYXMgZm9ybWFsbHkgam9pbmVkIHRoZSBVQUUgbWFya2V0LiBEb25nZmVuZyB1bnZlaWxlZCBmb3VyIGZsYWdzaGlwIHZlaGlj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FpIEVsZWN0cmljaXR5IGFuZCBXYXRlciBBdXRob3JpdHkgKERFV0EpIENFTyBhbmQgTWFuYWdpbmcgRGlyZWN0b3IgU2FlZWQgTW9oYW1tZWQgQWwgVGF5ZXIsIHRoZSB1dGlsaXR5IGdpYW50IHdpbGwgaW52ZXN0IEFFRDQwIGJpbGxpb24gKCQxMC44IGJpbGxpb24pIGluIGVsZWN0cmljaXR5IGFuZCB3YXRlciBwcm9qZWN0cyBkdXJpbmcgdGhlIGZvbGxvd2luZyBmaXZlIHllYXJzIHRvIG1lZXQgY29udGludWVkIGdyb3d0aC6eAW5ld3NhcnRpY2xlLmFzcHg/bmV3c2l0ZW09MjYzMSZuZXdzdGl0bGU9RGV3YSwgQSBNYWpvciBVdGlsaXR5IENvbXBhbnkgaW4gRHViYWksIFdpbGwgSW52ZXN0ICQxMCBCaWxsaW9uIGluIFdhdGVyIGFuZCBQb3dlciBQcm9qZWN0cyBPdmVyIHRoZSBOZXh0IEZpdmUgWWVhcnMuBFRydWVkAgYPFQEINC82LzIwMjNkAgMPFCsAAmRkZBgCBS5jdGwwMCRDb250ZW50UGxhY2VIb2xkZXIxJERhdGFzYXZlZCREYXRhUGFnZXIxDzwrAAQBAwKoEmQFI2N0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkRGF0YXNhdmVkDzwrAAoCBzwrAAoACAKoEmSJJ9on0NRwJrCj1P/K8eDV4PBXHA==" /> </div> <div> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="CA8C29DA" /> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBALZtL++AQKFlOrGDQLV5JaYCgKF1vrqBim+4RBXEY94Jjv1F86J7zkfez0S" /> </div> <a href="addlisting.aspx" id="buy-now-ribbon" title="Register For Free" alt="Register For Free"></a> <div class="vh_wrapper" id="vh_wrappers"> <div class="main-body-color"></div> <div class="overlay-hide"></div> <div class="pushy pushy-left"> <div class="menu-menu-1-container"><ul id="menu-menu-1" class="responsive-menu gd-menu-z"><li class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-1759"><a href="Default.aspx">Home</a></li> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1760"><a href="exhibition.aspx">Exhibitions</a> <ul class="sub-menu" style="z-index: 9;"> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1764"><a href="dubaiexhibitions.aspx">Trade Exhibitions in U.A.E</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1761"><a href="exhibition.aspx">Trade Exhibitions Worldwide</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1762"><a href="addexhibition.aspx">Add Your Event</a></li> </ul> </li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1767"><a href="member_benefits.aspx">Memberships</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1768"><a href="aboutus.aspx">About Us</a></li> </ul></div> </div> <div class="wrapper st-effect-3 w_display_none" id="container"> <div class="main"> <header class="header vc_row-fluid vc_col-sm-12"> <div class="top-header vc_col-sm-12"> <div class="logo shadows vc_col-sm-3"> <a href="Default.aspx"><img src="images/layout/check1.png" width="230" height="69" alt="Dubai Exporters" /></a></div> <div class="menu-btn icon-menu-1"></div> <div class="header_search"><div class="search sb-search" id="sb-search"> <div class="gray-form"> <input type="text" name="s" class="footer_search_input" onclick="clearInput(this, 'Search');" value="Search" /> <input type="submit" name="search" class="btn btn-primary sb-search-submit" value="Search" /> <span class="sb-icon-search fa fa-search"></span> </div> </div></div> <div class="header-search-body"> <div class="header-search-container" id="mydi"> <div class="header-search-form"> <div class="header-form-container" id="mydiv"> <div class="header-input-container"><span class="header-input-title">Keyword:</span> <input name="ctl00$txtkeyword" type="text" id="ctl00_txtkeyword" autocomplete="off" /> <div class="clearfix"></div></div> <div class="header-input-container"><span class="header-input-title">Category:</span> <input name="ctl00$txtserach" type="text" id="ctl00_txtserach" list="browsers" autocomplete="off" causesvalidation="false" /> <datalist id="browsers"> <option value="Automotive"/> <option value="Building and Interiors"/> <option value="Food, Kitchen and Hotel Supplies"/> <option value="Industrial and Machinery"/> <option value="Consumer and Household"/> <option value="Medical and Healthcare"/> <option value="Printing , Packaging and Plastic"/> <option value="IT / Telecom / Electronics"/> <option value="Oil and Gas"/> <option value="Power and Energy"/> </datalist> <div class="clearfix"></div></div> <input type="hidden" id="header-post-type" value="gd_place"> <input type="submit" name="ctl00$Search" value="Search" onclick="return checkLength();" id="ctl00_Search" class="wpb_button wpb_btn-warning icon-search" UseSubmitBehaviour="false" style="top:0px;width:70px;height:70px;" /> <script type="text/javascript"> function checkLength() { var textbox = document.getElementById('ctl00_txtkeyword'); var textbox1 = document.getElementById('ctl00_txtserach'); if (textbox.value.length < 3 && textbox1.value.length == 0) { alert("The entered input should be 3 or more than 3 characters"); return false; } } </script> <script type="text/javascript"> $(document).click(function (e) { if (e.target != $(".sb-icon-search")[0] && (e.target.parentElement.parentElement != $(".header-form-container")[0])) { $(".header-search-body")[0].style.display = 'none'; } }); $(".header_search").click(function (e) { $(".header-search-body")[0].style.display = 'block'; }); </script> <div class="clearfix"></div> </div> </div> </div> </div> <a href="addlisting.aspx" class="header-add-property wpb_button wpb_btn-primary wpb_regularsize">Add Your Listing</a> <div class="top-menu-container "> <div class="menu-style"><ul id="menu-menu-2" class="header-menu gd-menu-z"> <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1759"><a href="Default.aspx">Home</a></li> <li id="ctl00_test1" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1760"><a href="exhibition.aspx">Exhibitions</a> <ul class="sub-menu" style="z-index: 9;"> <li class="menu-item menu-item-type-post_type menu-item-object-page page_item page-item-1709 current_page_item menu-item-1764"><a href="dubaiexhibitions.aspx">Trade Exhibitions in U.A.E</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1761"><a href="exhibition.aspx">Trade Exhibitions Worldwide</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1762"><a href="addexhibition.aspx">Add Your Event</a></li> </ul> </li> <li id="ctl00_test2" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1763"><a href="member_benefits.aspx">Memberships</a></li> <li id="ctl00_test3" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1765"><a href="aboutus.aspx">About us</a></li> </ul></div> </div> <div class="clearfix"></div> </div> <div class="header-search-container"> <div id="main_header_bg"> <style type="text/css" media="all"> #main_header_image { background: url('images/header02.jpg'); height:150px; background-size: cover !important; background-position: 100% !important; } </style> </div> <div id="main_header_image"></div> </div> </header> <div id="vh_loading_effect"></div> <div class="clearfix"></div> </div></div> </div> <div class="container"> <div class="page_info"> <div class="breadcrumb"> <a href="Default.aspx" style="font-size: 12px;color: #666;font-weight: 300;text-decoration: none;font-family: 'Merriweather', sans-serif;">Home</a> <span class="delimiter fa fa-arrow-circle-right"></span> <span class="current" style="font-weight: 300;font-size: 12px;color: #666;">Latest News</span></div> <div class="page-title"> <h1 style="font-family:'Merriweather', sans-serif;font-size: 40px;line-height: 44px;color: #339933;font-weight: 300;">Latest News</h1> </div> <div class="clearfix"></div> </div> <div id="ctl00_ContentPlaceHolder1_Datasaved_itemPlaceholderContainer" class="postcontent" style="padding-left:16px;"> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl0_ImgNews" class="img-responsive" src="images/newspictures/Dubai_exporters4.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2643&newstitle=Dongfeng Motors makes its formal debut in the UAE market'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl0_newsheader">Dongfeng Motors makes its formal debut in the UAE market</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl0_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">With the launch of its first showroom in Dubai, Dongfeng Motor Corporation, one of China's most inventive automakers, has formally joined the UAE market. Dongfeng unveiled four flagship vehicles in collaboration with M.A.H.Y. Khoory: the AX7 and MAGE SUVs, as well as the SHINE and SHINE MAX sedans. This launch demonstrates Dongfeng's dedication to quality, performance, and cutting-edge automotive technology and marks the company's aggressive regional expansion..... <a href='newsarticle.aspx?newsitem=2643&newstitle=Dongfeng Motors makes its formal debut in the UAE market' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>11/22/2024 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl1_ImgNews" class="img-responsive" src="images/newspictures/Dubai16.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2642&newstitle=The UAE Delivers Mpox Vaccinations to Five African Countries'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl1_newsheader">The UAE Delivers Mpox Vaccinations to Five African Countries</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl1_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">The UAE has despatched many aircraft carrying mpox vaccines to the Democratic Republic of the Congo, Nigeria, South Africa, Cote d'Ivoire and Cameroon, according to Emirates News Agency WAM..... <a href='newsarticle.aspx?newsitem=2642&newstitle=The UAE Delivers Mpox Vaccinations to Five African Countries' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>11/19/2024 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl2_ImgNews" class="img-responsive" src="images/newspictures/Dubaiexpoter.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2641&newstitle=Dubai's Manufacturing is Becoming More Sustainable and Intelligent.'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl2_newsheader">Dubai's Manufacturing is Becoming More Sustainable and Intelligent.</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl2_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">Dubai is increasing its investments in next-generation manufacturing, which already includes hundreds of sophisticated factories. The emirate's premier industrial park, Dubai Industrial City (DIC), is home to steel and food firms as well as pioneers of the smarter, more sustainable future of production. .... <a href='newsarticle.aspx?newsitem=2641&newstitle=Dubai's Manufacturing is Becoming More Sustainable and Intelligent.' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>11/13/2024 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl3_ImgNews" class="img-responsive" src="images/newspictures/Final2.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2640&newstitle=The Growing Power Of The UAE In Africa'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl3_newsheader">The Growing Power Of The UAE In Africa</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl3_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">According to a UAE official who spoke to the Financial Times, the country has invested $110 billion in Africa. Regarding the country's presence in Africa, an associate professor at Georgetown University in the US claims that the UAE is now "going toe to toe with Beijing." The Emirates has continuously ranked among the top four investors on the continent over the last ten years, he says, even though many of these investments will never come to fruition. More risk-averse investors have shunned African projects, but UAE companies have embraced them. Despite "challenges when it comes to policies and politics," Hamad Buamim, chair of the Dubai Multi Commodities Centre, the primary trading hub in Dubai, asserts that Africa has a lot "to offer in terms of commodities and minerals.".... <a href='newsarticle.aspx?newsitem=2640&newstitle=The Growing Power Of The UAE In Africa' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>10/22/2024 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl4_ImgNews" class="img-responsive" src="images/newspictures/UAE-to-double-.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2639&newstitle=UAE to Double Re-Exports In 7 Years'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl4_newsheader">UAE to Double Re-Exports In 7 Years</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl4_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">The UAE Cabinet has approved initiatives aimed at doubling the level of national re-exports within seven years. The approvals came during a meeting of the UAE Cabinet on Tuesday, March 28..... <a href='newsarticle.aspx?newsitem=2639&newstitle=UAE to Double Re-Exports In 7 Years' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>4/11/2023 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl5_ImgNews" class="img-responsive" src="images/newspictures/Oman.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2636&newstitle=Oman to Offer 1-GW Manah Solar Projects to International Investors'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl5_newsheader">Oman to Offer 1-GW Manah Solar Projects to International Investors</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl5_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">Oman Power and Water Procurement Company (OPWP), the sole off-taker of electricity in the Sultanate, has been authorised to award to international investors the Manah 1 and 2 solar projects with a combined capacity of 1 GW..... <a href='newsarticle.aspx?newsitem=2636&newstitle=Oman to Offer 1-GW Manah Solar Projects to International Investors' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>4/10/2023 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl6_ImgNews" class="img-responsive" src="images/newspictures/Masdar2.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2637&newstitle=Masdar, Taaleri Cut Ribbon on 200-MW Solar Park in Jordan'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl6_newsheader">Masdar, Taaleri Cut Ribbon on 200-MW Solar Park in Jordan</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl6_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">Abu Dhabi Future Energy Company PJSC, better known as Masdar, and Finnish renewable energy developer Taaleri Energia Ltd have officially opened their 200-MW Baynouna Solar Park in Jordan.... <a href='newsarticle.aspx?newsitem=2637&newstitle=Masdar, Taaleri Cut Ribbon on 200-MW Solar Park in Jordan' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>4/10/2023 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl7_ImgNews" class="img-responsive" src="images/newspictures/Arab%20electric%20vehicle.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2634&newstitle=UAE, Egypt, Bahrain & Jordan discuss manufacturing the first joint Arab electric vehicle'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl7_newsheader">UAE, Egypt, Bahrain & Jordan discuss manufacturing the first joint Arab electric vehicle</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl7_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">In a statement, Egypt's Arab Organization for Industrialisation (AOI) urged for the completion of preparatory processes as soon as possible so that the vehicle may be shown at the 28th UN Climate Change Conference (COP28) later this year in the UAE..... <a href='newsarticle.aspx?newsitem=2634&newstitle=UAE, Egypt, Bahrain & Jordan discuss manufacturing the first joint Arab electric vehicle' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>4/7/2023 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl8_ImgNews" class="img-responsive" src="images/newspictures/Chinese%20automaker%20EXEED.jpg" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2635&newstitle=UAE's Al Ghurair Investment collaborates with Chinese automaker EXEED'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl8_newsheader">UAE's Al Ghurair Investment collaborates with Chinese automaker EXEED</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl8_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">Al Ghurair Investment, one of the UAE's most diversified family business families, announced today a strategic agreement with Chinese automotive manufacturer Exceed Automobile Corporation (EXEED) to launch their premium line of sports utility vehicles (SUVs) across the UAE. The collaboration intends to accelerate Al Ghurair Investment's quest of long-term excellence via innovation and technology..... <a href='newsarticle.aspx?newsitem=2635&newstitle=UAE's Al Ghurair Investment collaborates with Chinese automaker EXEED' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>4/7/2023 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> <div class="row-fluid"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3"> <a href="#"> <img id="ctl00_ContentPlaceHolder1_Datasaved_ctrl9_ImgNews" class="img-responsive" src="images/newspictures/News,04.gif" style="border-width:0px;" /> </a> </div> <div class="col-xs-12 col-sm-9 col-md-9"> <h4><a href='newsarticle.aspx?newsitem=2631&newstitle=Dewa, A Major Utility Company in Dubai, Will Invest $10 Billion in Water and Power Projects Over the Next Five Years.'><span id="ctl00_ContentPlaceHolder1_Datasaved_ctrl9_newsheader">Dewa, A Major Utility Company in Dubai, Will Invest $10 Billion in Water and Power Projects Over the Next Five Years.</span></a></h4> <p id="ctl00_ContentPlaceHolder1_Datasaved_ctrl9_newscontent" style="text-align:justify;font-family: 'Poppins';font-size:16px;" class="">According to Dubai Electricity and Water Authority (DEWA) CEO and Managing Director Saeed Mohammed Al Tayer, the utility giant will invest AED40 billion ($10.8 billion) in electricity and water projects during the following five years to meet continued growth..... <a href='newsarticle.aspx?newsitem=2631&newstitle=Dewa, A Major Utility Company in Dubai, Will Invest $10 Billion in Water and Power Projects Over the Next Five Years.' visible='True' class="more" style="color:#2ec125;">Read more »</a></p> <p style="text-align:right;font-size:11px; margin-bottom:10px;"><span style="font-size:11px; color:#666666"><b>Posted on : </b></span>4/6/2023 </p> </div> </div> <hr style="border-top: 1px solid #6dab3c;"/> </div> </div> <div class="center" style="text-align:center;"> <div class="pagination"> <span id="ctl00_ContentPlaceHolder1_Datasaved_DataPager1"><a disabled="disabled" class="btn">Previous</a><span class="btn disabled">1</span><a class="btn" href="/news.aspx?m_id=2">2</a><a class="btn" href="/news.aspx?m_id=3">3</a><a class="btn" href="/news.aspx?m_id=4">4</a><a class="btn" href="/news.aspx?m_id=5">5</a><a class="btn" href="/news.aspx?m_id=6">...</a><a class="btn" href="/news.aspx?m_id=2">Next</a></span> </div> </div> <div style="padding-bottom:15px; padding-top:10px;"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- DE-5 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0936806130409127" data-ad-slot="4339671049" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <div style="margin-bottom:70px;"></div> <div class="footer-wrapper"> <div class="footer-container vc_row wpb_row vc_row-fluid "> <a href="Default.aspx" class="footer-logo-link"><img src="images/footerdubai2.jpg" class="footer-logo " alt="Dubai Exporters" /></a> <div class="footer-content"> <div class="footer-links-container columns_count_2"> <div id="first" class="widget-area footer-links vc_col-sm-6 " role="complementary"> <div id="sky-directory-useful-links-20" class=" sky-usefullinks widget widget_sky-directory-useful-links row-fluid" style="width: 50%;float:left;"> <div class="useful-links-title"> About DubaiExporters </div><a href="aboutus.aspx">About Us</a><br /><a href="member_benefits.aspx">Member Benefits</a><br /><a href="link_us.aspx">Link Us</a><br /><a href="media_partners.aspx">Media Partners</a><br /><a href="contact.aspx">Contact Us</a><br /><a href="sitemap.aspx">Sitemap</a><div class="clearfix"></div></div><div id="sky-directory-useful-links-21" class=" sky-usefullinks widget widget_sky-directory-useful-links row-fluid" style="width: 50%;float:left;"> <div class="useful-links-title"> Information </div><a href="news.aspx">News</a><br /><a href="exhibition.aspx">Upcoming Exhibitions</a><br /><a href="advertize.aspx">Advertise</a><br /><a href="addexhibition.aspx">Add Your Event</a><br /><a href="subscribe.aspx">Subscribe</a><br /><div class="clearfix"></div></div> </div> <div id="second" class="widget-area footer-links vc_col-sm-6 last" role="complementary"> <div id="sky-directory-contact-us-11" class=" sky-contactus widget widget_sky-directory-contact-us row-fluid"> <div class="contact-us-widget-main"> <div class="contact-us-phone"> <span class="phone-icon fa fa-mobile"></span> <div class="phone-info-container"> <span class="phone-text">Call us:</span> <span class="phone-number">+971 4 7050347</span> </div> <div class="clearfix"></div> </div> <div class="contact-us-lower"> <div class="contact-us-social"><a href="https://www.facebook.com/dubaiexportersuae" target="_blank" class="contact-us-facebook fa fa-facebook"></a><a href="http://twitter.com/#!/dubaiexporters" target="_blank" class="contact-us-twitter fa fa-twitter"></a> <div class="clearfix"></div> </div> <div class="contact-us-email"> <a href="mailto:info@dubaiexporters.com" class="email-address"> <span class="email-text">Or send an email to:</span>info@dubaiexporters.com</a> </div> </div> <div class="clearfix"></div> </div> </div> </div> <div class="clearfix"></div> </div> </div> <div class="scroll-to-top-container"> <div class="scroll-to-top"><span>To Top</span></div> </div> <div class="footer-inner"> <div class="footer_info"> <div class="copyright">© 2004-2024, Dubai Exporters</div> <div class="clearfix"></div> </div> </div> </div> </div> <script type="text/javascript"> var default_location = 'Auburn'; var latlng; var address; var dist = 0; var Sgeocoder = (typeof google!=='undefined' && typeof google.maps!=='undefined') ? new google.maps.Geocoder() : {}; function geodir_setup_submit_search() { jQuery('.geodir_submit_search').unbind('click');// unbind any other click events jQuery('.geodir_submit_search').click(function(e) { e.preventDefault(); var s = ' '; var $form = jQuery(this).closest('form'); if (jQuery("#sdist input[type='radio']:checked").length != 0) dist = jQuery("#sdist input[type='radio']:checked").val(); if (jQuery('.search_text', $form).val() == '' || jQuery('.search_text', $form).val() == 'Search for') jQuery('.search_text', $form).val(s); // Disable location based search for disabled location post type. if (jQuery('.search_by_post', $form).val() != '' && typeof gd_cpt_no_location == 'function') { if (gd_cpt_no_location(jQuery('.search_by_post', $form).val())) { jQuery('.snear', $form).remove(); jQuery('.sgeo_lat', $form).remove(); jQuery('.sgeo_lon', $form).remove(); jQuery('select[name="sort_by"]', $form).remove(); jQuery($form).submit(); return; } } if (dist > 0 || (jQuery('select[name="sort_by"]').val() == 'nearest' || jQuery('select[name="sort_by"]', $form).val() == 'farthest') || (jQuery(".snear", $form).val() != '' && jQuery(".snear", $form).val() != 'Near')) { geodir_setsearch($form); } else { jQuery(".snear", $form).val(''); jQuery($form).submit(); } }); } jQuery(document).ready(function() { geodir_setup_submit_search(); //setup advanced search form on form ajax load jQuery("body").on("geodir_setup_search_form", function(){ geodir_setup_submit_search(); }); }); function geodir_setsearch($form) { if ((dist > 0 || (jQuery('select[name="sort_by"]', $form).val() == 'nearest' || jQuery('select[name="sort_by"]', $form).val() == 'farthest')) && (jQuery(".snear", $form).val() == '' || jQuery(".snear", $form).val() == 'Near')) jQuery(".snear", $form).val(default_location); geocodeAddress($form); } function updateSearchPosition(latLng, $form) { if (window.gdMaps === 'google') { jQuery('.sgeo_lat').val(latLng.lat()); jQuery('.sgeo_lon').val(latLng.lng()); } else if (window.gdMaps === 'osm') { jQuery('.sgeo_lat').val(latLng.lat); jQuery('.sgeo_lon').val(latLng.lon); } jQuery($form).submit(); // submit form after insering the lat long positions } function geocodeAddress($form) { // Call the geocode function Sgeocoder = window.gdMaps == 'google' ? new google.maps.Geocoder() : null; if (jQuery('.snear', $form).val() == '' || ( jQuery('.sgeo_lat').val() != '' && jQuery('.sgeo_lon').val() != '' ) || jQuery('.snear', $form).val().match("^In:")) { if (jQuery('.snear', $form).val().match("^In:")) { jQuery(".snear", $form).val(''); } jQuery($form).submit(); } else { var address = jQuery(".snear", $form).val(); if (jQuery('.snear', $form).val() == 'Near') { initialise2(); } else { if (window.gdMaps === 'google') { Sgeocoder.geocode({'address': address}, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { updateSearchPosition(results[0].geometry.location, $form); } else { alert("Search was not successful for the following reason :" + status); } }); } else if (window.gdMaps === 'osm') { geocodePositionOSM(false, address, false, false, function(geo) { if (typeof geo !== 'undefined' && geo.lat && geo.lon) { updateSearchPosition(geo, $form); } else { alert("Search was not successful for the requested address."); } }); } else { jQuery($form).submit(); } } } } function initialise2() { if (!window.gdMaps) { return; } if (window.gdMaps === 'google') { var latlng = new google.maps.LatLng(56.494343, -4.205446); var myOptions = { zoom: 4, mapTypeId: google.maps.MapTypeId.TERRAIN, disableDefaultUI: true } } else if (window.gdMaps === 'osm') { var latlng = new L.LatLng(56.494343, -4.205446); var myOptions = { zoom: 4, mapTypeId: 'TERRAIN', disableDefaultUI: true } } try { prepareGeolocation(); } catch (e) {} doGeolocation(); } function doGeolocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(positionSuccess, positionError); } else { positionError(-1); } } function positionError(err) { var msg; switch (err.code) { case err.UNKNOWN_ERROR: msg = "Unable to find your location"; break; case err.PERMISSION_DENINED: msg = "Permission denied in finding your location"; break; case err.POSITION_UNAVAILABLE: msg = "Your location is currently unknown"; break; case err.BREAK: msg = "Attempt to find location took too long"; break; default: msg = "Location detection not supported in browser"; } jQuery('#info').html(msg); } function positionSuccess(position) { var coords = position.coords || position.coordinate || position; jQuery('.sgeo_lat').val(coords.latitude); jQuery('.sgeo_lon').val(coords.longitude); jQuery('.geodir-listing-search').submit(); } </script> <script type="text/javascript"> jQuery(document).ready(function () { jQuery('.geodir-bestof-cat-list a, #geodir_bestof_tab_dd').on("click change", function (e) { var widgetBox = jQuery(this).closest('.geodir_bestof_widget'); var loading = jQuery(widgetBox).find("#geodir-bestof-loading"); var container = jQuery(widgetBox).find('#geodir-bestof-places'); jQuery(document).ajaxStart(function () { //container.hide(); // Not working when more then one widget on page //loading.show(); }).ajaxStop(function () { loading.hide(); container.fadeIn('slow'); }); e.preventDefault(); var activeTab = jQuery(this).closest('dl').find('dd.geodir-tab-active'); activeTab.removeClass('geodir-tab-active'); jQuery(this).parent().addClass('geodir-tab-active'); var term_id = 0; if (e.type === "change") { term_id = jQuery(this).val(); } else if (e.type === "click") { term_id = jQuery(this).attr('data-termid'); } var post_type = jQuery(widgetBox).find('#bestof_widget_post_type').val(); var excerpt_type = jQuery(widgetBox).find('#bestof_widget_excerpt_type').val(); var post_limit = jQuery(widgetBox).find('#bestof_widget_post_limit').val(); var taxonomy = jQuery(widgetBox).find('#bestof_widget_taxonomy').val(); var char_count = jQuery(widgetBox).find('#bestof_widget_char_count').val(); var add_location_filter = jQuery(widgetBox).find('#bestof_widget_location_filter').val(); var data = { 'action': 'geodir_bestof', 'geodir_bestof_nonce': '9c7618597f', 'post_type': post_type, 'excerpt_type': excerpt_type, 'post_limit': post_limit, 'taxonomy': taxonomy, 'geodir_ajax': true, 'term_id': term_id, 'char_count': char_count, 'add_location_filter': add_location_filter }; container.hide(); loading.show(); jQuery.post(geodir_var.geodir_ajax_url, data, function (response) { container.html(response); jQuery(widgetBox).find('.geodir_category_list_view li .geodir-post-img .geodir_thumbnail img').css('display', 'block'); // start lazy load if it's turned on if(geodir_var.geodir_lazy_load==1){ geodir_init_lazy_load(); } }); }) }); jQuery(document).ready(function () { if (jQuery(window).width() < 660) { if (jQuery('.bestof-widget-tab-layout').hasClass('bestof-tabs-on-left')) { jQuery('.bestof-widget-tab-layout').removeClass('bestof-tabs-on-left').addClass('bestof-tabs-as-dropdown'); } else if (jQuery('.bestof-widget-tab-layout').hasClass('bestof-tabs-on-top')) { jQuery('.bestof-widget-tab-layout').removeClass('bestof-tabs-on-top').addClass('bestof-tabs-as-dropdown'); } } }); </script> <script type='text/javascript'> /* <![CDATA[ */ //var ajax_login_object = {"ajaxurl":"http:\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-admin\/admin-ajax.php","redirecturl":"http:\/\/cohhe.com\/demo\/sky\/sky-directory","loadingmessage":"Sending user info, please wait...","registermessage":"A password will be emailed to you for future use"}; var my_ajax = {"ajaxurl":"http:\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-admin\/admin-ajax.php","blog_url":"http:\/\/cohhe.com\/demo\/sky\/sky-directory","currency_symbol":"$","def_country":"France","def_city":"Paris","geo_advanced_search":"true","home_map_zoom":"12","home_map_autozoom":"false","map_markers":"true","marker_icon":{"89":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Feature1.png","42":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","52":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Attractions1.png","57":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/03\/automotive.png","43":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","70":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Festival1.png","81":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/03\/company.png","85":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","48":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","59":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","49":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","68":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","60":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","62":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","63":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","40":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/03\/food.png","86":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Feature1.png","75":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Feature1.png","67":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","76":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Videos1.png","29":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","77":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Festival1.png","64":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","31":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","47":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","8":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Feature1.png","6":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Festival1.png","69":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/03\/shopping.png","92":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","5":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","44":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","84":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","91":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Feature1.png","32":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","82":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Videos1.png","28":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/03\/medical.png","2":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/03\/default.png","3":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","54":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Festival1.png","74":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","73":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Videos1.png","83":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Feature1.png","35":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","46":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","78":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","88":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Videos1.png","38":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","79":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Feature1.png","39":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","80":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Videos1.png","50":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","65":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Festival1.png","45":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","87":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","36":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","30":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","37":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","33":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","58":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Attractions1.png","41":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","66":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","53":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","72":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","4":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","56":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Videos1.png","51":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","71":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","55":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Restaurants1.png","61":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Food_Nightlife1.png","34":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Hotels1.png","7":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Videos1.png","90":"\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/uploads\/2015\/01\/Festival1.png"},"marker_def_icon":"http:\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/plugins\/geodirectory\/geodirectory-functions\/map-functions\/icons\/pin.png","is_location":"","default_search":"gd_place","header_map":"false","autocomplete":"1","autosubmit":"0","disable_geoloc":"0"}; /* ]]> */ </script> <script type='text/javascript' src="js/master.js"></script> <script type='text/javascript' src="js/isotope.pkgd.min.js"></script> <script type='text/javascript' src="js/date.js"></script> <script type='text/javascript' src="js/pushy.js"></script> <script type='text/javascript' src="js/jquery.mousewheel.min.js"></script> <script type='text/javascript' src="js/jquery.jcarousel.pack.js"></script> <script type='text/javascript' src="js/resizable.min.js"></script> <script type='text/javascript' src="js/draggable.min.js"></script> <script type='text/javascript' src="js/button.min.js"></script> <script type='text/javascript' src="js/dialog.min.js"></script> <script type='text/javascript' src="js/tag-it.min.js"></script> <script type='text/javascript' src="js/jquery.cookie.js"></script> <script type='text/javascript' src="js/jquery.debouncedresize.js"></script> <script type='text/javascript'> /* <![CDATA[ */ var vh_main = {"post_id":"75","post_info":[],"post_type":"page","maptitle":"Preview","mapcontent":"Once you publish your listing, markers will be visible here.","is_preview":"","current_location":"http:\/\/cohhe.com\/demo\/sky\/sky-directory\/wp-content\/themes\/sky\/images\/curr_loc.png"}; /* ]]> */ </script> </form> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-8453554-4"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-8453554-4'); </script> </body> </html>