YES I KNOW I SHOULD BE USING ANOTHER UTILITY
to create web pages.
That said, I'm using MS Publisher to create a web page on which I have a need to open new web pages in a new window.
Found this post (http://office.microsoft.com/en-us/publisher-help/answer-box-create-a-hyperlink-in-publisher-that-opens-in-a-new-window-HA001158745.aspx
) which seems pretty straightforward and woudl like to use the ECMAScript code approach but cannot get it to work.
If I set it up in Publisher 2007, I get NO error inserting the (first) HTML Code fragment, but then when I use the second fragment as the Hyperlink (modifying it with the new URL), clicking on it (in Web Page Preview) does nothing.
If I add the (first) HTML code fragment in Publisher 2010, I am presented with the following error:
"This HTML Code Fragment includes the HTML tag >. Thsi tag is not appropriate for the code fragment and should not be included. Would you like to edit the HTML code fragment to remove the tag?"
If I select NO, it allows me to add the code and continue, but I get the same results upon execution that I get with Pub 2007.
The code fragment from the article added as HTML CODE FRAGMENT (first) is:
The code used as the Hyperlink from the article is:
', 'newwindow', 'toolbar=no,scrollbars=yes
And I for testing changed the URL to msn.com.
Certain it is just a syntax issue and I'm just being dumb.
Note: the HTML Code Approach works but is ugly to work with and poses its own challenge from within text boxes.
Any help appreciated.