_menuCloseDelay=500; _menuOpenDelay=150; _subOffsetTop=-1; _subOffsetLeft=-10; var eshopaccmenu_opened_ref_element = null; var eshopaccmenu_opened_ref_animated = false; var eshopaccmenu_toggletime = 250; //var eshopaccmenu_easeing = "easeOutBounce"; var eshopaccmenu_easeing = "easeInOut"; document.write("
"); function eshopacc_show_contentelement(contentelement) { var animelem = $("
").html($(contentelement).html()); var hh = $(contentelement).height(); $(contentelement).hide(); var animelem = $("
").attr("class",$(contentelement).attr("class")).html($(contentelement).html()); $(contentelement).before(animelem); $(animelem).height(1); $(animelem).animate({ opacity: 1, height: hh, }, eshopaccmenu_toggletime, eshopaccmenu_easeing, function() { $(this).remove(); $(contentelement).show(); }); } function eshopacc_hide_contentelement(contentelement) { $(contentelement).slideUp('fast'); var animelem = $("
").attr("class",$(contentelement).attr("class")).html($(contentelement).html()); $(contentelement).before(animelem); $(animelem).animate({ opacity: 0, height: 0, }, eshopaccmenu_toggletime, function() { $(this).remove(); }); } function eshopacc_cat_clicked(element) { window.location = element.href; /* if (eshopaccmenu_opened_ref_animated) { return; } if (eshopaccmenu_opened_ref_element) { eshopacc_hide_contentelement(eshopaccmenu_opened_ref_element.parentNode.nextSibling); } if (!$.trim(element.parentNode.nextSibling.innerHTML)) { eshopacc_cat_empty(element); eshopaccmenu_opened_ref_element = null; return; } if (element==eshopaccmenu_opened_ref_element) { eshopaccmenu_opened_ref_element = null; return; } eshopacc_show_contentelement(element.parentNode.nextSibling); eshopaccmenu_opened_ref_element = element; eshopaccmenu_opened_ref_animated = true; setTimeout(function(){eshopaccmenu_opened_ref_animated=false;},eshopaccmenu_toggletime); loadCategory(element);*/ } function eshopacc_init_by_id(cat_id) { $(".eshopaccmenu_header a").each(function(){ var stext = cat_id+" "; if (this.title.substr(0,stext.length)==stext) { eshopaccmenu_opened_ref_element = this; $(this.parentNode.nextSibling).slideDown('fast'); $(this).addClass('act'); ajaxLoadedID = cat_id; } }); } function eshopacc_cat_empty(element) { var url = "index.php?name=eShop&file=index&function=listPage&category=1"; // FIXME // window.location = url; if(ajaxLoadedID != element.id){ axload(url+''); ajaxLoadedID = element.id; } } var ajaxLoadedID = null; function loadCategory(element){ if(ajaxLoadedID != element.id){ var target = '';//event.target || event.srcElement; axload('/termekeink?function=categoryPage&category='+element.id+'','',target); ajaxLoadedID = element.id; } return; } $(function() { /****** add extra CMS menuitems to shop menus ******/ // addItem("menu1", "Galéria WPC", "/termekeink/WPC_teraszburkolat"); addItem("menu1", "Galéria trópusi fa", "/termekeink/ideck_teraszburkolat"); $(".mitemtable").each(function(index) { $(this).mouseenter(function(){ $(this).find("td").first().html(""); }); $(this).mouseout(function(){ $(this).find("td").first().html(""); }); $(this).click(function(){ document.location = $(this).attr('data-href'); }); }); var eshopaccmenu_opened_ref_element = null; function addItem(menuname, label, href){ var o = $("#"+menuname); o.parent().prepend("
"); if(document.location.pathname == href && document.location.pathname!="/termekeink/ideck_teraszburkolat"){ setTimeout( function(){ o.parent().prev().find('a').addClass('act'); o.parent().prev().find('a').click(); },200); } } }); with(menuStyle_1=new mm_style()){ offclass="menuSubJS";onclass="menuSubJS";bordercolor="#059c1e";borderstyle="solid";borderwidth="2";headerbgcolor="#ffffff";headercolor="#ffffff";offbgcolor="#f1ffc8";offcolor="#000000";onbgcolor="#d9eaa6";oncolor="#000000";padding="2";pagecolor="#1BC5A7";onsubimage="parameters/exoticwood/templates/eShop/pnblocks/images/menu_nyil_over.gif";subimage="parameters/exoticwood/templates/eShop/pnblocks/images/menu_nyil.gif";subimagepadding="2";separatorsize="1";separatorcolor="#d9eaa6";itemwidth="270";rawcss="padding-left:10px; "; pagebgcolor='#FFFFFF'; offbgcolor='#f1ffc8'; } with(menuStyle=new mm_style()){ offclass="menuSubJS";onclass="menuSubJS";headerbgcolor="#ffffff";headercolor="#ffffff";offbgcolor="#f1ffc8";offcolor="#000000";onbgcolor="#d9eaa6";oncolor="#000000";padding="3";pagecolor="#1BC5A7";onsubimage="parameters/exoticwood/templates/eShop/pnblocks/images/menu_nyil_over.gif";subimage="parameters/exoticwood/templates/eShop/pnblocks/images/menu_nyil.gif";subimagepadding="2";itemwidth="200";separatorsize="0";separatorcolor="#f1ffc8";} with (exoticMenu=new menuname("Main Menu")) { rawcss='margin-bottom:5px;'; alwaysvisible=1; left=0; orientation="vertical"; position="relative"; style=menuStyle; menuwidth=200; } document.write("

Eredeti fa parketta

"); document.write(""); with(menuStyle_1=new mm_style()){ offclass="menuSubJS";onclass="menuSubJS";bordercolor="#059c1e";borderstyle="solid";borderwidth="2";headerbgcolor="#ffffff";headercolor="#ffffff";offbgcolor="#f1ffc8";offcolor="#000000";onbgcolor="#d9eaa6";oncolor="#000000";padding="2";pagecolor="#1BC5A7";onsubimage="parameters/exoticwood/templates/eShop/pnblocks/images/menu_nyil_over.gif";subimage="parameters/exoticwood/templates/eShop/pnblocks/images/menu_nyil.gif";subimagepadding="2";separatorsize="1";separatorcolor="#d9eaa6";itemwidth="270";rawcss="padding-left:10px; "; pagebgcolor='#FFFFFF'; offbgcolor='#f1ffc8'; } with(menuStyle=new mm_style()){ offclass="menuSubJS";onclass="menuSubJS";headerbgcolor="#ffffff";headercolor="#ffffff";offbgcolor="#f1ffc8";offcolor="#000000";onbgcolor="#d9eaa6";oncolor="#000000";padding="3";pagecolor="#1BC5A7";onsubimage="parameters/exoticwood/templates/eShop/pnblocks/images/menu_nyil_over.gif";subimage="parameters/exoticwood/templates/eShop/pnblocks/images/menu_nyil.gif";subimagepadding="2";itemwidth="200";separatorsize="0";separatorcolor="#f1ffc8";} with (exoticMenu=new menuname("Main Menu")) { rawcss='margin-bottom:5px;'; alwaysvisible=1; left=0; orientation="vertical"; position="relative"; style=menuStyle; menuwidth=200; } document.write("

Fa teraszburkolat

"); document.write(""); document.write("
");