I have been watching your emails zip backwards and forwards for ages, particularly Kevin's great work.
I am just about to publish, but I am finding the following.
I have the following code inserted:-
function openNewWindow(winURL,winWidth,winHeight,winConfig){
mmConfig=""
mmConfig="width="+winWidth+","
mmConfig+="height="+winHeight+","
mmConfig+=winConfig
var mmWin=open(winURL,"",mmConfig);
mmWin.focus();
}
,"Help", "javascript:openNewWindow(\"Help/Content.cfm\",645,450,\"scrollbars=yes\")
This works perfectly from a Side Menu, but not from a Horizontal Menu. Any attempts to link, come up with the message
"Error in page"
Any ideas?
Opening New Windows
-
- Beginner
- Posts: 4
- Joined: Tue Feb 18, 2003 4:22 pm
- Location: UK
- Contact:
Hi Maurice,
Thanks for the kind remark. Question: Based on the error message you get, I assume you're using IE. If you double click the error message in the lower left corner (with the yellow exclamation point icon), you'll get a slightly more detailed error message. Is it an unterminated string constant?
Kevin
Thanks for the kind remark. Question: Based on the error message you get, I assume you're using IE. If you double click the error message in the lower left corner (with the yellow exclamation point icon), you'll get a slightly more detailed error message. Is it an unterminated string constant?
Kevin
-
- Beginner
- Posts: 4
- Joined: Tue Feb 18, 2003 4:22 pm
- Location: UK
- Contact:
Opening New Windows
Kevin
The error message is "object doesn't support this property or method"
Code: 0.
Yes, I am running IE from Windows XP.
Why is it supported from the Side-Menu?
The error message is "object doesn't support this property or method"
Code: 0.
Yes, I am running IE from Windows XP.
Why is it supported from the Side-Menu?
-
- Beginner
- Posts: 4
- Joined: Tue Feb 18, 2003 4:22 pm
- Location: UK
- Contact:
Hi Maurice,
The latest version is 3.5.12, available here. But I doubt that would solve the problem. My hunch is that the error may be somewhere other than you think (not uncommon with javascript). It'll be hard to help without seeing the code. Since you haven't puiblished yet, can you zip your menu_array.js file and email it to me? Send it to:
<img src="http://www.penlink.com/downloads/unlink ... _email.gif">
(The above address is an image... I'm paranoid about spambots. I hope it comes through)
I'll have a look and see what I can see.
Kevin
The latest version is 3.5.12, available here. But I doubt that would solve the problem. My hunch is that the error may be somewhere other than you think (not uncommon with javascript). It'll be hard to help without seeing the code. Since you haven't puiblished yet, can you zip your menu_array.js file and email it to me? Send it to:
<img src="http://www.penlink.com/downloads/unlink ... _email.gif">
(The above address is an image... I'm paranoid about spambots. I hope it comes through)
I'll have a look and see what I can see.
Kevin