PDA

View Full Version : Jim's DHTML Menu v5.7 Propagation



jef
03-08-2010, 04:19 PM
1) Script Title: Jim's DHTML Menu v5.7

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/jimmenu/index.htm

3) Describe problem: I have the menu running on my home page http://www.jeftech.net/ with a few , however it does not propagate to the first level sub menus. I want to get all of the main level and first sub level pages working flawlessly before I add other sub levels.

I am new to programming so please be patient

Do I need to add menu code to each page?

The following is the code used on the website

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<META name=description
content="How to reverse cancer, vaccine injury and other autoimmune diseases naturally">
<META name=keywords
content="detox, cleanse, cellular cleanse, flu, H1N1, H5N1, swine flu, avian flu, human influenza, immunization, vaccination, MS, Fibromyalgia, cancer, alzheimers, parkinsons, detoxification">
<META content=IE=EmulateIE7 http-equiv=X-UA-Compatible>
<SCRIPT type=text/javascript src=""></SCRIPT>
<SCRIPT type=text/javascript>
MM_preloadImages('images/jeftechlogo1_z5by.jpg');
MM_preloadImages('images/a2z_aqua_6.jpg');
MM_preloadImages('images/dr_celltox_detox_system.jpg');
MM_preloadImages('images/lft9000_quad_pics_oo2e.jpg');
MM_preloadImages('images/lft9000hd_menu-lights.jpg');
MM_preloadImages('images/wellbeamsmall.jpg');
MM_preloadImages('images/machine1_loje.jpg');

</SCRIPT>
<SCRIPT type=text/javascript src=""></SCRIPT>
<SCRIPT type=text/javascript>
sfHover = function() {
var el = document.getElementById('Nav1');
if(!/\bnav\b/.test(el.className) && el.tagName == 'UL')
setHover(el);
var ieNavs = document.getElementsByTagName('ul');
for(i=0; i<ieNavs.length; i++) {
var ul = ieNavs[i]; if(/\bnav\b/.test(ul.className))
setHover(ul); }}
function setHover(nav) {
var ieULs = nav.getElementsByTagName('ul');
if (navigator.appVersion.substr(22,3)!='5.0') {
for (j=0; j<ieULs.length; j++) {
var ieMat=document.createElement('iframe');
if(document.location.protocol == 'https:')
ieMat.src='/ie6_blank.htm';
else if(window.opera != 'undefined')
ieMat.src='';
else
ieMat.src='javascript:false';
ieMat.scrolling='no';
ieMat.frameBorder='0';
ieMat.style.width=ieULs[j].offsetWidth+'px';
ieMat.style.height=ieULs[j].offsetHeight+'px';
ieMat.style.zIndex='-1';
ieULs[j].insertBefore(ieMat, ieULs[j].childNodes[0]);
ieULs[j].style.zIndex='101';
}
var ieLIs = nav.getElementsByTagName('li');
for (var i=0; i<ieLIs.length; i++) if (ieLIs[i]) {
ieLIs[i].onmouseover=function() {
if(!/\bsfhover\b/.test(this.className))
this.className+=' sfhover';
}
ieLIs[i].onmouseout=function() {
if(!this.contains(event.toElement))
this.className=this.className.replace(' sfhover', '');
}
ieLIs[i].onmouseclick=function() {
if(!this.contains(event.toElement))
this.className=this.className.replace(' sfhover', '');
}
}
}
}
if(window.attachEvent) window.attachEvent('onload', sfHover);
</SCRIPT>
<SCRIPT language=javascript>var _pagename='Home_Page.html';</SCRIPT>
<LINK id=layout9.css rel=stylesheet type=text/css
href="layout9.css?1348998295">
<LINK id=theme.css rel=stylesheet type=text/css
href="theme.css?1348998295">
<LINK id=color_1.css rel=stylesheet type=text/css
href="color_1.css?1348998295">
<LINK id=custom.css rel=stylesheet type=text/css
href="custom.css?1348998295">
<script type="text/javascript" src="includes/browser.js">


</script>
<script type="text/javascript" src="config.js"></script>

<META NAME="GENERATOR" Content="Visual Page 2.0 for Windows">
<TITLE>JefTech Research Home Page</TITLE>

<STYLE TYPE="text/css">
<!--
BODY {
PADDING-BOTTOM : 0px ;
MARGIN : 0px ;
PADDING-LEFT : 0px ;
PADDING-RIGHT : 0px ;
PADDING-TOP : 0px
}
-->
</STYLE>

</HEAD>

<BODY onload="init()">