forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: csondagar on August 16, 2005, 04:51:27 pm

Title: Eyeball theme: how to keep submenu visible at all times?
Post by: csondagar on August 16, 2005, 04:51:27 pm
In eyeball theme, when the mouse hovers on Home icon the Register and Login submenu shows up.  How do I keep this submenu visible at all times?
Title: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: Joachim Müller on August 16, 2005, 06:34:10 pm
edit themes/eyeball/template.html, find
Code: [Select]
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">and change it to
Code: [Select]
<div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: visible;">Has been asked before, please search.
Title: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: csondagar on August 20, 2005, 07:37:16 pm
The menu stays visible until I hover my mouse over Last Comments or Most Viewed or Top Rated or My Favourites or Search.  Do I need to change any other settings?
Title: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: Joachim Müller on August 21, 2005, 08:55:16 am
edit themes/eyeball/template.html, find
Code: [Select]
function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
and replace with
Code: [Select]
function MM_showHideLayers() { //v6.0
}
I havn't tested this, but it should do the trick.