Announcement

Collapse
No announcement yet.

link to an excel doc

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

    link to an excel doc

    Hi,

    I have a downloadable excel file that needs to open in a separate window when clicked but can only get it to open in the
    same window as the site. How can i do this? I'm sure its fairly easy but im having one of those days !!!!!!!

    ta v much

    Stuart

    #2
    Hi Stuart

    There are a few ways to do this:
    Code:
    <a href="yourfile.xls" target="_blank">LINK TEXT</a>
    or
    Code:
    <a href="yourfile.xls" target="newwindow" onClick="window.open ('','newwindow',config='height=500,width=480,scrollbars=yes,screenX=50,screenY=50,top=50,left=50'); return true">LINK TEXT</a>
    where you can alter the configuration of the window, or
    Code:
    <a href="javascript:ShowPopUp('yourfile.xls',640,500);">LINK TEXT</a>
    which uses the javascript function from Actinic's actiniccore.js file.

    Ben
    Ben Popplestone
    Ecommerce website software

    Comment


      #3
      thanks for the reply,

      without sounding totally stupid, how and where do i put the code? I only want it for the one product

      thanks

      stuart

      Comment


        #4
        You can copy either one of the three bits of code above and paste it into the Full Description field of your chosen product. You will need to enclose the code within !!< and >!! in order for Actinic to embed it properly.

        So, for example:
        !!<<a href="yourfile.xls" target="_blank">LINK TEXT</a>>!!
        Ben Popplestone
        Ecommerce website software

        Comment

        Working...
        X