Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:49
Convert old data.js file to new version?
Poster: bgordon
Dated: Friday March 25 2005 - 18:20:06 GMT
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
Poster: Ruth
Dated: Friday March 25 2005 - 22:39:10 GMT
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
Poster: bgordon
Dated: Friday March 25 2005 - 22:49:55 GMT
Thanks a million, Ruth!
This will save me a bunch of time... -bg
Poster: Ruth
Dated: Saturday March 26 2005 - 2:51:44 GMT
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:
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