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
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
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
Remove all references to onmouseover from the theme's theme.php
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
Also remove the visibility from the css
#Menu1 {
position:relative;
width:780px;
height:15px;
top: 3px;
left: 20px;
visibility: hidden;
}
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
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!