Word wrapping on MAC in IE?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Word wrapping on MAC in IE?

Post by whiskey3 »

I got my version from dynamic drive....
http://www.dynamicdrive.com/dynamicinde ... /index.htm

Is this an older version of the script?

The word's "What's New" and "Tech Info" in the NavBar wrap in the MAC in Explorer??

http://ww.moldex.com/new/navbar/menu.htm
Wolf
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

<personal_comment>
Stay away from dynamic drive.
</personal_comment>

You got 3.3.19, while the current version in the v3 series is 3.5.15. That puts you literally 20-some versions down level. Always get your downloads here.

Move up to v5, in RC stage right now, but very stable and due (hopefully) to be released in just days. You'll need to re-write a few things, but it won't take you long and you'll be up-to-daye. See http://milonic.com/v5_rc3/menu5.zip.
John
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Re: New Version

Post by whiskey3 »

Can I copy my old menu.htm file and will all my settings take etc. so I don't have to rebuild it all again?
How does this work?

Thanks.....
Wolf
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

If you're going to move from v3 to v5 - yes, you cannot :!:

Sorry, it's Monday. No, the arrays in v3 and v5 and completely different. They will have to be done again. However, you will be picking up the numerous benefits of a great new system, so, to me, it would be well worth it.
John
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Post by whiskey3 »

Hi,


In the new version 5........ I didn't see anywhere in the code where there is a fade or opacity?

The old version had this in the code....

effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"

Where is it in the new version?

Thanks.
Wolf
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

It is my understanding that the filter item is in v5. Looking at some of Andy's demos I see filter =..., however in those I looked at it is commented out (//). However, that doesn't mean it's not there. Why not take a shot at something like...

Code: Select all

filter = "fade(duration=0.2)";
...or whatever.
John
User avatar
whiskey3
Super Advanced
Super Advanced
Posts: 79
Joined: Fri Jul 18, 2003 8:47 pm

Post by whiskey3 »

So it's called "filter" instead of "effect" now?
Okay.
Will the opacity and shadow work as well in that string?

Thanks.
Wolf
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

So it's called "filter" instead of "effect" now?
Actually they always were really 'filters', given that Andy's demo page is filters_sample.php. You could have called 'effect' anything you wanted, just so you changed the name in the menu area as well.
Will the opacity and shadow work as well in that string?
I suspect the operative answer to that is 'try it' :!: :D
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

See the OVERFILTER option of a menu described in this post below. Look at the alpha and shadow options that are used as examples.

http://www.milonic.co.uk/menu/forum/vie ... php?t=2014

You would put that line in each menu's declaration as in...

Code: Select all

overfilter = "Alpha(style=0,opacity=70);Shadow(color='#666666', Direction=135, Strength=4)";
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

It's also woth noting that version 5 also supports an "outfilter" property (which v3 lacked). "overflter" is applied to a menu when it opens. "outfilter" is applied when it closes. Pretty cool actually. If you intend to use the same filters for every submenu, you could define them in strings, e.g. over_filter = "Fade(..." and "out_filter" = "randomdisolve(...". Then assign these strings to the appropriate filter properties in the menu definition, e.g., overfilter=over_filter. Saves a lot of typing that way, and is easier to test and modify. Plus, you could assign the strings based on conditionals; e.g., making them null for browsers that don't support such effects, or reducing the number of effects to one for browsers that don't combine multiples (like IE5).

Kevin
Post Reply