forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: fadedsoul on July 05, 2004, 08:53:39 pm

Title: JavaScript submenu support - Frames
Post by: fadedsoul on July 05, 2004, 08:53:39 pm
I was wondering if someone could help me...
On my website I use a top and main frame and control
navigation through a Java script menu. The main menu shows in
the top frame and the submenus show through the main frame (look at www.fadedsoul.com)
I can do this by puting a small piece of code just above the /body statement in the html
for the pages... How/where could I put this in the Coppermine coding to allow my submenus
to be seen when the photo gallery is selected.
Thanks to anyone who can help...

CMV
www.fadedsoul.com
Title: Re: JavaScript submenu support - Frames
Post by: DaMysterious on July 05, 2004, 09:35:35 pm
I was wondering if someone could help me...
On my website I use a top and main frame and control
navigation through a Java script menu. The main menu shows in
the top frame and the submenus show through the main frame (look at www.fadedsoul.com)
I can do this by puting a small piece of code just above the /body statement in the html
for the pages... How/where could I put this in the Coppermine coding to allow my submenus
to be seen when the photo gallery is selected.
Thanks to anyone who can help...

CMV
www.fadedsoul.com

You can do this in theme.php as fom here
Code: [Select]
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">

til there the main navigation is defined.
Code: [Select]
EOT;
// HTML template for gallery admin menu
$template_gallery_admin_menu = <<<EOT