Hyperlink to open a new window.

D

DavidF

Run the design checker under tools and see if that finds your problem. Make
sure your code fragment box is not overlapping some other design element. Go
back and check the code that you wrote and inserted. Typical errors are
spaces where there shouldn't be, upper case or lower case letters mixed up,
the links written incorrectly.

DavidF
 
R

randomonia

I've run into the same problem as jb. The initial JavaScript code is
(cut and pasted from jb's link):

<script language="JavaScript" type="text/javascript"> <!-- function
Show(Url, Name, Features) { window.open(Url, Name, Features); } // -->
</script>

Are there any problems with that code? There are obviously spaces in
the script but I don't know if they're supposed to be there or not.

The code for the actual link is

javascript:Show('http://www.fourthcoffee.com/ ', 'newwindow',
'toolbar=no,scrollbars=yes,resizable=yes,height=250,width=250')

I see what appear to be erroneous spaces before the last quote in
fourthcoffee.com/ ', before the first quote in 'newwindow' and after
the last quote in 'newwindow'. However, removing those spaces does not
change anything. Should those spaces be removed and is there anything
else wrong with that code?

Thanks,
r
 
D

DavidF

See the post by drak10687, 7/21/06 , "hyperlinks using ECMAScript" who was
also having problems with the script, for a possible solution.

DavidF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top