Convert old data.js file to new version?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bgordon
Beginner
Beginner
Posts: 8
Joined: Wed Aug 07, 2002 12:25 am

Convert old data.js file to new version?

Post by bgordon »

Are there any tools available that will convert a data.js file that was set up for version 3.5.12 into a file that will work with the current menu version?

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

Post by Ruth »

Hi bg,
Go to the main site, and under the DHTML Menu link look toward the bottom and you'll see Version 3 to 5 converter.

Once you convert it, look for any double semi-colons in the aI strings. Sometimes you'll get something like ;;separator") at the end of the string, that second ; should be after separator;"); and there should be a semi-colon ending each one of those strings ;"); like so.

Ruth
bgordon
Beginner
Beginner
Posts: 8
Joined: Wed Aug 07, 2002 12:25 am

Post by bgordon »

Thanks a million, Ruth!

This will save me a bunch of time... -bg
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

You're welcome.

A couple of other quick fixes: if you have effect set in version 3 it will come at the top of version 5 data file. Eliminate that and use the built in property for it.

Code: Select all

overfilter="Alpha(style=0, opacity=90);Shadow(color='#777777', direction=135, strength=5)";
That gets placed in the section that says with(whateverStyle=new mm_style()){

There's an interactive demo for the filters/transition effects which will let you see the different ones on a menu and will set up the code for you to just copy and paste


Ruth
Post Reply