Not showing up!!!

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
cmuench
Beginner
Beginner
Posts: 2
Joined: Thu Nov 10, 2005 5:07 pm

Not showing up!!!

Post by cmuench »

Help me please I went to version 5 and now it won't show up.
here is my code here is a link to the page http://www.nlbaptist.com/new1/index.php

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<!-- site stylesheet (site colors and layout definitions) -->
<link rel="stylesheet" type="text/css" href="images/style.css" />
<!-- tooltips & stylesheet (activated by title="" on links) -->
<link rel="stylesheet" type="text/css" href="images/nicetitle.css" />
<!-- RSS 2.0 feed -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.php" />
<!-- index: page title and extra navigational links -->
<title>New Life Baptist Church in Franklin, IN</title>
<script type="text/javascript" src="milonic_src.js"></script>
	<script	type="text/javascript">
	<script type=text/javascript src=mmenuns4.js></script>
	<script type=text/javascript src=mmenudom.js></script>;
</script>

</head>


<!-- page header -->
<body>

<!-- page header -->
<div id="header"><a name="top"></a>

</div>

<!-- begin wrapper divs -->
<div id="mainwrapper">
<div id="wrapper">

<!-- page content -->
<div id="container">
<div class="content">

<div class="contentbody">
<div>
<script type="text/javascript" src="milonic_src.js"></script>
	<script	type="text/javascript">
	<script type=text/javascript src=mmenuns4.js></script>
	<script type=text/javascript src=mmenudom.js></script>;
</script>
<script type="text/javascript" src="menu_data.js"></script>
</div>


</div>

</div>
</div>

<!-- page menu -->
<h2 class="hidden">Sidebar</h2>
<div id="sidebarcontainer">
<!-- page menu -->
<div class="sidebar">
<dl class="sidebardl">

<dt>Contact Us</dt>
<dd><p style="text-align: center;">
	New Life Baptist Church<br />
	751 Nineveh Road<br />
	Franklin, IN 46131<br />
	(317) 738-4643<br />
<a href="mailto:churchoffice@nlbaptist.com" title="churchoffice@nlbaptist.com">churchoffice</a>
</p>
</dd>
</dl>
</div>

<!-- category list, not on error or member page -->


<div class="sidebar">
<dl class="sidebardl">
<dt>Recent News</dt>
<dd>
<?php include('recentnews.php'); ?>
</dd>
</dl>
</div>
<!-- login form -->
<div class="sidebar">
<dl class="sidebardl">
<dt>Members Login Form</dt>
<dd>
  <div class="loginform">
	<?php include('login.php'); ?>
  </div>

</dd>
</dl>
</div>

<!-- links -->
<div class="sidebar">
<dl class="sidebardl">
<dt>Links</dt>
<dd><a href="http://websites.milonic.com/hostingtruth.net" title="Hostingtruth.net">
Christian Web Hosting</a>
</dd>
</dl>
</div>
</div>
<div class="clearing">&nbsp;</div>
</div>
</div>
<!-- end wrapper divs -->

<!-- page footer, copyrights, etc. -->
<div id="footer">
<div id="copyrights">
<?php include('footer.php'); ?>

</div>
</div>

</body>
</html>
[/html]
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I see the menu in IE5.5, but the coding is wrong to call it. You have calls for the menu files about 3 places. Instead, put the calls immediately after the body tag. Also, the page shows a XHTML so you will need cdata tags with it.

Code: Select all

<body>
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT> 
<script language="javascript" type="text/javascript"> 
//<![CDATA[ 
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");       
  else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>"); 
//]]> 
</script> 
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT> 

<!-- page header --><!-- page header -->
<DIV id=header><A name=top></A></DIV>  and so on
You also don't have the arrow.gif uploaded to the folder where you have the menu which is how you have the call for it in the menu: subimage="arrow.gif"; tells the program the arrow is the same place as all the menu files.

EDIT: also, there's a beginners' guide forum with post on miscellaneous things.

Ruth
Post Reply