Hi,
wouldn't it a good idea to have the menu items being objects with properties instead of having the AI("property1=value1;property2=value2;...") way?
I know that the actuel method is smaller, but begin half OO and half string isn't it more a mixed up programming?
Jute asking...
menu items
- mtd_conseil
- Advanced
- Posts: 27
- Joined: Fri Jul 26, 2002 6:41 pm
- Location: Quebec, Canada
- Contact:
The only problem with this is JavaScript itself.
JavaScript wont allow you to have an object within an object, it just doesnt support objects in that way.
The data structure file has had many hours of thought and I can't really see any other way at the moment.
The AI("properties=value;") method is much better than the old route.
Let me know if you can think of another way.
Cheers
Andy
JavaScript wont allow you to have an object within an object, it just doesnt support objects in that way.
The data structure file has had many hours of thought and I can't really see any other way at the moment.
The AI("properties=value;") method is much better than the old route.
Let me know if you can think of another way.
Cheers
Andy