Link

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jennie

    Link

    I have a link to a file on my harddrive on the web page. How can I hide the
    link?

    Thanks


  • Michael Winter

    #2
    Re: Link

    On Thu, 22 Jan 2004 16:37:22 GMT, Jennie <anix@adelphia. net> wrote:
    [color=blue]
    > I have a link to a file on my harddrive on the web page. How can I hide
    > the link?[/color]

    Comment it out with <!-- SGML comment --> delimiters, or delete it.

    There's no security risk; only the fact that it's useless to anyone but
    you means you should remove it, so either solution is good.

    Mike

    --
    Michael Winter
    M.Winter@blueyo nder.co.invalid (replace ".invalid" with ".uk" to reply)

    Comment

    • Dr John Stockton

      #3
      Re: Link

      JRS: In article <opr16sozvy5vkl cq@news-text.blueyonder .co.uk>, seen
      in news:comp.lang. javascript, Michael Winter <M.Winter@bluey onder.co.
      invalid> posted at Thu, 22 Jan 2004 17:11:12 :-[color=blue]
      >On Thu, 22 Jan 2004 16:37:22 GMT, Jennie <anix@adelphia. net> wrote:
      >[color=green]
      >> I have a link to a file on my harddrive on the web page. How can I hide
      >> the link?[/color]
      >
      >Comment it out with <!-- SGML comment --> delimiters, or delete it.
      >
      >There's no security risk; only the fact that it's useless to anyone but
      >you means you should remove it, so either solution is good.[/color]

      If aesthetics demand its absence on the Web, but ergonomics demand its
      presence at home using the *same file*, it could be written by javascript
      in an include file, or dependent on an include file. For one particular
      include file name, say whereami.js, the file on the Web server would
      differ from the file on the local machine.

      Web :
      function That() {}

      Home:
      function That() {
      document.write( '<a href="file:\/\/\/c:\/page\/$1.htm">$1.htm< \/a>') }

      Personally, I let the local ones show, but make the link test
      inconspicuous.

      --
      © John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
      <URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang. javascript
      <URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
      <URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

      Comment

      Working...