$("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () {
$("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset");
});
-// $("#long-bar section.top-bar-section ul > li > a").on("click", function (e) {
-// e.preventDefault();
-// return false;
-// });
+ $("#long-bar").find("section.top-bar-section ul > li.main-nav > a").on("click", function (e) {
+ e.preventDefault();
+ return false;
+ });
// $("a:contains('Dine')").attr("href", "#");
// $("a:contains('Explore')").attr("href", "#");
// $("a:contains('Play')").attr("href", "#");
$("#properties .top-bar .top-bar-section ul#menu-properties li ul.dropdown li a").mouseout(function () {
$("#properties .top-bar .top-bar-section ul#menu-properties #menu-item-1517 > a").css("box-shadow", "0px -7px 10px -9px rgba(0, 0, 0, 0.5) inset");
});
-// $("#long-bar section.top-bar-section ul > li > a").on("click", function (e) {
-// e.preventDefault();
-// return false;
-// });
+ $("#long-bar").find("section.top-bar-section ul > li.main-nav > a").on("click", function (e) {
+ e.preventDefault();
+ return false;
+ });
// $("a:contains('Dine')").attr("href", "#");
// $("a:contains('Explore')").attr("href", "#");
// $("a:contains('Play')").attr("href", "#");
}
$element->has_children = ! empty( $children_elements[ $element->ID ] );
$element->classes[] = ( $element->current || $element->current_item_ancestor ) ? 'active' : '';
- $element->classes[] = ( $element->has_children && 1 !== $max_depth ) ? 'has-dropdown' : '';
+ $element->classes[] = ( $element->has_children && 1 !== $max_depth ) ? 'has-dropdown main-nav' : '';
// $element->classes[] = ( $element->post_parent == 0 && $mainLevelCounter < 3 ) ? '' : 'drop-left';
parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
}
// function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {
// $item_html = '';
// parent::start_el( $item_html, $object, $depth, $args );
-//
+//
// // Insert style to display page's thumbnail
// $item_style = '';
// if ($depth == 0 && has_post_thumbnail((int)$object->object_id)) {