Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:58
onbgcolor with page anchors
Poster: phillip81249
Dated: Sunday January 2 2005 - 17:23:45 GMT
Hi folks,
I have a long scrolling page with page anchors - I have the menu working fine except, the onbgcolor only responds on the first anchor chosen. the menu can be seen at http://www.onlinefundraising.net
I am working with then special function script for IFrames in the FAQ and need some help.
below is the menu script as I have it now - at top of menu_data.js
function highlightme()
{
_I=_mi[_itemRef];
if(_I[19])_I[7]=_I[19]
if(_I[18])_I[8]=_I[18]
itemOff(_itemRef)
}
example of my link
aI("text=What is OFC;url=http://www.onlinefundraising.net/index.html#ofc;target=qfc;clickfunction=highlightme();");
Thank you for your time and help
Phil
Poster: Ruth
Dated: Sunday January 2 2005 - 18:21:35 GMT
Hi Phil,
First, you need to upgrade the menu, you're down about 5 levels. I can't test what the problem is because I can't use the menu on your site. I have IE5.5 and I just keep getting a script error: '_mi[...].1' is null or not an object.
You might also want to check this threadwhich has another highlighting function.
Ruth
Poster: phillip81249
Dated: Monday January 3 2005 - 2:36:03 GMT
Hi Ryth,
Thank you for your help - I just bought the menu last week and downloaded the zip from inside my account.
The page error happen when I install this script in the Head or Body - I've tried both.
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
<!--
if(ns4)_d.write("<script language=JavaScript src=mmenuns4.js><\/script>");
else _d.write("<script language=JavaScript src=mmenudom.js><\/script>");
-->
</script>
<script type="text/javascript" src="menu_data.js"></script>
Please help me find this problem
Phil