Here is the site its http://www.scenicforums.com
That Icon bar is where the menu needs to appear and it does (although for some reason it extends beyond where it should). Why oh why do the menus appear for a second on top of the Googleads rather than beneath the menu? Its easy enough for me to make the meny appear up there and work in its entirety but it needs to be where it is now.
I have created a file in my includes folder which is called menu.php and contains:
Code: Select all
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript" src="mmenudom.js"></script>
Code: Select all
echo "<head>\n";
echo "<title>$sitename $pagetitle</title>\n";
include("includes/meta.php");
include("includes/javascript.php");
include("includes/menu.php");
Then theres the THEME AHHHHHHHHHHHHHHHHHHHHHH......
Code: Select all
$alttext1 = "The Scenic Forums";
function OpenTable() {
global $bgcolor1, $bgcolor2;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable() {
echo "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}
function CloseTable2() {
echo "</td></tr></table></td></tr></table>\n";
}
function FormatStory($thetext, $notes, $aid, $informant) {
global $anonymous;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
echo "<font class=\"content\">$thetext$notes</font>\n";
} else {
if($informant != "") {
$boxstuff = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
} else {
$boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
echo "<font class=\"content\">$boxstuff</font>\n";
}
}
function themeheader() {
global $alttext1, $banners, $bgcolor5, $bgcolor6, $bgcolor7, $bgcolor8, $bgcolor9, $bgcolor20, $bgcolor21, $user, $t, $f, $mode, $user, $cookie, $prefix, $db, $user_prefix, $name;
if (!is_user($user)) {
mt_srand ((double)microtime()*1000000);
$maxran = 1000000;
$random_num = mt_rand(0, $maxran);
};
echo "<body bgcolor=\"$bgcolor5\" text=\"#000000\" link=\"0000ff\">"
."<br>";
if ($banners) {
include("banners.php");
echo "<br>";
}
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\" bgcolor=\"$bgcolor6\" width=\"800\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"800\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"800\">\n";
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"ffffff\" width=\"800\" align=\"left\">\n"
."<td width=\"100%\" height=\"30\" bgcolor=\"#ffffff\" background=\"themes/pd2003/images/top_login.gif\" width=\"800\" height=\"30\">\n";
echo"<div id=\jmbti_div></div>";
echo "<tr><td width=\"100%\" height=\"80\" bgcolor=\"$bgcolor7\">\n"
."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=\"left\"><a href=\"index.php\"><img border=\"0\" src=\"themes/pd2003/images/logo.jpg\" alt=\"$alttext1\" hspace=\"0\"></a><br></td>\n";
[b] echo "<script type=\"text/javascript\" language=\"JavaScript1.2\" src=\"menu_data.js\"></script>\n"; [/b]
echo "</td></tr><tr><td width=\"100%\"><table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><td bgcolor=\"$bgcolor9\" background=modules.php?name=Private_Messages&file=index&folder=inbox\"themes/pd2003/images/line1.gif\">\n";
$public_msg = public_message();
echo "$public_msg<br>";
echo "</td></tr></table><table width=\"800\" cellpadding=\"0\" bgcolor=\"$bgcolor20\" cellspacing=\"0\" border=\"0\">\n"
The menu atleast works in part as the hover over gives the evaluation message. Its based around Sample 68 (the start button).