Changelog 5.1?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Kevin@Kasper
Beginner
Beginner
Posts: 7
Joined: Tue Feb 24, 2004 10:54 am
Location: Belgium
Contact:

Changelog 5.1?

Post by Kevin@Kasper »

Well after some search I could make up the version I downloaded was 5.1 (and not 5.09) as most versionstamps in the files still say 5.0 ...
Now, is there somewhere a changelog available on the changes from 5.09 -> 5.1 as the changelog page only shows up to 5.09. And, is there anywhere some documentation on the new 'html' property introduced in 5.09?
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Kevin,

The version number should always be in the comments at the top of milonic_src.js, mmenudom.js, and mmenuns4.js. I guess the version info page has been updated, as it now lists the changes in 5.10.

Don't know about the new "html property". Although from the brief comment in the version info, it's not really a property, it's another possible setting for the type menu item property... i.e., type=html;. I would guess that if you set the menu item's type to html, then the system expects to find html code in the item's text= property; like multiple <a> links, for example. Like this:

Code: Select all

aI("text=<a href="http://websites.milonic.com/yahoo.com/ target=_new>Goto Yahoo</a><br><a href="http://websites.milonic.com/google.com/ target=_new>Goto Google</a>;type=html;");
This single menu item contains two links; one to Yahoo and one to Google. Note that each <a> tag has a target specified... in his case, just a new window (but each one will probably open in the same new window, once it has already been opened). You could, of course, specify a different target for each link, so that wach one opens in its own window. If you threw in a url= property, then clicking one of the <a> links would poen a new window o that link, and the existing window would also go to the url specified in the item's url property.
I gave it a quick try in IE6/Win2k and it works as described. I suppose you could take this a lot further than just having multiple links in one menu item... perhaps it's intended to be a better way of including html in a menu item.

I'm sure some more extensive documentation will be forthcoming. But in the meantime, I hope that helps,

Kevin
Post Reply