Ivalid property value {SOLUTION}

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Dima
Beginner
Beginner
Posts: 2
Joined: Wed Sep 28, 2005 7:21 pm

Ivalid property value {SOLUTION}

Post by Dima »

Hi.
I have milonic menu.
All works.
but I have on some menu link
$mmMenu->addItemFromText("text=$CategoryName;url=h5.php?RealCategoryID=$CategoryID;");

it link to the same file with post value.

On the web page when I click on the menu, it refresh with post value but I have an error Ivalid property value on line 16

I try to debug it.
It fail on line
_lnk.style.color=_lnk.oC

it fail only when I posted a value to the page.
without posted value it work ok.

link to my page:
http://comp.dima.co.il/net_comp/Interface/9088/h5.php

What can I do?
Please help me
Dima
Beginner
Beginner
Posts: 2
Joined: Wed Sep 28, 2005 7:21 pm

RE: Invalid property value

Post by Dima »

I solved it.

I just comment this line
{if(_startM||op)_lnk.oC=_I[8];/*if(_I[34]!="header")_lnk.style.color=_lnk.oC;*/if(_I[26])_lnk.style.textDecoration="none";


on this line it was get an error
if(_I[34]!="header")_lnk.style.color=_lnk.oC;

I just comment it , and this is works.
I do not see any changes in other proccesses.

but I think that this is bug...
plschneide
Beginner
Beginner
Posts: 2
Joined: Mon Nov 28, 2005 2:38 am

Works!

Post by plschneide »

I had the same problem with my menu system. I implemented this change and it is now working.

The problem does NOT show up in Firefox, but did show up in IE if you have javascript error checking turned on.
User avatar
James Bond
Beginner
Beginner
Posts: 3
Joined: Wed Dec 07, 2005 3:32 pm

Same here

Post by James Bond »

Hi there,

I was experiencing the same problem. By adding the comments it also solved my problem.

Thanks for the solution Dima
Ashish Saxena
Beginner
Beginner
Posts: 2
Joined: Thu Sep 04, 2008 6:11 pm

Re: Ivalid property value {SOLUTION}

Post by Ashish Saxena »

As John suggested below,
I removed the comments of the same.
HelloAshishSaxena@gmail.com
Last edited by Ashish Saxena on Mon Sep 29, 2008 10:31 am, edited 4 times in total.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Ivalid property value {SOLUTION}

Post by John »

Note that if you're modifying the menu code (which is copyrighted), we will be unable to help you here in the forum.
John
Ashish Saxena
Beginner
Beginner
Posts: 2
Joined: Thu Sep 04, 2008 6:11 pm

Re: Ivalid property value {SOLUTION}

Post by Ashish Saxena »

I have few queries, related the problem stated in this forum, request for reply
(1) is that problem; still persist in the licensed version ?

(2) We are using the unlicensed version of that menu for the third party, as a developer Can we do any modification, to resolve that ? If not what the process to resolve that ?

Thanks
Ashish
Post Reply