Target-Bug?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Target-Bug?

Post by RobinSword »

Hi!

I think I've found a problem that I cannot solve.
To open a site in another frame I use this statement in the menu_array.js:

,"My Text", "mylink.htm target=myframe",,,1

The problem is, that when I point with the mouse on the menu entry "My Text",
my Internet Explorer 6 displays an error message in the status bar!
But when I then click on the menu entry it works - the site is displayed in the correct frame (myframe)!
Only this error message in the status bar is disturbing.

By the way, when I replace "target=myframe" with "target=_new" then I don't get this error message.


I hope, somebody can help me.

RobinSword
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Are you using frames or iframes or neither?
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Post by RobinSword »

I'm using frames.
As I said: The code above is working, only this error message occurs
in the status bar of the Internet Explorer.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

What version of v3 are you using? 3.5.15? Makes sure its the latest of the old version. Also, got a URL, we'd be able to nip this alot faster with a URL.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Post by RobinSword »

I will post a link this evening when I'm at home!

By the way: I'm using version 3.3.19 of the DHTML-menu.

I read on the website that version 5 is already here,
but I fear that it is too complicated to upgrade to the new one
(and find exactly the same).
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Post by RobinSword »

Sorry, I know, I'm late. Here's the link to the menu:

http://www.schwortschik.de/prince_draft/ger/index.htm
User avatar
fredlongworthhighschool
Mega Advanced
Mega Advanced
Posts: 362
Joined: Fri Jun 27, 2003 11:34 am
Location: Manchester, England.
Contact:

Post by fredlongworthhighschool »

Will

Code: Select all

target=_blank
not work?

BTW Nice site. What platform are the screenshots from? I have the Spectrum and Sam Coupe versions!
Andy Davis
Web Designer & Smartboard Manager

Fred Longworth High School, Manchester, England.
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Post by RobinSword »

Yes, "target=_blank" and "target=_new" is working without this error-message. But the content must be displayed in my own Content-Frame
(the site consists of 4 frames).


The screenshots are from the PC versions of the games.
The new site isn't finished yet. You can visit the old one:
http://www.schwortschik.de/prince


So, I just want to get rid of this error message in the status bar!
You can find my menu_array.js here:
http://www.schwortschik.de/prince_draft ... u_array.js
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Your problem is you are using version 3.3.X. If you must stay with version 3, then I HIGHLY recommend upgrading to version 3.5.15 which is available in the versions section of the milonic website. Upgrade to v3.5.15 and see if the problem persists. BTW, the error occurs on mouseover, not on click. ;)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Post by RobinSword »

I downloaded the version 3.5.15 and: IT WORKS !!!
Thanks for this great hint!!

One question left: Do I only have to replace the old mmenu.js with the new one
or do I also have to make changes in my old menu_array.js?
Can I use my old menu_array.js or should I use the new one?
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

You should be able to get by with the old menu array file. Andy didnt change much of the syntactics of it through those versions...but there may be features you're missing. I would say whatever menu_array file that comes with that menu, use that as your guide since there may be small changes to his ordering of commas and what-not. *cough* version 5 *cough* upgrade! *cough* ;)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Post by RobinSword »

Ok, thanks!!
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Post by RobinSword »

I'm using the new menu_array.js now.
Didn't have to do much changes.

The menu now works perfect!
Only one friend is reporting that it isn't displayed correctly
with Konqueror. Does version 3 support this browser?
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Konquerer is supported by v5. Ask your friend what the problem with the menu is and maybe we can figure out whats up and get the menu to render right in konquerer. We shouldnt ignore Konq because its fishy, lets fix it! ;)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
RobinSword
Advanced
Advanced
Posts: 12
Joined: Fri Aug 29, 2003 9:32 am

Post by RobinSword »

Ok, here is the menu as it is displayed correctly in IE:

Image


And here the Konqueror-version:

Image


And when doing mouse-over the menu:

Image



Seems to be a positioning-problem.
My friend says that obviously the Browser-ID is to blame.
Because when he sets the Browser-ID to "IE" in Konquerer, the menu is displayed correctly.
The Konqueror-Version is 3.1.1 -> quite new.
Post Reply