Missing javascript menu Missing javascript menu
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Missing javascript menu

Started by phill104, February 27, 2007, 05:13:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

phill104

I'm trying to theme my coppermine install to match my site. When I directly view the theme html the menu appears like this

http://www.windsurf.me.uk/cpg133/themes/Skyblue/template.html

but when I select the theme in config the menu dissappears. What am I doing wrong.

Heres the template.html code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html dir="{LANG_DIR}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<meta http-equiv="Pragma" content="no-cache" />
<title>{TITLE}</title>
{META}
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>
<style type="text/css">
<!--
body {
background-color: #C8E6FF;
background-image: url(..//..//..//www/Images/dreamweaver site/bluesky_back.jpg);
background-attachment: fixed;
background-repeat: repeat-x;
background-image: url(/Images/dreamweaver%20site/bluesky_back.jpg);
}
.style2 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
.style3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
-->
</style>

</head>

<body>
<table width="800" border="0" cellpadding="0" cellspacing="0" align="center" >
  <tr>
    <td height="5" colspan="5" background="../../../Images/dreamweaver site/phills site/topcurve.jpg"></td>
  </tr>
  <tr>
    <td width="0" height="140" bgcolor="#000000"></td>
    <td width="266" rowspan="2" bordercolor="#D4D0C8" background="../../../Images/dreamweaver site/phills site/TITLE1.jpg"></td>
    <td width="160" rowspan="2" background="../../../Images/dreamweaver site/phills site/TITLE2.jpg"></td>
    <td width="268" rowspan="2" background="../../../Images/dreamweaver site/phills site/TITLE3.jpg"></td>
    <td width="0" bgcolor="#000000"></td>
  </tr>
  <tr>
    <td rowspan="3" bgcolor="#000000"></td>
    <td rowspan="3" bgcolor="#000000"></td>
  </tr>
  <tr>
    <td height="14" colspan="3" cellspacing="0" cellpadding="0" bordercolor="#99CCFF" bgcolor="#DFEFFF" ><script type="text/javascript" language="JavaScript1.2" src="../../../library/stmenu.js"></script>
    <font></font>
    <script id="Sothink Widgets:lmenu3.pgt" type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu5df9",720,"","../../../library/blank.gif",0,"","",1,0,250,0,1000,1,0,0,"","100%",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,0,0,0,54,"",-2,"",-2,50,0,0,"#799BD8","transparent","../../../library/060417line.gif",3,0,0,"#000000","",-1,-1,0,"transparent","",3,"../../../library/060417buttona2.gif",26,5,0,"transparent","",3,"",-1,-1,0,"transparent","",3,"../../../library/060417buttona1.gif",26,5,0,"transparent","",3,"","","",""]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7",1,"#B5BED6",1,"","../../../library/060417button.gif",2,3,0,0,"#FFFFF7","#000000","#FFFFFF","#0000FF","bold 8pt Verdana","bold 8pt Verdana",0,0],90,26);
stm_aix("p0i1","p0i0",[0,"Gallery","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7",1,"#B5BED6",1,"","../../../library/060417button.gif",3],90,26);
stm_aix("p0i2","p0i1",[0,"Forum"],90,26);
stm_aix("p0i3","p0i1",[0,"Blog"],90,26);
stm_aix("p0i4","p0i1",[0,"Wiki"],90,26);
stm_aix("p0i5","p0i1",[0,"Articles"],90,26);
stm_aix("p0i6","p0i1",[0,"Locations","","",-1,-1,0,""],90,26);
stm_aix("p0i7","p0i6",[0,"Links"],90,26);
stm_ep();
stm_em();
//-->
      </script></td>
  </tr>
  <tr>
    <td height="50" colspan="3" bgcolor="#FFFFFF">
   
{CUSTOM_HEADER}
  <table width="100%" border="0" cellpadding="20" cellspacing="20">
    <tr>
      <td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
              <a href="index.php"></a><br />            </td>
              <td width="100%" align="center">
                <h1>{GAL_NAME}</h1>
                <h3>{GAL_DESCRIPTION}</h3><br />
                {SYS_MENU} <br /> {SUB_MENU}            </td>
            </tr>
          </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="center" valign="top">
                {LANGUAGE_SELECT_FLAGS}            </td>
            </tr>
            <tr>
              <td align="center" valign="top">
                {THEME_SELECT_LIST}
                {LANGUAGE_SELECT_LIST}            </td>
            </tr>
            </table>
          <img src="images/spacer.gif" width="1" height="15" alt="" />
        <br />
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="left" valign="top">
              {ADMIN_MENU}
              {GALLERY}            </td>
            </tr>
          </table>      </td>
      </tr>
  </table>
  {CUSTOM_FOOTER}{VANITY}</td>
  </tr><tr>
      <td bgcolor="#000000"></span></td>
      <td colspan="3" bgcolor="#FFFFFF">
        <p align="center" class="style2"><hr />
        <div align="center"><span class="style3"><a href="../../../index.htm">Home</a><img src="../../../18/18/images/bullet.gif" alt="1" width="15" height="15" /><a href="http://www.brogboroughlake.co.uk" target="_blank">Brogborough Lake </a><img src="../../../18/18/images/bullet.gif" alt="1" width="15" height="15" /><a href="http://www.xcweather.co.uk" target="_blank">Weather</a><img src="../../../18/18/images/bullet.gif" alt="1" width="15" height="15" /><a href="http://www.tushingham.com" target="_blank">Tushingham</a><img src="../../../18/18/images/bullet.gif" alt="1" width="15" height="15" /><a href="mailto:phill@windsurf.me.uk">Contact Us</a><br />
          <img src="../../../18/18/images/bullet.gif" alt="1" width="15" height="15" />&copy;
          <script language="JavaScript" type="text/javascript">
var d=new Date();
yr=d.getFullYear();
if (yr!=2000)
document.write(" "+yr);
            </script>
    Phill Luckhurst <img src="../../../18/18/images/bullet.gif" alt="1" width="15" height="15" /></span></div></td>
      <td bgcolor="#000000"></td>
    </tr>
    <td height="16" colspan="5" background="../../../Images/dreamweaver site/bottomcurve.jpg"><p align="center" class="small"></p></td>
    </tr>
</table>
</body>
</html>
It is a mistake to think you can solve any major problems just with potatoes.

Nibbler


phill104

Strange, I cannot see the tabbed menu. I'll clear my browser, cookies etc and check again.

I'm not sure why it's showing as 1.43 as I updated weeks ago, I'll look into that.
It is a mistake to think you can solve any major problems just with potatoes.

phill104

Nope, still doesn't show up. Below the logo at the top should be a menu bar with the links home, gallery etc.
It is a mistake to think you can solve any major problems just with potatoes.


phill104

Fantastic, I've been starring at that for ages and totally missed the obvious.

Thanks nibbler
It is a mistake to think you can solve any major problems just with potatoes.