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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.