KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/testregisgroup/js/menu/modules/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/testregisgroup/js/menu/modules/mmpagehighlighter.js
/*
   Milonic DHTML Menu Item Activator Module  mmpagehighlighter.js version 1.1 July 13 2005
   This module is only compatible with the Milonic DHTML Menu version 5.16 or higher

   Copyright 2005 (c) Milonic Solutions Limited. All Rights Reserved.
   This is a commercial software product, please visit http://www.milonic.com/ for more information.

	Upload the file to your website, then:
	Add this line AFTER your menu_data.js file: <script src="/mmpagehighlighter.js" type=text/javascript></script>

	Used for highlighting a menu item by showmenu,text or item number based on pagematch properties
	Syntax is:
	
	mmItemActiveByShowMenu("dhtml menu") // highlights a menu item based on its Showmenu value
	mmItemActivateByText("image map sample") // highlights a menu item based on its Text value
	mmItemActivateByNumber(5) // highlights a menu item based on its Numberical Order
	
	The text properties are non case sensitive
*/

function _doHLK(_i){
	_I=_mi[_i]
	$w(_I)
	itemOff(_i);	
}
function _findItem(_txt,_opt){
	for(_a=0;_a<_mi.length;_a++){
		_I=_mi[_a]
		if($tU(_I[_opt])==$tU(_txt))_doHLK(_a)
	}
}
function mmItemActiveByShowMenu(_txt){_findItem(_txt,3)}
function mmItemActivateByText(_txt){_findItem(_txt,1)}
function mmItemActivateByNumber(_txt){_doHLK(_txt)}


/*
//Syntax Samples:
mmItemActiveByShowMenu("dhtml menu")
mmItemActivateByText("about us")
mmItemActivateByNumber(5)
*/

Anon7 - 2021