Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

HTML -please help

  • 16-07-2004 9:24am
    #1
    Closed Accounts Posts: 297 ✭✭


    Hi,

    I'm a bit of a noob when it comes to web design. I'm putting a site together in dreamweaver, and I'm not great on the ould HTML commands.

    I have placed a two links on one of the pages, one is to download a Word file, the other to download an Excel file. But, I don't know how to get the link to download the file, it just opens it.

    Anyone know what the HTML string for this is?


Comments

  • Moderators, Politics Moderators Posts: 41,240 Mod ✭✭✭✭Seth Brundle


    this is standard. If the users browser allows it, then the file will automatically open.


  • Closed Accounts Posts: 4,655 ✭✭✭Ph3n0m


    the simplest way is to leave it up to the user.


    give them to options - the doc format, which usually opens up or put the file in a zip file and link to that


  • Moderators, Politics Moderators Posts: 41,240 Mod ✭✭✭✭Seth Brundle


    The other thing is that your visitors may not have MS Word so maybe provide an HTML or PDF version also


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    RTF is quite universal as well.

    Never assume that people have MS Office installed.


  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    Place a note at the download link - "Right click and click save as" to download the file, if you don't have word it will automatically pop up download box. Of course the note only works for IE, but they will get the idea with other browsers as well


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,268 ✭✭✭hostyle


    Add an attribute to the link. I'm drunk ATM, but something like: <a href="ms-word.doc" content-type="application/octet-stream">word.doc</a> may work. Failing that, you'll have to run links through a server-side script. I can give you exact details if you can tell me that the above doesnt work (bearing in mind that I am drunk and someone may correct my code) and tell me what server OS / scripting language is available.


  • Registered Users, Registered Users 2 Posts: 2,120 ✭✭✭p


    If you zip them up then they'll download.

    Not ideal, but easy.


Advertisement