Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old August 9th, 2001, 03:38 PM
piksimoon piksimoon is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 6 piksimoon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
clicking link opens two copies of the same file

clicking link opens two copies of the same file
Hi everybody,

I have to admit that I'm not sure whether this problem results from a server-side or client-side or from which part of my HTML coding (which I've also tried to do in Javascript).
What's happening is that I have a page with four links to different MSaccess files on a network drive (simple enough). Whenever I click the top two links, MSAccess opens twice and two copies of the same file appear. On the bottom two links, only one copy appears.
I've checked my html code (and tried the same thing in Javascript), and both were so simple (only 4 links or 4 window.open() functions) that I cannot understand why it's doing this. I'm running the program on a Unix OS, on company Intranet, and viewing with Microsoft IE v5.50. The only difference I can note between the two identical files that were opened is the placement of the file window in the MSAccess application window. One is right aligned, and the other is centered.
The only other thing I can think of that's relevant is that this page is one frame in a much larger website...could some other frame/script be causing the error? Can somebody please tell me what's going on and where this error is coming from? This has got everyone around me totally puzzled. Thanks so much! (The code is included below):

Sincerely,

serena



<HTML>
<BODY BGCOLOR = "navy" LINK="deepskyblue" ALINK="white" VLINK="orange">

<BR><BR><BR><BR>
<A HREF="File://Erp/Doc_Ctrl/Access/file name 1.MDB" TARGET=_new>
MCR (Mask Cross Reference) </A>

<BR><BR><BR><BR>
<A HREF="File://Erp/Doc_Ctrl/Access/file name 2.MDB" TARGET=_new>
Test Cross Reference</A>

<BR><BR><BR><BR>
<A HREF="File://Erp/Doc_Ctrl/Access/file name 3.MDB" TARGET=_new>
Assembly Cross Reference</A>

<BR><BR><BR><BR>
<A HREF="File://Erp/Company/public/reports/file name 4.MDB" TARGET=_new>
Engineering Designation Form</A>

</BODY>
</HTML>

Reply With Quote
  #2  
Old August 9th, 2001, 06:58 PM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
  1. Try file:///, not file://
  2. Put the value of your target attribute in quotes
  3. Replace the spaces in the filenames with %20
See if that makes a difference.
__________________
Michael

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > clicking link opens two copies of the same file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway