close

Privacy guaranteed - Your email is not shared with anyone.

Welcome to Glock Talk

Why should YOU join our Glock forum?

  • Converse with other Glock Enthusiasts
  • Learn about the latest hunting products
  • Becoming a member is FREE and EASY

If you consider yourself a beginner or an avid shooter, the Glock Talk community is your place to discuss self defense, concealed carry, reloading, target shooting, and all things Glock.

html help

Discussion in 'Tech Talk' started by Angel Of Death, Aug 20, 2005.

  1. Angel Of Death

    Angel Of Death Wrenches/BMWs

    219
    0
    May 28, 2004
    Stateside finally!
    Hey guys, I'm pretty new to html coding and am lost on this!

    Maybe you can lend a helping hand?

    OK I have a Word document uploaded to my site and I want you to be able to click on the words "14 Bolt Bible" and then have the option of opening up the document with Word or downloading it.

    The file is here on my vsever: /var/www/html/tech2/The14BoltBible.doc

    Now what do I put for code that allows you to click and download it? So confused! I set it up so that tech2 folder is the place you go to put files so people can downlaod them like an anonymous ftp I think?

    Any help would be greatly appreciated guys! Thanks so much!

    Semper fi

    Erik
     
  2. Something like:

    Code:
    LEFTANGLEBRACKET a href="tech2/The14BoltBible.doc">The 14 Bolt Bible Document LEFTANGLEBRACKET/a>
    
    where LEFTANGLEBRACK is replaced by "<"

    Assuming your DOCROOT of your web server is /var/www/html/
     


  3. darth_rifle

    darth_rifle (null)

    55
    3
    Jun 25, 2000
    Metro NYC Area
    Ditto the above, but with the following advice:

    If the web server is a *nix machine, pay attention to the case (upper/lower) of the file name you are referencing.

    Keep the leading '/' before tech2 to avoid problems when inside subdirectories. That is to say, your href="/tech2/The14BoltBible.doc"

    HTH,

    - D. Rifle
     
  4. Angel Of Death

    Angel Of Death Wrenches/BMWs

    219
    0
    May 28, 2004
    Stateside finally!
    I greatly appreciate the help guys, but I'm still way confused.

    I inserted the code where I think I was supposed to.

    http://www.seriousiia.com/Links.htm

    That's her right there.

    Is there any chance one of you could look at my source code (there's not a lot of it) and see what you can do?

    I really REALLY REALLY appreciate this guys!

    Thanks so much and Semper fi

    Erik
     
  5. Angel Of Death

    Angel Of Death Wrenches/BMWs

    219
    0
    May 28, 2004
    Stateside finally!
    [BUMP]

    I'm at your technological mercy here guys! ERIK
     
  6. darth_rifle

    darth_rifle (null)

    55
    3
    Jun 25, 2000
    Metro NYC Area
    AoD,

    Replace what you have for a link to the The14BoltBible to this:

    &lt;a href="/tech2/The14BoltBible.doc"&gt;The 14 Bolt Bible&lt;/a&gt;

    Part of the problem is using entities (&amp;gt;) instead of the actual characters (&gt;).

    The Glock Talk thread software certainly doesn't lend itself well to explaining HTML! Also, some web page editing software (depending on the input mode [raw HTML or "Word Processor" style input]) chokes on these characters.

    - D. Rifle
     
  7. Angel Of Death

    Angel Of Death Wrenches/BMWs

    219
    0
    May 28, 2004
    Stateside finally!
    Thank you thank you thank you thank you!

    If you EVER need anything, you know where to come!!!

    Thank you thank you thank you thank you!

    Erik!
     
  8. darth_rifle

    darth_rifle (null)

    55
    3
    Jun 25, 2000
    Metro NYC Area
    Lookin' good! Now all you have to do is convert those .doc files to PDF! :)

    - D. Rifle
     
  9. Hay AD! You got mail! I just converted you *.docs to PDF zipped them up and sent them to your gmail. Hope they work for you.

    Mike
     
  10. Angel Of Death

    Angel Of Death Wrenches/BMWs

    219
    0
    May 28, 2004
    Stateside finally!
    WHOAH! I was wondering who sent those to me! Thanks man! You rule!

    Erik