coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: copperphoto on February 12, 2006, 06:29:56 PM

Title: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: copperphoto 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
Title: Re: Eyeball Theme: How to have the hidden "login register" menu -always- visible?
Post by: blackrockcity on February 12, 2006, 06:40:55 PM
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
Title: Mac OX X Theme: How to have the hidden "login register" menu -always- visible?
Post by: blackrockcity 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 (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
Title: Re: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: Nibbler on February 12, 2006, 06:51:52 PM
Remove all references to onmouseover from the theme's theme.php

Title: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: blackrockcity 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:
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
Title: Re: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: Nibbler on February 12, 2006, 09:26:58 PM
Also remove the visibility from the css


#Menu1 {
         position:relative;
         width:780px;
         height:15px;
         top: 3px;
         left: 20px;
         visibility: hidden;
}
Title: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: blackrockcity 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):
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
Title: Re: Eyeball theme: how to keep submenu visible at all times?
Post by: bitcloud 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:
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!