Portal Engine
Version 3.x > Portal Engine > Menu Fade Delay View modes: 
User avatar
Member
Member
racquistapace-geotherm - 1/28/2009 4:35:13 PM
   
Menu Fade Delay
Hi,

I'm using the Portal Engine and I'd like to change the Menu Fade Delay time and I can't figure out how. Anybody know where/how to change this value? It seems like it's set to '2' (which equals 1 full second).

Thanks!

User avatar
Member
Member
racquistapace-geotherm - 1/28/2009 4:55:05 PM
   
RE:Menu Fade Delay
I found it. Here it is in case anybody else needs to find it.

I found the following in \CMSScripts\skmmenu.js and skmmenuup.js:

//Region Methods to hook up a menu to the global variables
function skm_registerMenu(menuID, selectedStyleInfo, unselectedStyleInfo, menuFadeDelay, highlightTopMenu){
skm_SelectedMenuStyleInfos[menuID]=selectedStyleInfo;
skm_UnselectedMenuStyleInfos[menuID]=unselectedStyleInfo;
skm_MenuFadeDelays[menuID]=menuFadeDelay;
skm_highlightTopMenus[menuID]=highlightTopMenu;
}

Change:
skm_MenuFadeDelays[menuID]=menuFadeDelay;
to
skm_MenuFadeDelays[menuID]=<new value>;


User avatar
Member
Member
mehrdadilchizadeh-yahoo - 9/6/2012 1:56:57 AM
   
RE:Menu Fade Delay
//Region Fade Functions
function skm_doTick(menuID){
if (skm_clockValue>=skm_MenuFadeDelays[menuID]){
skm_stopTick();
skm_closeSubMenus(document.getElementById(menuID));
} else {
skm_clockValue++;
skm_ticker=setTimeout("skm_doTick('"+menuID+"');", 500);
}
}

chang 500 to new value and after chang you must restart appliction in cmssitemanager