Announcement

Collapse
No announcement yet.

Link to PDF file in Tabber

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Link to PDF file in Tabber

    I'm trying to put a link to a PDF file (held on site) inside one of the tabs of Norman's Tabber.

    Javascript is enabled:
    Code:
    <script type="text/javascript" language="JavaScript1.3" src="tabbeddescriptions.js"></script>
    I'm using this code in the Tabber:
    Code:
    {PDF}To download fitting instructions !!<<a href="#" onclick="return ShowPopUp('/pdf/gpt_07_361_100.pdf',500,600)" <img src="gb_expand.gif"></a>>!!
    The "To download fitting instructions" is shown correctly, but after that nothing at all.

    Any ideas?
    Thanks
    Kind Regards
    Sean Williams

    Calamander Ltd

    #2
    Link directly to the filename, no need for the popup part ie

    <a href=“mypdf.pdf” target=“_new”> etc.

    Comment


      #3
      There's a missing closing > before <img...
      Try this:
      Code:
      !!<<a href="#" onclick="return ShowPopUp('/pdf/gpt_07_361_100.pdf',500,600)" ><img src="gb_expand.gif"></a>>!!
      Presumably you pdf is stored online in a subfolder??

      Why not just add the pdf to the Additional Files list in Actinic and refer to it as:
      gpt_07_361_100.pdf

      rather than

      /pdf/gpt_07_361_100.pdf

      Comment


        #4
        Thanks chaps.
        That line with the missing '>' I copied directly from this thread!
        http://community.actinic.com/showthr...ight=view+file

        Just goes to show you should always check the work

        Good idea about the new browser tab Lee - I don't like popups much.

        Once I've finished the testing, I will do the Additional Files thing - good point.

        Cheers!
        Kind Regards
        Sean Williams

        Calamander Ltd

        Comment

        Working...
        X