Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:16
Target-Bug?
Poster: RobinSword
Dated: Friday August 29 2003 - 9:50:36 BST
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
Poster: fredlongworthhighschool
Dated: Friday August 29 2003 - 11:42:02 BST
Are you using frames or iframes or neither?
Poster: RobinSword
Dated: Friday August 29 2003 - 12:34:12 BST
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.
Poster: Hergio
Dated: Friday August 29 2003 - 12:49:44 BST
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.
Poster: RobinSword
Dated: Friday August 29 2003 - 13:38:26 BST
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).
Poster: RobinSword
Dated: Sunday August 31 2003 - 20:35:43 BST
Sorry, I know, I'm late. Here's the link to the menu:
http://www.schwortschik.de/prince_draft/ger/index.htm
Poster: fredlongworthhighschool
Dated: Monday September 1 2003 - 10:09:56 BST
Will
Code:
target=_blank
not work?
BTW Nice site. What platform are the screenshots from? I have the Spectrum and Sam Coupe versions!
Poster: RobinSword
Dated: Monday September 1 2003 - 11:51:49 BST
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
Poster: Hergio
Dated: Monday September 1 2003 - 18:50:50 BST
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.
Poster: RobinSword
Dated: Monday September 1 2003 - 21:24:51 BST
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?
Poster: Hergio
Dated: Tuesday September 2 2003 - 13:37:38 BST
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*
Poster: RobinSword
Dated: Wednesday September 3 2003 - 8:14:02 BST
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?
Poster: Hergio
Dated: Wednesday September 3 2003 - 16:16:25 BST
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!
Poster: RobinSword
Dated: Sunday September 7 2003 - 22:42:22 BST
Ok, here is the menu as it is displayed correctly in IE:
And here the Konqueror-version:
And when doing mouse-over the menu:
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.