sswapna Posted June 17, 2005 Posted June 17, 2005 (edited) Hi everybody,I want to update my template . I am giving my template below:<html><head><!-- TemplateBeginEditable name="doctitle" --><title>University of Memphis - University College</title><!-- TemplateEndEditable --><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Tue Oct 28 11:42:14 GMT-0600 (Central Standard Time) 2003--><script language="JavaScript"><!--function MM_findObj(n, d) { //v4.01var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function MM_swapImgRestore() { //v3.0var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}}function mmLoadMenus() {if (window.mm_menu_1015104429_0) return;window.mm_menu_1015104429_0 = new Menu("root",180,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);mm_menu_1015104429_0.addMenuItem("Admissions & Applications","window.open('admission.htm', '_self');");mm_menu_1015104429_0.addMenuItem("Experiential Learning","window.open('experiential.htm', '_self');");mm_menu_1015104429_0.addMenuItem("Information Sessions","window.open('info_sessions.htm', '_self');");mm_menu_1015104429_0.addMenuItem("Request Information","window.open('info_request_form.htm', '_self');");mm_menu_1015104429_0.addMenuItem("Design Your Own Degree","window.open('dyod.htm', '_self');");mm_menu_1015104429_0.hideOnMouseOut=true;mm_menu_1015104429_0.menuBorder=1;mm_menu_1015104429_0.menuLiteBgColor='#ffffff';mm_menu_1015104429_0.menuBorderBgColor='#555555';mm_menu_1015104429_0.bgColor='#555555';window.mm_menu_1015104720_1 = new Menu("root",181,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);mm_menu_1015104720_1.addMenuItem("Advising","window.open('advising.htm', '_self');");mm_menu_1015104720_1.addMenuItem("Electronic Permit Request","window.open('electronic_permit.htm', '_self');");mm_menu_1015104720_1.addMenuItem("Graduation Information","window.open('graduation.htm', '_self');");mm_menu_1015104720_1.addMenuItem("Request Advising Appointment","window.open('advising_appt.htm', '_self');");mm_menu_1015104720_1.addMenuItem("SACS","window.open('sacs.htm', '_self');");mm_menu_1015104720_1.addMenuItem("Scholarship","window.open('sholarship.htm', '_self');");mm_menu_1015104720_1.addMenuItem("UC Forms","window.open('forms.htm', '_self');");mm_menu_1015104720_1.hideOnMouseOut=true;mm_menu_1015104720_1.menuBorder=1;mm_menu_1015104720_1.menuLiteBgColor='#ffffff';mm_menu_1015104720_1.menuBorderBgColor='#555555';mm_menu_1015104720_1.bgColor='#555555';window.mm_menu_1015104846_2 = new Menu("root",156,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);mm_menu_1015104846_2.addMenuItem("MALS","window.open('mals_jack.htm', '_self');");mm_menu_1015104846_2.addMenuItem("Organizational Leadership","window.open('org_leadership.htm', '_self');");mm_menu_1015104846_2.addMenuItem("Paralegal","window.open('paralegal_jackson.htm', '_self');");mm_menu_1015104846_2.hideOnMouseOut=true;mm_menu_1015104846_2.menuBorder=1;mm_menu_1015104846_2.menuLiteBgColor='#ffffff';mm_menu_1015104846_2.menuBorderBgColor='#555555';mm_menu_1015104846_2.bgColor='#555555';window.mm_menu_1015105132_3 = new Menu("root",122,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);mm_menu_1015105132_3.addMenuItem("UNIV Courses","window.open('syllabus.htm', '_self');");mm_menu_1015105132_3.addMenuItem("LEGL Courses","window.open('syllabus.htm#legl', '_self');");mm_menu_1015105132_3.addMenuItem("Fire Service Courses","window.open('syllabus.htm#fire', '_self');");mm_menu_1015105132_3.addMenuItem("Thematic Studies","window.open('thematic.htm', '_self');");mm_menu_1015105132_3.hideOnMouseOut=true;mm_menu_1015105132_3.menuBorder=1;mm_menu_1015105132_3.menuLiteBgColor='#ffffff';mm_menu_1015105132_3.menuBorderBgColor='#555555';mm_menu_1015105132_3.bgColor='#555555';window.mm_menu_1015105413_5_1 = new Menu("Undergraduate Programs",260,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#000084","left","middle",3,0,1000,-200,16,true,true,true,0,true,true);mm_menu_1015105413_5_1.addMenuItem("Alcohol/Drug Abuse","window.open('alcohol_drug.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("American Studies","window.open('american_studies.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Biomedical Engineering","window.open('biomedical.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Biomedical Illustration","window.open('bio_illustration.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Childcare Administration","window.open('childcare.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Construction Management","window.open('construction_mgmt.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Commercial Aviation","window.open('aviation.htm', '_self');");<br>mm_menu_1015105413_5_1.addMenuItem("Family and Consumer Studies","window.open('consumer.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Fashion and Home Furnishings Merchandising","window.open('fashion.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Fire Administration","window.open('fire.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Fire Prevention Technology","window.open('fire_tech.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Health Services","window.open('health.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Human Services","window.open('human_services.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Judaic Studies","window.open('http://cas.memphis.edu/isc/jdst/', '_blank');");mm_menu_1015105413_5_1.addMenuItem("Law Enforcement Administration","window.open('law.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Nonprofit Administration","window.open('nonprofit.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Online: Curricula","window.open('online_degree.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Organizational Leadership","window.open('org_lead.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Paralegal Studies","window.open('paralegal.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Religion in Society","window.open('religion.htm', '_self');");mm_menu_1015105413_5_1.addMenuItem("Technology Management Services","window.open('tech_mgmt.htm', '_self');");mm_menu_1015105413_5_1.hideOnMouseOut=true;mm_menu_1015105413_5_1.menuBorder=1;mm_menu_1015105413_5_1.menuLiteBgColor='#ffffff';mm_menu_1015105413_5_1.menuBorderBgColor='#555555';mm_menu_1015105413_5_1.bgColor='#555555';window.mm_menu_1015105413_5 = new Menu("root",180,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#000084","left","middle",3,0,1000,-200,16,true,true,true,0,true,true);mm_menu_1015105413_5.addMenuItem("Graduate Programs","window.open('mals.htm', '_self');");mm_menu_1015105413_5.addMenuItem("Design Your Own Degree","window.open('dyod.htm', '_self');");mm_menu_1015105413_5.addMenuItem(mm_menu_1015105413_5_1);mm_menu_1015105413_5.hideOnMouseOut=true;mm_menu_1015105413_5.childMenuIcon="images/arrows.gif";mm_menu_1015105413_5.menuBorder=1;mm_menu_1015105413_5.menuLiteBgColor='#ffffff';mm_menu_1015105413_5.menuBorderBgColor='#555555';mm_menu_1015105413_5.bgColor='#555555';window.mm_menu_1015105244_4 = new Menu("root",126,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);mm_menu_1015105244_4.addMenuItem("Registration Helpline","window.open('http://www.enrollment.memphis.edu/registrar/r_center/help.htm', '_blank');");mm_menu_1015105244_4.addMenuItem("RODP","window.open('http://www.tn.regentsdegrees.org/campus/memphis/', '_blank');");mm_menu_1015105244_4.addMenuItem("Tigerweb","window.open('https://tigerweb.memphis.edu/ahomepg.htm', '_blank');");mm_menu_1015105244_4.addMenuItem("UofM BookStore","window.open('http://umemphis.bkstore.com/', '_blank');");mm_menu_1015105244_4.addMenuItem("UofM Homepage","window.open('http://www.memphis.edu/', '_blank');");mm_menu_1015105244_4.hideOnMouseOut=true;mm_menu_1015105244_4.menuBorder=1;mm_menu_1015105244_4.menuLiteBgColor='#ffffff';mm_menu_1015105244_4.menuBorderBgColor='#555555';mm_menu_1015105244_4.bgColor='#555555';mm_menu_1015105244_4.writeMenus();} // mmLoadMenus()//--></script><script language="JavaScript1.2" src="mm_menu.js"></script><style type="text/css"><!--body {margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;}.style4 {font-size: 12px;font-family: Arial, Helvetica, sans-serif;}--></style><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --></head><body bgcolor="#ffffff" onLoad="MM_preloadImages('../images/univ_coll_r2_c1_f2.gif','../images/univ_coll_r2_c3_f2.gif','../images/univ_coll_r2_c4_f2.gif','../images/univ_coll_r3_c2_f2.gif','../images/univ_coll_r3_c5_f2.gif','../images/univ_coll_r3_c9_f2.gif','../images/univ_coll_r3_c10_f2.gif','../images/univ_coll_r3_c11_f2.gif','../images/univ_coll_r3_c12_f2.gif')"><div align="center"><script language="JavaScript1.2">mmLoadMenus();</script><table border="0" cellpadding="0" cellspacing="0" width="760"><!-- fwtable fwsrc="mock6.png" fwbase="univ_coll.gif" fwstyle="Dreamweaver" fwdocid = "147830888" fwnested="0" --><tr><td><img src="../images/spacer.gif" width="28" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="41" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="86" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="9" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="2" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="75" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="6" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="32" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="121" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="98" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="132" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="98" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="32" height="1" border="0" alt=""></td><td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td></tr><tr><td colspan="5"><a href="http://www.memphis.edu/" target="_blank"><img name="univ_coll_r1_c1" src="../images/univ_coll_r1_c1.gif" width="166" height="50" border="0" alt="University of Memphis"></a></td><td colspan="8"><img src="../images/uc_banner.jpg" width="590" height="80"></td><td><img src="../images/spacer.gif" width="1" height="50" border="0" alt=""></td></tr><tr><td colspan="6"><div align="right"><a href="../index.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('univ_coll_r2_c1','','../images/univ_coll_r2_c1_f2.gif',1)"><img name="univ_coll_r2_c1" src="../images/univ_coll_r2_c1.gif" width="69" height="26" border="0" alt=""></a><a href="../siteMap.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('univ_coll_r2_c3','','../images/univ_coll_r2_c3_f2.gif',1)"><img name="univ_coll_r2_c3" src="../images/univ_coll_r2_c3.gif" width="86" height="26" border="0" alt=""></a><a href="../contact.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('univ_coll_r2_c4','','../images/univ_coll_r2_c4_f2.gif',1)"><img name="univ_coll_r2_c4" src="../images/univ_coll_r2_c4.gif" width="86" height="26" border="0" alt=""></a></div></td><td colspan="7" background="../images/univ_coll_r2_c7.gif"><div align="right"><script>var mydate=new Date()var year=mydate.getYear()if (year < 1000)year+=1900var day=mydate.getDay()var month=mydate.getMonth()var daym=mydate.getDate()if (daym < 10)daym="0"+daymvar dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")document.write("<small><font color='000000' face='Verdana'>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</font></small>")</script></div></td><td><img src="../images/spacer.gif" width="1" height="26" border="0" alt=""></td></tr><tr><td colspan="13"><div align="center"><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1015104429_0,0,29,null,'univ_coll_r3_c2');MM_swapImage('univ_coll_r3_c2','','../images/univ_coll_r3_c2_f2.gif',1)"><img name="univ_coll_r3_c2" src="../images/univ_coll_r3_c2.gif" width="136" height="29" border="0" alt=""></a><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1015104720_1,0,29,null,'univ_coll_r3_c5');MM_swapImage('univ_coll_r3_c5','','../images/univ_coll_r3_c5_f2.gif',1)"><img name="univ_coll_r3_c5" src="../images/univ_coll_r3_c5.gif" width="115" height="29" border="0" alt=""></a><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1015104846_2,0,29,null,'univ_coll_r3_c9');MM_swapImage('univ_coll_r3_c9','','../images/univ_coll_r3_c9_f2.gif',1)"><img name="univ_coll_r3_c9" src="../images/univ_coll_r3_c9.gif" width="121" height="29" border="0" alt=""></a><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1015105132_3,0,29,null,'univ_coll_r3_c10');MM_swapImage('univ_coll_r3_c10','','../images/univ_coll_r3_c10_f2.gif',1)"><img name="univ_coll_r3_c10" src="../images/univ_coll_r3_c10.gif" width="98" height="29" border="0" alt=""></a><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout()" onMouseOver="MM_showMenu(window.mm_menu_1015105413_5,0,29,null,'univ_coll_r3_c11');MM_swapImage('univ_coll_r3_c11','','../images/univ_coll_r3_c11_f2.gif',1)"><img name="univ_coll_r3_c11" src="../images/univ_coll_r3_c11.gif" width="132" height="29" border="0" alt=""></a><a href="#" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1015105244_4,0,29,null,'univ_coll_r3_c12');MM_swapImage('univ_coll_r3_c12','','../images/univ_coll_r3_c12_f2.gif',1)"><img name="univ_coll_r3_c12" src="../images/univ_coll_r3_c12.gif" width="98" height="29" border="0" alt=""></a></div></td><td><img src="../images/spacer.gif" width="1" height="29" border="0" alt=""></td></tr><tr><td height="368" colspan="13" valign="top"><blockquote><br><!-- TemplateBeginEditable name="content" -->content<!-- TemplateEndEditable --><p> </p></blockquote></td><td rowspan="2"><img src="../images/spacer.gif" width="1" height="435" border="0" alt=""></td></tr><tr bgcolor="#CCCCCC"><td colspan="13" valign="top"><div align="center"><span class="style4"> <br>[ <a href="http://www.memphis.edu" target="_blank">University of Memphis </a>] | [ <a href="http://search.memphis.edu" target="_blank">Search U of M </a>] | [ <a href="http://tigerweb.memphis.edu" target="_blank">TigerWeb </a>] | [ <a href="../contact.htm" target="_self">Contact Us </a>] <br>Copyright © 2003, University College, The University of Memphis.<br>Website maintained by <a href="mailto:sswapna@memphis.edu">Swapna Shroff </a></span></div></td></tr></table></div></body></html>I want to update my above template by just adding one menu-item. SO I have added a menu item inwindow.mm_menu_1015105132_3 = new Menu("root",122,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#ffffff","#cccccc","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);like this-mm_menu_1015105413_5_1.addMenuItem("Correctional Administration","window.open('administration.htm', '_self');");Then by updating this template the whole web folder got updated and posted to server. But the menus are not working after doing this update. There is a java script file for this menu, when we keep the mouse on the menu, the menus items should gets listed. But after the update is done, the menu items are not getting displayed even we keep mouse on that.Please kindly suggest me. If you want to look how menus works you can have a look atwww.uc.memphis.eduThank you. Edited June 18, 2005 by Alanoll
Blam-O! Posted June 18, 2005 Posted June 18, 2005 Dude, don't post your entire web page....just your actual menu template.I use Dreamweaver 2004 also, but I am still a newbie when it comes to web coding. (If you visit my web site you will know what I mean)I think your problem is with java script. Post just your menu layout with the starting and and ending point of the java script that relates to your menu only. and double check your html for any errors via Dreamweaver.maybe I can help you out a little.... (I love Dreamweaver, but my website doesn't give it justice , maybe if I had more time... )
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now