Clickfunction not firing / a different operating system??

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
cubefree
Super Advanced
Super Advanced
Posts: 82
Joined: Fri Aug 01, 2003 3:16 am
Location: Seattle, WA
Contact:

Clickfunction not firing / a different operating system??

Post by cubefree »

NEVERMIND.

V5.13 appears to have solved the problem....


I'm trying to figure out why my clickfunction (CF) is NOT firing under one server vs another.

At http://www.cubefree.NET, the host server uses OS: FreeBSD, Web server: Apache 1.3. It does NOT fire under this operating system. (I tried adding an JS alert() and it's not firing!

At http://www.cubefree.COM, the host server uses OS: WinNT, Web server: IIS. It does fire here under this operating system.

Could the OS/Web server be the difference?

My Clickfunction (CF):

Code: Select all

function mm_changeItemProperty(dir) 
{ 
	//8 = offcolor, 18 = pagecolor
	for (i=0;i<_mi.length;i++) {
		_mi[i][8]  = '#999999'; 
		_mi[i][18] = '#999999'; 
	}
	_mi[_itemRef][8] = '#C94522'; 
	BDMenu(_mi[_itemRef][0]); 
	document.location.href = dir;
}
Example of code which fires the CF:

Code: Select all

	aI("text="+pi+"administrative tools;url="+DOM+ts+".php#admin;"+sepp+"clickfunction=mm_changeItemProperty('"+DOM+ts+".php#admin');");	
Full JS file with CF code: http://www.cubefree.net/menu/services_data.js

JS file with main menu code:
http://www.cubefree.net/menu/menu_data.js

What does my click function do?? It makes sure the left nav reflects state for sub-items with ONLY an anchor name jump link (not to another page).

Hmmmm.... any ideas??

Is there an easier way?? It's not pagematch as that requires a reload and #anchor jumps don't force that.

Also, did the milonic support form for those with licenses dissappear?
Post Reply