if( $(this).children('ul').length > 0 ){
let menuParent = $(this).parent();
$(this).on("click", function(e){
- console.log($(this).parent())
+ //console.log($(this).parent())
if( $(this).parent().hasClass('sub-menu-section') ){
collapseMenu = true;
}
// alter the orientation of the nav arrow, it's the only el that uses a plain open class instead of oc-open
$(this).children('a').toggleClass('open');
$(this).children('a').siblings('ul').toggleClass('oc-open');
- console.log(childMenuVisible);
+ //console.log(childMenuVisible);
if( collapseMenu && childMenuVisible){
other_menu.toggleClass("oc-hidden");
// $(this).children('a').siblings('ul').toggleClass('oc-open');
if( $(this).children('ul').length > 0 ){
let menuParent = $(this).parent();
$(this).on("click", function(e){
- console.log($(this).parent())
+ //console.log($(this).parent())
if( $(this).parent().hasClass('sub-menu-section') ){
collapseMenu = true;
}
// alter the orientation of the nav arrow, it's the only el that uses a plain open class instead of oc-open
$(this).children('a').toggleClass('open');
$(this).children('a').siblings('ul').toggleClass('oc-open');
- console.log(childMenuVisible);
+ //console.log(childMenuVisible);
if( collapseMenu && childMenuVisible){
other_menu.toggleClass("oc-hidden");
// $(this).children('a').siblings('ul').toggleClass('oc-open');
<script>
jQuery(function($){
var regions = <?php echo $js_regions ?>;
- console.log(regions);
+ //console.log(regions);
var map = $("#region-map");
var region = $('.hover-region');
$(this).css("fill", blue);
}
);
- console.log(regions);
+ //console.log(regions);
region.hover(function(){
//console.log($(this).data('region'));
- console.log($(this).attr("id"));
+ //console.log($(this).attr("id"));
//region_id = $(this).data('region');
region_id = $(this).attr('id');
var img = regions[region_id]['image'];