Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Eyeball theme: how to keep submenu visible at all times?  (Read 3968 times)

0 Members and 1 Guest are viewing this topic.

csondagar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Eyeball theme: how to keep submenu visible at all times?
« 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Eyeball theme: how to keep submenu visible at all times?
« Reply #1 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.
Logged

csondagar

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Eyeball theme: how to keep submenu visible at all times?
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Eyeball theme: how to keep submenu visible at all times?
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.043 seconds with 20 queries.