D
dawnvk
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
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