Hello i've instaled the latest coppermine gallery here : http://www.bodybuilding-homepage.com/gallery/index.php
But i whant at the top to put a flash header with the menu of the site ... i didn't manage to think how to do this the flash header is the same as here : http://www.bodybuilding-homepage.com/links/index.html
Thanks and regards waiting for your help .
Add it into your theme's template.html file.
{META}
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
{CUSTOM_HEADER}
{GAL_NAME}
{GAL_DESCRIPTION}
{SUB_MENU}
{SYS_MENU}
{ADMIN_MENU} {GALLERY}
{THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST}
{LANGUAGE_SELECT_FLAGS}
{CUSTOM_FOOTER}
{VANITY}
template.html how it looks in my dreamwaver what i need to modify here ?
The JavaScript section is OK, but where's the actual flash object in your template?
Well i don't know where to add it in that code ?
Wherever you want it to appear - if you know how to add flash to a regular HTML page. If you don't, post a screenshot and highlight the area where you want it to appear.
I added the swf but it doesn't load : http://www.bodybuilding-homepage.com/gallery/
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="639" height="360">
<param name=movie value="header.swf">
<param name=quality value=high>
<embed src="header.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="639" height="360">
</embed>
</object>
You need to either upload header.swf to your coppermine directory or change that parameter to point to your existing version on that other page.
It's uploaded in the directory of the template.html theme .
I moved it to the main directory . It's working fine . Thanks .