If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > How to Force Acrobat to open in broser window

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-14-05, 04:48
donaldt donaldt is offline
Registered User
 
Join Date: Jan 2002
Location: Nottingham - UK
Posts: 113
Red face How to Force Acrobat to open in broser window

Hello folks

Im having a problem with a hyperlink to a PDF file, Code Snippet 1 below works fine, the PDF doc opens up fine in a browser window.

Code Snippet 2 is causing me some problems, when you click you get a dialog box to open or save, I need this to open up within a browser window as in Snippet 1.

Snippet 2 is as you see a recordset field, cant see to figure it out!

Can anyone help me please!

Thanks in advance

Donald

Code Snippet 1

<a href="../../../AtkinsClosure.pdf" target="_blank">Click to open </a>

Code Snippet 2

<a href="<%=tNG_downloadDynamicFile("../../../", "../uploads/newsletters/", "{Recordset1.LinkURL}")%>" target="_blank" class="Arial13White">Download PDF</a>
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On