Eyeball theme: how to keep submenu visible at all times? Eyeball theme: how to keep submenu visible at all times?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Eyeball theme: how to keep submenu visible at all times?

Started by csondagar, August 16, 2005, 04:51:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

csondagar

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?

Joachim Müller

edit themes/eyeball/template.html, find <div id="Menu1" style="position:absolute; width:780px; height:30px; z-index:1; left: 22px; top: 47px; visibility: hidden;">and change it to<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.

csondagar

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?

Joachim Müller

edit themes/eyeball/template.html, findfunction 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 withfunction MM_showHideLayers() { //v6.0
}
I havn't tested this, but it should do the trick.