I have just created a menu that includes links to other sites which I wanted to open in a new window. Unfortunately the use of _blank or_new does not work all the time. Sometimes it does open the link in a new window and sometimes it appears in the frame. Could I use javascript to ensure that my links do open in a new window. If this is possible could someone provide me with the text needed to put this into menu_data.js.
I have no knowledge of Javascript so any help would be great. The URL to my site is http://www.agape.org.uk/familylife
Any help to resolve this problem would be great
Philip
Problems opening new browser window using new or blank
-
- Beginner
- Posts: 2
- Joined: Thu Mar 25, 2004 11:39 am
-
- Beginner
- Posts: 2
- Joined: Thu Mar 25, 2004 11:39 am
Yep - continue reading down that same page!
Starts out, "aI("text=Open Google;url=http://www.google.com;target=windowname;targetfeatures=width=300 height=300");
The above menu item will open a new browser window to http://www.google.com. This window will contain no scroll bars, location bars, status bars, menus or the ability to resize the window. This is the blank state of a browser window." etc...
BTW, _new and _blank should work fine. I use _new all over my sites with no problems. Meanwhile I'll look at your code again.

Starts out, "aI("text=Open Google;url=http://www.google.com;target=windowname;targetfeatures=width=300 height=300");
The above menu item will open a new browser window to http://www.google.com. This window will contain no scroll bars, location bars, status bars, menus or the ability to resize the window. This is the blank state of a browser window." etc...
BTW, _new and _blank should work fine. I use _new all over my sites with no problems. Meanwhile I'll look at your code again.
John