K
Kat
I am using Microsoft Publisher 2007 to construct my website. I am trying to
link to another website and would like it to open in a new window. I have
followed the directions at
http://office.microsoft.com/en-us/publisher/HA011587451033.aspx for
ECMAScript for version 2003. I have also followed several directions per
posts on this forum which have said that the code was incorrect. For code I
have pasted:
<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) { window.open(Url, Name, Features); }</script>
For my link I have pasted:
javascript:Show('http://www.otherwebpage.com/
', 'newwindow',
'toolbar=no,scrollbars=yes,resizable=yes,height=250,width=250')
I have checked the code vs. what the instructions say (I am not familiar
with code) and it does not look like I am missing anything. The code is not
overlapping any graphics on my page (It is in the grey area off of my page.
I am nut using a master page (I don't know much about master page, but did
not set up the site using it and under the View tab it is not checked).
Is there something else in 2007 that would conflict with the code working
correctly? The page does not open up in a new window and I receive a message
in the lower left that says 'error on page'
Any help is much appreciated!
Kat
link to another website and would like it to open in a new window. I have
followed the directions at
http://office.microsoft.com/en-us/publisher/HA011587451033.aspx for
ECMAScript for version 2003. I have also followed several directions per
posts on this forum which have said that the code was incorrect. For code I
have pasted:
<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) { window.open(Url, Name, Features); }</script>
For my link I have pasted:
javascript:Show('http://www.otherwebpage.com/
', 'newwindow',
'toolbar=no,scrollbars=yes,resizable=yes,height=250,width=250')
I have checked the code vs. what the instructions say (I am not familiar
with code) and it does not look like I am missing anything. The code is not
overlapping any graphics on my page (It is in the grey area off of my page.
I am nut using a master page (I don't know much about master page, but did
not set up the site using it and under the View tab it is not checked).
Is there something else in 2007 that would conflict with the code working
correctly? The page does not open up in a new window and I receive a message
in the lower left that says 'error on page'
Any help is much appreciated!
Kat