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: JavaScript submenu support - Frames  (Read 5781 times)

0 Members and 1 Guest are viewing this topic.

fadedsoul

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
JavaScript submenu support - Frames
« 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
Logged

DaMysterious

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 404
  • My CPG Recources
    • My CPG Recources
Re: JavaScript submenu support - Frames
« Reply #1 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
Logged
DaMysterious.
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.