Look at the source of this page
http://vega-movie.central.sussex.ac.uk/~nuke/
the first thing after the opening body tag is the javascipt I want to load
up
it should produce a menu as is at the top of
http://vega-movie.central.sussex.ac.uk/
BTW: I didn't choose the colourscheme I just have to work with it
If this is no help the relevent part of the php is as follows:
function themeheader() {
echo "<body bgcolor=\"FF0000\" text=\"ffffff\" link=\"0000ff\"
vlink=\"0000ff\">"
.."<script type=\"text/javascript\" src=\"themes/vega/menu.js\"></script>";
if ($banners) {
include("banners.php");
}
echo"<table border=\"0 cellpadding=\"4\" cellspacing=\"0\" width=\"100%\"
align=\"center\"><tr><td bgcolor=\"FF0000\">"
.."<table border=\"0\" cellspacing=\"0\" cellpadding=\"3\" width=\"100%\"
bgcolor=\"FF0000\"><tr><td>"
.."<a href=\"index.php\"><img src=\"themes/ExtraLite/images/logo.gif\"
alt=\"Welcome to $sitename\" title=\"Welcome to $sitename\"
border=\"0\"></a>"
.."</td><td align=\"right\">"
.."<form action=\"modules.php?name=Search\" method=\"post\">"
.."<font class=\"content\">Search"
.."<input type=\"text\" name=\"query\">"
.."</font></form>"
.."</td></tr></table></td></tr><tr><td valign=\"top\" width=\"100%\"
bgcolor=\"FF0000\">";
"Juha Suni" <ju*******@ilmiantajat.fi> wrote in message
news:bg**********@news1.songnet.fi...
"Chris Dean" <me@[remove this]christopher-dean.fsnet.co.uk> wrote in
message news:bg**********@ames.central.susx.ac.uk... Hi I'm useing the php NUKE CMS and am designing a theme
for it. this basically consists of the the main html structure of the
page being produced line by line from php echo commands
I have a javascript menu system I want to use which is held in an
external .js file
so I try to echo out the relevent <script></script> startements to load
up this file
however it's not showing up on the page - however the static html
version of the
page works fine
Are these <script> lines showing up in the html source of the php-page
when you view it in your browser. If they are, they possibly have typos
somewhere there, which you should be able to catch this way.
Otherwise you better show us the php-code (the lines that echo the
javascript) if you want help.
--
Suni