• Send page
  • Print page

MODEL - Attachments: PDF, Word, Excel files - NEW with WebTrends code

10-12-2008

Word model to copy

 MODEL - Attachments: PDF, Word, Excel files - NEW with WebTrends code   

 10-12-08 - corrected version  

    

 NOTE: It is always preferable to deliver attached files in PDF format, since Word and Excel are not freely available formats but propriatory formats of Microsoft, while PDF is a universal ISO format with available free readers.

Propriatory formats should only be used when there is some significant added value in providing this format - for example an Excel file that could be more useable because the information it contains could be sorted easily. In this case a PDF version of the same file should also be supplied.

Change the URL (2 times!!) , the DOCUMENT TITLE, the LinkText and the FILE-SIZE (ex. 128 kb), etc. (see texts in black below) in the code.

 IMPORTANT for Migration  

BEFORE YOU PUBLISH: Select all PASS THRU code text,

and set to Font Default Sans Serif, 10 pt, color Black AND style normal NOT BOLD.  

IMPORTANT for WebTrends dcsMultiTrack onclick entry - Do NOT leave spaces between your text strings and the enclosing SINGLE QUOTES ( ' xxx ' ).
Ex. 'PDF document TITLE' - NOT ' PDF document TITLE '  

 EXAMPLE MODEL 11-09-09 - PDF LINK with WebTrends JavaScript

 

   
 
  PDF file    
    LinkTextAAA    
(PDF file/FILE-SIZE kb) Help 
 
   
 

< !-- MODEL 11-09-09 - PDF LINK -- >

< div class= " attachnoteblock " >

< div class= " attachnote " style= " float:left; " >

< img src= " /Web/Eng/icrceng.nsf/img/12-icon-icon_pdf/$File/icon_pdf.gif? " border= " 0 " alt= " PDF file " / >

< /div > < !-- END attachnote -- >

< a href= " /Web/eng/siteeng0.nsf/htmlall/model-attachment/$File/MY.pdf " onclick= " dcsMultiTrack('DCS.dcsuri','/Web/eng/siteeng0.nsf/htmlall/model-attachment/$File/MY.pdf','WT.ti','DOCUMENT TITLE','DCSext.download','true'); " >

LinkTextAAA

< /a >

< div class= " smallestfont "'> (PDF file/FILE-SIZE kb) & nbsp; < a href= " /Web/eng/siteeng0.nsf/htmlall/help_pdf " > Help < /a > < /div >

< br / >

< /div > < !-- END attachnoteblock -- >

< !-- MODEL 10-12-08 - WORD LINK -- >

< div class= " attachnoteblock " >

< div class= " attachnote " style= " float:left; " >

< img src= " /Web/Eng/icrceng.nsf/img/12-icon-icon_word/$File/icon_word.gif? " border= " 0 " alt= " MS Word file " / >

< /div > < !-- END attachnote -- >

< a href= " /Web/eng/siteeng0.nsf/htmlall/model-attachment/$File/my.doc " onclick= " dcsMultiTrack('DCS.dcsuri','/Web/eng/siteeng0.nsf/htmlall/model-attachment/$File/MY.doc','WT.ti','Word DOCUMENT TITLE','DCSext.download','true'); " >

LinkTextXXX

< /a > < div class= " smallestfont " > (MS Word file/FILE-SIZE kb) < /div >

< br / >

< /div > < !-- END attachnote block -- >

< !-- MODEL 10-12-08 - EXCEL LINK -- >

< div class= " attachnoteblock " >

< div class= " attachnote " style= " float:left; " >

< img src= " /Web/Eng/icrceng.nsf/img/12-icon-icon_excel/$File/icon_excel.gif? " border= " 0 " alt= " MS Excel file " / >

< /div > < !-- END attachnote -- >

< a href= " /Web/eng/siteeng0.nsf/htmlall/model-attachment/$File/my.xls " onclick= " dcsMultiTrack('DCS.dcsuri','/Web/eng/siteeng0.nsf/htmlall/model-attachment/$File/MY.xls','WT.ti','Excel DOCUMENT TITLE','DCSext.download','true'); " >

LinkTextXXX

< /a > < div class= " smallestfont " > (MS Excel file/FILE-SIZE kb) < /div >

< br / >

< /div > < !-- END attachnoteblock -- >

-----------------------------------------------------------------------------------------------

 FOR REVIEW PDFs OR links without WebTrends JavaScript  

    

    

   
    pdf file   Full text in PDF format    (FILE-SIZE kb)  
  About Acrobat PDF files 
 

< !-- 10-12-08 MODEL FOR REVIEW PDF LINK -- >

< div class= " attachnote " >

< a href= " /Web/eng/siteeng0.nsf/htmlall/model-attachment/$File/my.pdf " >

< img src= " /Web/Eng/icrceng.nsf/img/12-icon-icon_pdf/$File/icon_pdf.gif? " border= " 0 " alt= " pdf file " >

Full text in PDF format < /a >

& nbsp;(FILE-SIZE kb)

< br / > & nbsp; & nbsp;About Acrobat < a href='/Web/eng/siteeng0.nsf/htmlall/help_pdf?OpenDocument'> PDF files < /a > < /div >

 
  Full text in PDF format (128 kb)