|
From: OryNider <ory...@us...> - 2008-02-01 01:33:37
|
Update of /cvsroot/mxbb/core/modules/mx_navmenu/templates/prosilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31482 Added Files: index.htm mx_menu_horizontal.html mx_menu_overall_navigation.html mx_menu_vertical.html Removed Files: mx_menu_classic_ver.html mx_menu_overall_standard.html Log Message: mx_message_die() fixes plus security check if main classses are loaded. prosilver nav menu template files replaced. --- NEW FILE: mx_menu_vertical.html --- <style type="text/css"> <!-- .topiclist dd.posts_portal { float:left; text-align:left; font-size: 1.0em; padding:6px 5px 6px 5px; } .topiclist li dl dd.posts_portal A.nav { padding-bottom: 50px; margin-bottom:10px; } .topiclist li dl dd.posts_portal span.mnurow, .topiclist li dl dd.posts_portal span.mnurow:hover, .topiclist li dl dd.posts_portal span.mnurow-current, .topiclist li dl dd.posts_portal span.mnurow-current:hover { background-repeat: no-repeat; background-position: 0px 0px; padding-left: 20px; display:block; clear:both; margin-top:3px; margin-bottom:3px; } .topiclist li dl dd.posts_portal span.mnurow-current { background-position: 0px -30px; font-weight: bold; } .topiclist li dl dd.posts_portal span.mnurow:hover, .topiclist li dl dd.posts_portal span.mnurow-current:hover { background-position: 0px -15px; } --> </style> <div class="forabg block"> <ul class="inner topiclist forums"> <li style="padding-right:5px;"> <dl> <dd class="posts_portal"> <!-- BEGIN catrow --> <span style="cursor:pointer;" onClick="mx_toggle(this, 'mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}', '{catrow.U_CAT_NAV_EXPAND}', '{catrow.U_CAT_NAV_CONTRACT}');"><img src="{catrow.U_CAT_NAV_DYNAMIC}" border="0" /></span> <strong>{catrow.CATEGORY}</strong><br /> <!-- BEGIN switch_cat_desc --> {catrow.switch_cat_desc.CAT_DESC}<br /> <!-- END switch_cat_desc --> <span id="mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}" style="display: {catrow.CAT_SHOW};"> <!-- BEGIN menurow --> <span class="mnurow{catrow.menurow.CURRENT}" style="background-image: url('{catrow.menurow.MENU_ICON}');"> <a class="nav" href="{catrow.menurow.U_MENU_URL}">{catrow.menurow.MENU_NAME}</a><br /> </span> <!-- END menurow --> </span> <br /> <!-- END catrow --> </dd> </dl> </li> </ul> <span class="corners-bottom"><span></span></span> </div> --- mx_menu_classic_ver.html DELETED --- --- NEW FILE: mx_menu_overall_navigation.html --- <link href="{U_PORTAL_ROOT_PATH}modules/mx_navmenu/templates/prosilver/prosilver.css" rel="stylesheet" type="text/css" media="screen" /> <style type="text/css"> li.nav-menu, li.nav-menu-current { float:left; style-list-image: none; position:relative; padding: 4px; background: #12A3EB url("{U_PORTAL_ROOT_PATH}{TEMPLATE_ROOT_PATH}theme/images/sitebar_bg.gif") repeat-x; background-position: 0px -23px; border: none; margin: 0px; } li.button ul, li.button-current ul { /* border: solid 1px black;*/ border: none; } li.nav-menu A, li.nav-menu-current A { padding-left: 20px; background-repeat: no-repeat; font-size: 1.1em; background-position: 0px 0px; } li.nav-menu-current A { background-position: 0px -30px; } li.nav-menu A:hover, li.nav-menu-current A:hover { background-position: 0px -15px; } </style> <div style="clear:left;float:left"> <ul> <!-- BEGIN catrow --> <li class="button{catrow.CURRENT}" id="c_{catrow.CAT_ID}" onmouseover="showMenuRows('{catrow.CAT_ID}');" onmouseout="hideMenuRows('{catrow.CAT_ID}')"> {catrow.CATEGORY} <ul id="cat_{catrow.CAT_ID}" onmouseover="showMenuRows('{catrow.CAT_ID}');" style="display:none;position:absolute;background-color:#FFFFFF;margin:0px;padding:0px;position:absolute;z-index:160;"> <!-- BEGIN menurow --> <li class="nav-menu{catrow.menurow.CURRENT}"> <a href="{catrow.menurow.U_MENU_URL}" style="background-image: url({catrow.menurow.MENU_ICON})"> {catrow.menurow.MENU_NAME} </a> </li> <!-- END menurow --> </ul> </li> <!-- END catrow --> </ul> </div> <script type="text/javascript"> function getObj(obj) { return ( document.getElementById ? document.getElementById(obj) : ( document.all ? document.all[obj] : null ) ); } var qeuedMenuSteps = new Array(); var qeuedMenuCurrentStep = 0; var qeuedMenuTime = 1000; function objOffSet(){ this.left = 0; this.top = 0; } function calOffset( obj, obj2){ obj.left = obj.left + obj2.offsetLeft; obj.top = obj.left + obj2.offsetTop; if ( obj2.nodeName != 'HTML') { obj = calOffset( obj, obj2.parentNode); } return obj; } /** * * @access public * @return void **/ function proceedMenuSteps( proceed){ if ( qeuedMenuCurrentStep < qeuedMenuSteps.length || proceed) { while( qeuedMenuCurrentStep < qeuedMenuSteps.length ) { eval( qeuedMenuSteps[qeuedMenuCurrentStep]); qeuedMenuCurrentStep ++; } } setTimeout( 'proceedMenuSteps()', qeuedMenuTime); } setTimeout( 'proceedMenuSteps()', qeuedMenuTime); /** * * @access public * @return void **/ function hideMenuRows( objID){ qeuedMenuSteps[qeuedMenuSteps.length] = "getObj('"+ 'cat_' + objID + "').style.border='none';"; qeuedMenuSteps[qeuedMenuSteps.length] = "getObj('"+ 'cat_' + objID + "').style.display='none';"; } function showMenu( objID){ cat_obj = getObj( 'cat_' + objID); cat_obj.style.display = 'block'; cat_obj.style.border = 'solid 1px Black'; cat_obj.style.borderTop = 'none'; } /** * * @access public * @return void **/ function showMenuRows( objID){ qeuedMenuSteps[qeuedMenuSteps.length] = "showMenu( '" + objID + "');"; proceedMenuSteps( true); } //alert(getObj( 'menu_rows')); </script> --- NEW FILE: mx_menu_horizontal.html --- <style type="text/css"> <!-- .topiclist dd.posts_portal { float:left; text-align:left; font-size: 1.0em; padding:6px 5px 6px 5px; } .topiclist li dl dd.posts_portal A.nav { padding-bottom: 50px; margin-bottom:10px; } .topiclist li dl dd.posts_portal span.mnurow, .topiclist li dl dd.posts_portal span.mnurow:hover, .topiclist li dl dd.posts_portal span.mnurow-current, .topiclist li dl dd.posts_portal span.mnurow-current:hover { background-repeat: no-repeat; background-position: 0px 0px; padding-left: 20px; display:block; clear:both; margin-top:3px; margin-bottom:3px; } .topiclist li dl dd.posts_portal span.mnurow-current { background-position: 0px -30px; font-weight: bold; } .topiclist li dl dd.posts_portal span.mnurow:hover, .topiclist li dl dd.posts_portal span.mnurow-current:hover { background-position: 0px -15px; } --> </style> <div class="forabg block"> <ul class="inner topiclist forums"> <li style="padding-right:5px;"> <dl> <!-- BEGIN catrow --> <dd class="posts_portal"> <span style="cursor:pointer;" onClick="mx_toggle(this, 'mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}', '{catrow.U_CAT_NAV_EXPAND}', '{catrow.U_CAT_NAV_CONTRACT}');"><img src="{catrow.U_CAT_NAV_DYNAMIC}" border="0" /></span> <strong>{catrow.CATEGORY}</strong><br /> <!-- BEGIN switch_cat_desc --> {catrow.switch_cat_desc.CAT_DESC}<br /> <!-- END switch_cat_desc --> <span id="mxNavCat_{catrow.BLOCK_ID}{catrow.CAT_ID}" style="display: {catrow.CAT_SHOW};"> <!-- BEGIN menurow --> <span class="mnurow{catrow.menurow.CURRENT}" style="background-image: url('{catrow.menurow.MENU_ICON}');"> <a class="nav" href="{catrow.menurow.U_MENU_URL}">{catrow.menurow.MENU_NAME}</a><br /> </span> <!-- END menurow --> </span> </dd> <!-- END catrow --> </dl> </li> </ul> <span class="corners-bottom"><span></span></span> </div> --- mx_menu_overall_standard.html DELETED --- --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |