
					<style scoped>
					
				li.opn-active-menu{background: rgb(241, 241, 241) !important;}
				li.opn-active-menu a {color: #333 !important;}
					</style>
					<script type="text/javascript">

						/*
						 * 	- 	Add VC_Row classes [with - support theme]
						 *  - 	Add Active Menu class
						 *-------------------------------------------------------------*/
						;(function ( $, window, undefined ) {
							var pluginName = 'OPN_Scroll',
							    document = window.document,
							    defaults = {
									vc_version: parseFloat('5.0.1'),
									activeItem: 'opn_active_menu',
									rowClass: 'vc_row',
									active: '',
									firstItem: false,
							    };

							function opn( element, options ) {
							  this.element = element;
							  this.options = $.extend( {}, defaults, options) ;
							  this._defaults = defaults;
							  this._name = pluginName;
							  this.init();
							}
						  	opn.prototype.init = function () {
							    var self = this;
							    var p = self._defaults;
							    var ac = p.activeItem;

							    //	Add active class
							    $('a[href*=\\#]:not([href=\\#])').bind('click touchstart', function(){
									$(this).parent('li').siblings().removeClass( ac );
									$(this).parent('li').addClass( ac );
								});

								if(typeof p.rowClass != 'undefined' && p.rowClass != null) {

									//	Add THEME Support for VC ROW ID from OPN
							        $('.opn-row-pre-element').each(function(index, el) {
									    var id = $(el).attr('data-id');
									    var gutter = $(el).attr('data-gutter');
									    var opn_enable_overlay = $(el).attr('data-opn_enable_overlay') || '';
									    var opn_hide_navigation = $(el).attr('data-opn_hide_navigation') || '';

									    //	set VC row class from user
									    var $row = $(el).prevAll('.'+p.rowClass+':first');
									    
									    $row.attr('data-op-gutter', gutter);
									    $row.attr('data-opn_enable_overlay', opn_enable_overlay);
									    $row.attr('data-opn_hide_navigation', opn_hide_navigation);
									    if (id != '') {
									    	//	Add ID for VC version <= 4.4
									    	/*if( parseFloat(p.vc_version) <= parseFloat(4.4) ) {*/
									    		//	Check VC version 4.5 set ROW ID
									    		//	if not found set OPN ID for row.

									    		/* 	Does not check VC version or Row has ID.
									    		 * 	Add ID for row Either VC or OPN.
									    		 * 	To fix theme ID's issue.
									    		 *------------------------------------------------------------*/
									    		var hasID = $row.attr('id') || '';
									    		if(hasID === 'undefined' || hasID === null || hasID==='') {
										        	$row.attr('id', id);
									    		}
									    	/*}*/
									    }
									    $(el).remove();
									});

							        //  Apply for 1 Scroll
									setTimeout(function(){
										$('.'+p.rowClass).each( function(index, elem) {
											var id = $(elem).attr('id') || null;
											if(typeof id!= 'undefined' && id != null) {

							                    // 	Get fist Item
							                    if( p.firstItem == false ) {
							                    	p.firstItem = id;
							                    	$('#'+p.firstItem).addClass('opn-active');
							                    	$('#'+p.firstItem).parent().addClass('opn-row-container');
							                    }
											}
										});
							        },700);
								}
	  						};
							$.fn[pluginName] = function ( options ) {
								return this.each(function () {
									if (!$.data(this, 'plugin_' + pluginName)) {
										$.data(this, 'plugin_' + pluginName, new opn( this, options ));
									}
								});
							}
							$(document).ready(function() {

								$('body').OPN_Scroll();

								//	on Visit Scroll to # link
								var opn_jump = function(e)
						        {
						        	var target = 'undefined';

						            if (e)
						            {
						                e.preventDefault();
						                if( !$(this).hasClass('.ui-tabs-anchor, .vc_tta-panel-title a, .vc_tta-tab a, .ult_tab_li a') ) {
						                	target = $(this).attr("href");
						                }
						            } else
						            {
						                target = location.hash;
						            }
						            if (typeof target === 'undefined' || target === '')
						                return false;
						            var gutter = $(target).attr('data-op-gutter');
						            if (typeof gutter === 'undefined')
						                gutter = 0;

						            $(target).animatescroll({
						                scrollSpeed: 1000,
						                easing: 'easeOutQuad',
						                padding: gutter
						            });
						            location.hash = target;
						            $(window).load(function(){
						                setTimeout(function(){
						                     $(target).animatescroll({
						                        scrollSpeed: 1000,
						                        easing: 'easeOutQuad',
						                        padding: gutter
						                    });
						                },500);
						            });
						        }

                                opn_jump();

                                //  Add EXCLUDE - Classes & ID's
                                //$('.ui-tabs-anchor, .vc_tta-panel-title a, .vc_tta-tab a, .ult_tab_li a').addClass('opn-exclude');
								 $('a[href*=\\#]').addClass('opn-exclude');
								 $('header .top-bar .main_nav li.menu-item-has-children > a').addClass('has_children');
								 $('header .top-bar .main_nav a[href*=\\#]:not(".has_children")').removeClass('opn-exclude');
								 $('header .top-bar #kp-mobile-menu li.menu-item-has-children > a').addClass('has_children');
								 $('header .top-bar #kp-mobile-menu a[href*=\\#]:not(".has_children")').removeClass('opn-exclude');
								 $('ul.opn_list li a[href*=\\#]').removeClass('opn-exclude');
								  
								 

                                /*
                                 *  on Click / Touch
                                 *--------------------------------------------------------*/
                                // For menu it will works
                                $("a[href*=\\#]:not('.opn-exclude')").bind('click', function(){
                                    if (location.pathname.replace(/\/$/, '') == this.pathname.replace(/\/$/, '') && location.hostname == this.hostname) {
                                        var target  = $(this.hash);
                                        target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
                                        if (target.length) {
                                            var id = this.hash.slice(1);
                                            var gutter = $('#' + id).attr('data-op-gutter') || 0;

                                            $('#' + id).animatescroll({
                                                scrollSpeed: 1000,
                                                easing: "easeOutQuad",
                                                padding: gutter
                                            });
                                            return false;
                                        }
                                    }
                                });

							});
                            
					        $(document).on('click', "a[href*=\\#]:not('.opn-exclude')", function(e) {
					        //$(document).on('click touchstart', 'a[href*=#]:not([href=#]), a[href*=#]:not(".ui-tabs-anchor, .vc_tta-panel-title a, .vc_tta-tab a, .ult_tab_li a")', function(e) {
						        if (location.pathname.replace(/\/$/, '') == this.pathname.replace(/\/$/, '') && location.hostname == this.hostname) {
						            var target  = $(this.hash);

						            target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
						            if (target.length) {

						            	var scroll_speed = 1000;
						                var scroll_effect = "easeOutQuad";
						                var id = this.hash.slice(1);
						                // Above settings works JUST for - One Page Navigator - Menu
						                var i = p = '';
						                $('.opn_fixed .opn_list').each(function(index, element) {
						                    var anch = $(element).find('a');
						                    anch.each(function(ind, elm) {
						                        var a = $(elm).attr('href');

						                        if(typeof a !== 'undefined' && a != null) {
						                            ind = a.split('#')[1];
						                            if(id == ind) {
						                                p = $(elm).parent().parent();
						                                scroll_speed = p.attr('data-scroll_speed') || 1000;
						                                scroll_effect = p.attr('data-scroll_effect') || "easeOutQuad";
						                            }
						                        }
						                    });
						                });
						                
						                var gutter = $('#' + id).attr('data-op-gutter') || 0;
						                scroll_speed = parseInt(scroll_speed);

						                $('#' + id).animatescroll({
						                    scrollSpeed: scroll_speed,
						                    easing: scroll_effect,
						                    padding: gutter
						                });
						                return false;
						            }
						        }
						    });

						}(jQuery, window));
				</script>
			{"id":7317,"date":"2018-05-14T19:52:46","date_gmt":"2018-05-14T19:52:46","guid":{"rendered":"http:\/\/hilcema.ch\/?post_type=product&#038;p=7317"},"modified":"2020-08-31T20:20:25","modified_gmt":"2020-08-31T20:20:25","slug":"achat-obelisk-5","status":"publish","type":"product","link":"https:\/\/hilcema.ch\/index.php\/product\/achat-obelisk-5\/","title":{"rendered":"Achat Obelisk 5"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"<p><strong>Details:<\/strong><\/p>\n<p>H\u00f6he: 13 cm<br \/>\nStandfl\u00e4che: 4,5 cm<br \/>\n0,3 kg<\/p>\n","protected":false},"featured_media":7745,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"product_cat":[178,171,179],"product_tag":[],"_links":{"self":[{"href":"https:\/\/hilcema.ch\/index.php\/wp-json\/wp\/v2\/product\/7317"}],"collection":[{"href":"https:\/\/hilcema.ch\/index.php\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/hilcema.ch\/index.php\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/hilcema.ch\/index.php\/wp-json\/wp\/v2\/comments?post=7317"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hilcema.ch\/index.php\/wp-json\/wp\/v2\/media\/7745"}],"wp:attachment":[{"href":"https:\/\/hilcema.ch\/index.php\/wp-json\/wp\/v2\/media?parent=7317"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/hilcema.ch\/index.php\/wp-json\/wp\/v2\/product_cat?post=7317"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/hilcema.ch\/index.php\/wp-json\/wp\/v2\/product_tag?post=7317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}