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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

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

Started by copperphoto, February 12, 2006, 06:29:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

copperphoto

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

blackrockcity

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

blackrockcity

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

Nibbler

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


blackrockcity

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

When I remove all these code parts:
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?
<a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@</a>

THX again

John

Nibbler

Also remove the visibility from the css


#Menu1 {
         position:relative;
         width:780px;
         height:15px;
         top: 3px;
         left: 20px;
         visibility: hidden;
}

blackrockcity

THX...that worked!  ;D

Here is the summary of what I did:

From <theme.php>, I removed this code (6 times):
onmouseover="MM_showHideLayers('SYS_MENU','','hide')"

From <style.css>, I changed the section <#SYS_MENU> from:
#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

#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

bitcloud

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:
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!