Closed Thread Icon

Preserved Topic: dumb html question (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17974" title="Pages that link to Preserved Topic: dumb html question (Page 1 of 1)" rel="nofollow" >Preserved Topic: dumb html question <span class="small">(Page 1 of 1)</span>\

 
Bmud
Bipolar (III) Inmate

From: Raleigh, NC
Insane since: Mar 2001

posted posted 05-17-2001 02:24

hey.. i know there is SOME tag in either html or JS where you can set the directory in which all your links start in.. does anybody know it??
thanks.


» THOAN.net (..soon to come..I hope)

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 05-17-2001 04:38

I dunno no kinda clue whadup widat

most servers are configured to look first for an "index.html/htm" or "default.html/htm" as the default page to display when a directory is called from a browser. Like you type www.amazon.com an it displays www.amazon.com/index.html - That what you talkin 'bout?

Jason

Bmud
Bipolar (III) Inmate

From: Raleigh, NC
Insane since: Mar 2001

posted posted 05-17-2001 04:52

no... like for example, know how you can use a <basefont> tag to set the default font size and color and blah dee blah?
Well theres some tag that you can set as the default for links.. so say your page is in the base directory (http://asdf.com/) and you want to put up 20 pictures that are all 2 directories away (http://asdf.com/images/collection/).. i remember there was some tag that you could use so set the base directory as whatever you want. (so lets pretend the tag is <basehref> )
<basehref href="images/collection/">
then all you have to do is type..
<img src="army_man.jpg"> instead of <img src="images/collection/army_man.jpg">
It doesnt seem like that big of a deal, but i live for these sorts of things..
Thanks for any help


» THOAN.net (..soon to come..I hope)

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 05-17-2001 05:02

I believe you're groping for <BASE href="/all/your/base/are/belong/to/us/"> which should go in the <HEAD> of your document.

The URI can be relative or absolte.

refer to http://www.w3.org/TR/html4/struct/links.html#h-12.4

kars10
Bipolar (III) Inmate

From: Europe
Insane since: Mar 2001

posted posted 05-18-2001 22:25

yes, but wouldn;t that make all the other links linked to pages in the same folder (not the folder that it 2 folders further away) *whatsdeword* kaputt?
they would refere to href="this/folder/back/there/blabla.htm" instead to
href="this/folder/blabla.htm" right?
k10



only change remains

linear
Paranoid (IV) Inmate

From: other places
Insane since: Mar 2001

posted posted 05-18-2001 22:31

You can always say <A href="../../bletch.swf">foo</A> if that's a problem.

I think you hit why noone seems to use it, though. It's been available since HTML 1.1 or something like that.

« BackwardsOnwards »

Show Forum Drop Down Menu