invalid property problem..

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Alvin
Beginner
Beginner
Posts: 2
Joined: Wed Apr 05, 2006 6:31 am

invalid property problem..

Post by Alvin »

This is the way i code for the menu

with(milonic=new menuname("mnLeave")){
style=menuStyle;
aI("text=Leave Calendar;url=index.php?section=1");
aI("text=Staffs Approval;url=index.php?section=2");
aI("text=Leave Summary;url=index.php?section=3");
}

because of the extra = in url property, I always get an error "Invalid property value"

Anyway i can solve this problem and does anybody there face this problem before. Thanks and urgently need for your greatly help and advice.

Regards,
Alvin
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

try to find out, if it works, when you terminate the url by a semicolon ( ; ).

Code: Select all

aI("text=Leave Calendar;url=index.php?section=1;");
aI("text=Staffs Approval;url=index.php?section=2;");
aI("text=Leave Summary;url=index.php?section=3;");


Michael
Alvin
Beginner
Beginner
Posts: 2
Joined: Wed Apr 05, 2006 6:31 am

Post by Alvin »

same... error..

Any idea more...
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

Can´t you provide a url, I don´t believe the reason for your problem is this part of the code you have provided.

Michael
Post Reply