RC44 problems?...form input box and 'Milonic' link

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

RC44 problems?...form input box and 'Milonic' link

Post by jonathan »

I've just moved to RC44 and I'm seeing a couple of issues (using IE6).

The first is that with an <input> box as a menu item, you can't click inside the box. (This problem was also in RC42 but not in RC29). You get the 'hand' icon. If you move the cursor to the very edge of the box, you can just click inside it.

The other issue is that a 'Home' menu item displays correct for a second, and then 'blinks' to the word 'MILONIC' with a link to http://milonic.com. The status bar text is from my menu data. (This also occurs in your sample download.
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

I've also just found another issue. On some occasions, menu items that open into a new window don't always work. i.e. they sometimes open in the same window.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

A URL (as requested) would be a big help.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

If you put a forum object inside a menuitem, you need to set its type to form, here's how:

Code: Select all

aI("text=<form>blahblahblah</form>;type=form;");
Cheers
Andy
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

Thanks Andy. I'll give that a go. I can't give a URL as the site is an internal Intranet system.

The other issue with the 'MILONIC' appearing happens in your latest sample download. What is causing that?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

jonathan wrote:The other issue with the 'MILONIC' appearing happens in your latest sample download. What is causing that?
You need to be logged in to the main site before doing the download, and be a licensed user of the menu. The free version gets the forced link.
John
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

Thank you. I had never realised that. I have recently installed a new PC and I think my previous one was set to remember login, hence I never had to do anything and it just worked!

As always, excellent product, and excellent support!

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

Post by John »

jonathan wrote:As always, excellent product, and excellent support!

Thanks.
No, thank you :!: Your kind words are most appreciated.
John
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

All now good apart from my final comment regards new windows:
I've also just found another issue. On some occasions, menu items that open into a new window don't always work. i.e. they sometimes open in the same window.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Any more specifics (a particular menu or circumstance, etc.)? I use new windows all over one of my sites and have never had a failure.
John
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

The item definition is as follows:

Code: Select all

aI("status=Online access to your email;target=_blank;text=CPL Webmail;url=http://webmail.cplaromas.com;")
I can't give you a URL as it is on an Intranet.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I don't see any problem with that code (except, depending on what flavor of HTML you're running, you might want to close the .com as .com/). However, that's another issue and not the fix here.

What RC are you running? OS and IE current, etc.?
John
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

Put on the latest RC45. Running IE 6.0.2800.1106.xpsp2 (all latest from Microsoft site).
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Unfortunately I don't know what else to tell you. Everything looks OK, I can't try it because you're 'hidden', and I haven't heard of any other problems with this. Know that's not much help, but...

Is this failing on more than one machine?
John
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

Yes, failing on more than one machine...all would be IE. I will have a delve a little deeper and see if I can get some pattern to it.

I will also try and put it on a personal web server to see if the problem occurs elsewhere. You can then see it for yourself if it is an issue.

Thanks for you help so far. I'll post back in here any findings.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

jonathan wrote:I will also try and put it on a personal web server to see if the problem occurs elsewhere. You can then see it for yourself if it is an issue.
That would really be a big help - thanks.
John
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

This one is now doing my head in!...

I still haven't got to the bottom of this, but I have found out a little more information.

I have a 'status' property defined for every menu item. I have no noticed that this only displays in the status bar when the cursor is at the edge of each item. i.e. if you place the cursor pointer right on the text of the menu item, the status bar text does not display. When you move the cursor to the edge of the menu text, it comes back. The 'new window' function will also only work when the cursor is placed at the edge of the menu item.

I hope all that makes sense! I also can't reproduce this. I've copied my style out and tried it elsewhere and it works fine. It must be something about my server I guess but I really can't think what would affect it. (As said before in this thread, it is an intranet server so I can't post a link). My styles is as follows:

Code: Select all

with(styleMain=new mm_style()) {bordercolor="#FFFFFF";fontfamily="Sans Serif";fontsize="10px";fontstyle="normal";fontweight="normal";offbgcolor="#000000";offcolor="#FFFFFF";onbgcolor="#808080";oncolor="#FFFFFF";outfilter="Wipe(duration=0.1,wipestyle=1,motion=reverse)";overfilter="Wipe(duration=0.15,wipestyle=1,motion=forward);Shadow(color='#888888', Direction=135, Strength=2)";padding=4;separatorcolor="#FFFFFF";separatorpadding=5;subimage="/common/images/mnu_arrow.gif";subimagepadding=2;}
...and an example menu is:

Code: Select all

with(milonic=new menuname("mnuWeblinks")) {style=styleMain;aI("status=Visit the CPL Aromas web site;target=_blank;text=CPL Website;url=http://www.cplaromas.com;showmenu=;");aI("status=Online access to your email;target=_blank;text=CPL Webmail;url=http://webmail.cplaromas.com;showmenu=;");aI("separatorsize=1;status=CPL Forums;target=_blank;text=CPL Forums;url=/forums;showmenu=;");aI("status=Perform a web search using Google;target=_blank;text=Google Search;url=http://www.google.com/;showmenu=;");}
Any help would be most gratefully received!...I'm going nuts!
Last edited by jonathan on Tue Jan 27, 2004 2:05 pm, edited 1 time in total.
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

OK. I've found why!!!!!!!...

I am using a 3rd party piece of code to do some tooltips. It is the script in this that is obviously conflicting.

Not knowing JS too well, I am still unsure if it is anything I can get around easily. The source can be found at http://javascript.internet.com/messages/overlib.html.

Again, if anyone has any ideas, I would be grateful.
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

:D

I'm very happy to report that the problem is solved!

The issue was a conflict in the browser sniffing variables. I've renamed the variables in the overlib.js file and all is OK.

One point for the Milonic menu though is that perhaps it's variables should all be prefixed with 'mm_' or similar.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Glad you found it. That was a sneaky one!
John
Post Reply