Sub-menus not working

Home Forums Older releases 1.0.x Sub-menus not working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2748
    kiernan7
    Participant

    QUESTION # 1: I’ve been banging my way through this and I’ve got the main parts of my menu working fine (great looking menu, by the way), but I can’t seem to get the sub-menus to work correctly.

    I’m putting in the HTML for the page, as well as a screen snap of what I am seeing.

    We want to change to this system, but I’ve got to find a way to make it work first! 😉

    Thanks in advance!

    — John Kiernan

    
    <!-- (Just in case this needs to be commented out)
    <HTML><HEAD>
    <META HTTP-EQUIV="Content-type" content="text/html; charset=UTF-8" />
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />
    <META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT" /> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />"> 
    <TITLE>Compass OnLine Information Network</TITLE>
    <script type="text/javascript" src="/JQuery/jquery.js"></script>
    <script type="text/javascript" src="/JQuery/jquery-ui.js"></script>
    <script type="text/javascript" src="jquery.smartmenus.js"></script>
    <script type="text/javascript" src="menu.js"></script>
    <script type="text/javascript" src="super_menu_items.js"></script>
    <script type="text/javascript" src="template.js"></script>
    <script type="text/javascript" src="setfocus.js"></script>
    <script type="text/javascript">
    	$(function() {
    		$( "input:submit, a, button", ".butdiv" ).button();
    		$( "a", ".butdiv" ).click(function() { return true; });
    	});
    </script>
    <script type="text/javascript">
      $(function() {
        $('#main-menu').smartmenus({
            mainMenuSubOffsetX: -1,
            subMenusSubOffsetX: 10,
            subMenusSubOffsetY: 0
        });
      });
    </script>
    <LINK rel="stylesheet" type="text/css" href="menu.css">
    <link rel="stylesheet" type="text/css" href="/JQuery/jquery-ui.css">
    <link href="sm-core-css.css" rel="stylesheet" type="text/css" />
    <link href="sm-blue.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        @media (min-width: 768px) {
            #main-menu {
                float: left;
                position: relative;
                z-index: 9999;
                width: 12em;
            }
            #main-menu ul {
                width: 12em; /* fixed width only please - you can use the "subMenusMinWidth"/"subMenusMaxWidth" script options to override this if you like */
            }
        }
    </style>
    <link rel="stylesheet" type="text/css" href="eqtstyle.css" >
    </HEAD>
    <BODY BACKGROUND="gradient.png" ONLOAD="f_setfocus();">
    <input type="hidden" id= "sentflag" name= "sentflag" value = "">
    <div id="menudiv">
    
    <ul id="main-menu" class="sm sm-vertical sm-blue">
    	<li><a href="main.com">Home</a></li>
    	<li><a href='clients.com?from=menu&letter=A'>Clients</a></li>
    	<li>Reviews - Incidents/Serv. Goals
    	<ul>
    		<li><a href='option.rwn?which=caseassesslist'>Assessments by Case Load</a></li>
    		<li><a href='option.rwn?which=missassess'>Missing Assessments Report</a></li>
    		<li><a href='events.com?clientno=QA'>Open QA Reviews</a></li>
    		<li><a href='events.com?clientno=PSY'>Open Psych Reviews</a></li>
    		<li><a href='events.com?clientno=NUR'>Open Nurse Reviews</a></li>
    		<li><a href='events.com?clientno=MAN'>Open Manager Reviews</a></li>
    		<li><a href='events.com?clientno=DIR'>Open Director Reviews</a></li>
    		<li><a href='events.com?clientno=II'>Open Investigations</a></li>
    		<li><a href='cliserv.com?which=Staff'>My Service Goals</a></li>
    		<li><a href='option.com?which=servobjad'>Service  Goals  by Site</a></li>
    		<li><a href='events.com?clientno=CON'>Confidential Reviews</a></li>
    		<li><a href='events.com?clientno=INC'>Incomplete Investigations</a></li>
    	</ul>
    	</li>
    	<li><a href='poc.com?letter=A'>Plans of Care</a></li>
    	<li><a href='teach.com'>Teaching System</a></li>
    	<li><a href='diagnosis.com?from=menu&letter=A'>Medical Diagnosis Library</a></li>
    	<li>Billing
    	<ul>
    		<li><a href='billdupes.com'>Remove Bill Dupes</a></li>
    		<li><a href='billdouble.com'>Find Double Bills</a></li>
    		<li><a href='billover.com'>Find Overbills</a></li>
    		<li><a href='billmult.com'>Find Multiple Overbills</a></li>
    		<li><a href='option.com?which=clientexport'>Client Export</a></li>
    		<li><a href='option.com?which=billexport'>Billing Export</a></li>
    		<li><a href='option.com?which=billimport'>GAT Import</a></li>
    		<li>Billing Reports
    		<ul>
    			<li><a href='option.com?which=billmonthrept'>Monthly Billing Report (Current)</a></li>
    			<li><a href='option.com?which=billmonthrepthist'>Monthly Billing Report (History)</a></li>
    			<li><a href='option.com?which=clientenrollist'>Client Enrollment List</a></li>
    			<li><a href='option.com?which=groupslist'>Groups Listing</a></li>
    			<li><a href='option.com?which=peachtree'>Peachtree Spreadsheet</a></li>
    	</ul>
    	</li>
    	</ul>
    	</li>
    	<li>Reports
    	<ul>
    		<li>Vehicle Reports
    		<ul>
    			<li><a href='option.com?which=servdue'>Service Due</a></li>
    			<li><a href='vehrept.com?which=actveh'>Active Vehicles</a></li>
    			<li><a href='option.com?which=tagrenew'>License Tag Renewal</a></li>
    			<li><a href='option.com?which=vehhist'>Vehicle History Report</a></li>
    		</ul>
    		</li>
    		<li>Management Reports
    		<ul>
    			<li><a href='option.com?which=qaexcept'>QA Review Exception Report</a></li>
    			<li><a href='option.com?which=qasummary'>QA Site Summary Report</a></li>
    			<li><a href='option.com?which=inc1'>Incidents by Program Site Report</a></li>
    			<li><a href='option.com?which=annmeet'>Annual Meeting Report</a></li>
    			<li><a href='option.com?which=demo'>Demographic Report</a></li>
    			<li><a href='option.com?which=increview'>Incidents Review Report</a></li>
    			<li><a href='recinvest.com'>Recent Investigations</a></li>
    			<li><a href='option.com?which=dellog'>Delete Log Report</a></li>
    		</ul>
    		</li>
    		<li>Case Load Reports
    		<ul>
    			<li><a href='option.com?which=cliservl'>Service Goals by Case Load</a></li>
    		</ul>
    		</li>
    		<li>Service  Goals Reports
    		<ul>
    			<li><a href='option.com?which=cliservd'>Service Goals - Day Sites</a></li>
    			<li><a href='option.com?which=cliservr'>Service Goals - Res Sites</a></li>
    			<li><a href='option.com?which=cliservgd'>Service Goals - Day (Graph)</a></li>
    			<li><a href='option.com?which=cliservgr'>Service  Goals - Res (Graph)</a></li>
    			<li><a href='option.com?which=cliservad'>Service  Goals Aging - Day Sites</a></li>
    			<li><a href='option.com?which=cliservar'>Service  Goals Aging - Res Sites</a></li>
    		</ul>
    		</li>
    		<li>File Listings
    		<ul>
    			<li><a href='option.com?which=contlist'>Contacts Listing</a></li>
    			<li><a href='option.com?which=contlabel'>Contacts Labels</a></li>
    			<li><a href='option.com?which=emaillog'>EMail Log Listing</a></li>
    			<li><a href='option.com?which=xmllog'>XML Log File</a></li>
    			<li><a href='option.com?which=excel'>Export to Excel</a></li>
    	</ul>
    	</li>
    	</ul>
    	</li>
    	<li><a href='pgmsite.com?from=menu&show=All'>Program Sites</a></li>
    	<li>Utility Functions
    	<ul>
    		<li><a href='option.com?which=matrix'>Rate Matrix</a></li>
    		<li><a href='bulkmaillist.com'>Bulk EMail List</a></li>
    		<li><a href='readdress.com'>Rebuild Client Site Addresses</a></li>
    		<li><a href='option.com?which=clientchg'>Change Client Number</a></li>
    		<li><a href='viewnoupdate.com'>View the No Update file</a></li>
    		<li><a href='rebuild.com'>Rebuild System Database</a></li>
    		<li><a href='menuchange.com'>Regenerate Menus</a></li>
    		<li><a href='vehloc.com'>Rebuild Vehicle Locations</a></li>
    		<li><a href='option.com?which=clirates'>Add Missing Client Rates</a></li>
    		<li><a href='rebbody.com'>Rebuild Body Chart files</a></li>
    		<li><a href='option.com?which=reassignso'>Reassign Service  Goals</a></li>
    		<li><a href='option.com?which=navexport'>Export to Navision</a></li>
    		<li><a href='option.com?which=navexport&wparam5=compare'>State Comparison Report</a></li>
    	</ul>
    	</li>
    	<li>Utility Tables
    	<ul>
    		<li><a href='groups.com'>Groups</a></li>
    		<li><a href='staff.com'>Staff</a></li>
    		<li><a href='diagnosis.com?from=edit&letter=A'>Edit Medical Diagnosis Library</a></li>
    		<li><a href='rights.com'>Rights</a></li>
    		<li><a href='rules.com'>Rules</a></li>
    		<li><a href='evtype.com'>Event Type</a></li>
    		<li><a href='icds.com'>ICDs</a></li>
    		<li><a href='providers.com?from=menu'>Providers</a></li>
    		<li><a href='assets.com?type=vehicle'>Vehicles</a></li>
    		<li><a href='processes.com'>Processes</a></li>
    		<li><a href='caseloads.com'>Case Loads</a></li>
    		<li><a href='privacy.com'>Privacy Groups</a></li>
    		<li><a href='editxmldata.com'>Edit XML data</a></li>
    		<li><a href='option.com?which=meddlist'>Edit Medical Docs Table</a></li>
    	</ul>
    	</li>
    	<li class="listitem"><a href="logout.cnp">Log Out</a></li>
    </ul>
    </div> 
    <div id="logo"></div>
    <div id="headerdiv">Compass OnLine Information Network
    <div id="datetime">
    <span class="dtfield">
    <b>Date: </b>09/18/15
    </span>
    <span class="dtfield">
    <b>Time: </b>14:17:21
    </span>
    <span class="dtfield">
    <b>User: </b>Steven Russell
    </span>
    <span class="dtfield">
    <b>Browser: </b>Chrome
    </span>
    </div> <!-- DateTimeDiv -->
    </div> <!-- HeaderDiv -->
    <div id="hrdiv"><HR></div>
    <div id="bigdiv">
    <div id="formdiv">
    <div id="messagediv"> </div></div> <!-- FormDiv -->
    </div> <!-- BigDiv -->
    
    </BODY>
    </HTML>
    -->
    

    #2749
    kiernan7
    Participant

    PS: I tried a method recommended here (elsewhere on this forum) of changing:

    FROM:
    $(function() {
    $(‘#main-menu’).smartmenus({
    mainMenuSubOffsetX: 1,
    mainMenuSubOffsetY: -8,
    subMenusSubOffsetX: 1,
    subMenusSubOffsetY: -8
    });
    });

    TO:
    $(function() {
    $(‘#main-menu’).smartmenus({
    mainMenuSubOffsetX: -1,
    subMenusSubOffsetX: 10,
    subMenusSubOffsetY: 0
    });
    });

    Neither worked.

    — John

    #2752
    kiernan7
    Participant

    Never mind, figured it out!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?