Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #18198

Locate file in the website

From "Tony" <tony.johansson@inport.com>
Newsgroups comp.lang.javascript
Subject Locate file in the website
Date 2013-01-22 11:37 +0100
Organization A noiseless patient Spider
Message-ID <kdlq62$r2j$1@dont-email.me> (permalink)

Show all headers | View raw


Hello!

I don't use ASP.NET but if I did I could use ~ do indicate the root 
directory for my website but now I only use html.

So if I have html files under directory WebsiteRoot/html
and
javascript files under  WebsiteRoot/Javascript
and
css  files under  WebsiteRoot/Style

If I want to locate files is the only way to use relative adressing in this 
way
<link href="../Style/InPort.css" rel="stylesheet" type="text/css" />
  <script src="../JavaScript/jquery/jquery.js" type="text/javascript" />

//Tony

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Locate file in the website "Tony" <tony.johansson@inport.com> - 2013-01-22 11:37 +0100
  Re: Locate file in the website Martin Leese <please@see.Web.for.e-mail.INVALID> - 2013-01-22 08:28 -0700
  Re: Locate file in the website Danny <dann90038@gmail.com> - 2013-01-22 12:55 -0800
  Re: Locate file in the website Osmo Saarikumpu <osmo@weppipakki.com> - 2013-01-23 09:53 +0200

csiph-web