RE: Open In New Window - Doesn't Work!
- From: dawnvk <dawnvk@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 19 Dec 2008 11:43:01 -0800
I've solved my mystery... I had to remove the / in this part of the code:
/','newwindow','')
Now it works.
Sorry to be a bother...
"dawnvk" wrote:
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
- Follow-Ups:
- Re: Open In New Window - Doesn't Work!
- From: Spike
- Re: Open In New Window - Doesn't Work!
- References:
- Open In New Window - Doesn't Work!
- From: dawnvk
- Open In New Window - Doesn't Work!
- Prev by Date: Pub2007 refuses to insert a hyperlink to external site
- Next by Date: Re: Pub2007 refuses to insert a hyperlink to external site
- Previous by thread: Open In New Window - Doesn't Work!
- Next by thread: Re: Open In New Window - Doesn't Work!
- Index(es):
Relevant Pages
|