onbgcolor with page anchors

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
phillip81249
Beginner
Beginner
Posts: 3
Joined: Sun Jan 02, 2005 7:40 am

onbgcolor with page anchors

Post by phillip81249 »

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. ... ighlightme();");

Thank you for your time and help

Phil
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
phillip81249
Beginner
Beginner
Posts: 3
Joined: Sun Jan 02, 2005 7:40 am

Post by phillip81249 »

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
phillip81249
Beginner
Beginner
Posts: 3
Joined: Sun Jan 02, 2005 7:40 am

Post by phillip81249 »

Hi Ruth,

I have a problum in the script changes I've made in the menu_data.js

I'll find it an then get back with you

Thanks for your patients

Phil
Post Reply