Open In New Window - Doesn't Work!



Hello,

I have a page of links on my website. I want them to open in a new window
rather than having to have the person click the back button to get back to my
link page... common issue. I've read all the thread on this page. Here is
what I've done:

I am using Pub 2002. I used the insert code fragment to put this code in:
<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) { window.open(Url, Name, Features); }</script>

I placed that at the top of my page. Then, I changed my link to URLs to be
as described...

javascript:Show('http://www.google.com/','newwindow','')

And I replaced the google.com w/my url.

The problem is, sometimes it works, sometimes it doesn't. Since I c&p, I
can't for the life of me figure out what's not right. One common thread I
found is I can't get any of them to work which are hosted on my server. I
don't know why.

Here is an example of one that won't work on my server:

javascript:Show('http://www.vkvboers.com/Parasites_in_goats.pdf/','newwindow','')

Here's an example of one that won't work on another server:

javascript:Show('http://jackmauldin.com/diseases.htm/','newwindow','')

The webpage address is: http://www.vkvboers.com/index_page0007.htm

Any suggestions would be much appreciated as my page is currently full of
nasty ugly broken links...

Thanks,

Dawnvk

.



Relevant Pages

  • RE: Open In New Window - Doesnt Work!
    ... "dawnvk" wrote: ... And I replaced the google.com w/my url. ... One common thread I ... found is I can't get any of them to work which are hosted on my server. ...
    (microsoft.public.publisher.webdesign)
  • Re: Open In New Window - Doesnt Work!
    ... Thanks Spike - I have a question though. ... And I replaced the google.com w/my url. ... One common thread I ... found is I can't get any of them to work which are hosted on my server. ...
    (microsoft.public.publisher.webdesign)
  • Re: Open In New Window - Doesnt Work!
    ... For local files: ... I used the insert code fragment to put this code in: ... And I replaced the google.com w/my url. ... found is I can't get any of them to work which are hosted on my server. ...
    (microsoft.public.publisher.webdesign)
  • Threading and returning values
    ... it is a general SMTP server. ... command I want to return the EmailContent back up to the ... What is the above code fragment actually doing? ...
    (microsoft.public.dotnet.languages.csharp)
  • MSXML2.ServerXMLHTTP and IIS 6.0
    ... i've runned into the following problem with IIS 6.0, Windows 2003 server and ... With W2K Server and IIS 5.0, ... this is a code fragment of foo.asp on server "serverA" ...
    (microsoft.public.inetserver.iis)