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: Re: Eyeball theme: how to keep submenu visible at all times?  (Read 4163 times)

0 Members and 1 Guest are viewing this topic.

copperphoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Eyeball theme: how to keep submenu visible at all times?
« on: February 12, 2006, 06:29:56 pm »

This mod seems not to work for 1.4.3

Any suggestions on how to keep submenu visible at all times in eyeball with version 1.4.3

Thanks
Logged

blackrockcity

  • Coppermine newbie
  • Offline Offline
  • Posts: 6

Hi out there,

how can I manage this (un-hide the "login / register / etc - menu) on the Coppermine 1.4.3 with "Mac OX X" theme..? I can only find the first mentioned code section (template.html), the other 3 code sections (which I should change) cannot be found in the specific files...

THX

John
Logged

blackrockcity

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Mac OX X Theme: How to have the hidden "login register" menu -always- visible?
« Reply #2 on: February 12, 2006, 06:47:08 pm »

Hi@all,

I got this search result for this problem
http://forum.coppermine-gallery.net/index.php?topic=13989.msg64731#msg64731

But I can only find the first mentioned code section (template.html), the other 3 code sections (which I should change) cannot be found in the specific files...


THX

John
Logged

Nibbler

  • Guest
Re: Re: Eyeball theme: how to keep submenu visible at all times?
« Reply #3 on: February 12, 2006, 06:51:52 pm »

Remove all references to onmouseover from the theme's theme.php

Logged

blackrockcity

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Eyeball theme: how to keep submenu visible at all times?
« Reply #4 on: February 12, 2006, 09:23:18 pm »

Sorry, but this doesn't seem to work (or I am just too stupid  ;) )

When I remove all these code parts:
Code: [Select]
onmouseover="MM_showHideLayers('SYS_MENU','','hide')"I prevent the menu from disappearing again (but you have to move the mouse over it before!).

But how do I manage that it will be shown all the time, without moving the mouse over it?
How do I have to change this code?
Code: [Select]
<a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>
THX again

John
Logged

Nibbler

  • Guest
Re: Re: Eyeball theme: how to keep submenu visible at all times?
« Reply #5 on: February 12, 2006, 09:26:58 pm »

Also remove the visibility from the css

Code: [Select]
#Menu1 {
         position:relative;
         width:780px;
         height:15px;
         top: 3px;
         left: 20px;
         visibility: hidden;
}
Logged

blackrockcity

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Eyeball theme: how to keep submenu visible at all times?
« Reply #6 on: February 12, 2006, 09:49:55 pm »

THX...that worked!  ;D

Here is the summary of what I did:

From <theme.php>, I removed this code (6 times):
Code: [Select]
onmouseover="MM_showHideLayers('SYS_MENU','','hide')"
From <style.css>, I changed the section <#SYS_MENU> from:
Code: [Select]
#SYS_MENU {
        position: relative;
        bottom: 10px;
        left: 10px;
        width:800px;
        height:15px;
        z-index:1;
        text-align:left;
        margin:0;
        padding:0;
        visibility: hidden;

to

Code: [Select]
#SYS_MENU {
        position: relative;
        bottom: 10px;
        left: 10px;
        width:100%;
        height:15px;
        z-index:1;
        text-align:center;
        margin:0;
        padding:0;
to make the SYS_MENU appear in the center of the page.

THX to ALL

John
Logged

bitcloud

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Eyeball theme: how to keep submenu visible at all times?
« Reply #7 on: November 15, 2006, 08:26:12 pm »

Well you might think this is a hack job, but to change the sub menu's to "always visible" I just found in template.html the line:
Code: [Select]
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }and changed the 'hidden' value to 'visible'

You'll also need to change style.css, find the "visbility" line and change it to say "visible" instead of "hidden"

Not the cleanest method, but it's quick and dirty & does the job!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.