The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
Website to be presented on a CD, unsure where to send links
Okay, basically I am in the midst of designing a mock fanzine style website for my course, which has to be presented on a CD or DVD - The website is a simple one, written in XHTML and styled with CSS, with an introductory Flash animation page, however I'm unsure about how to link each page to each other whilst they're on a CD and not hosted on the 'net?
I mean rather than having the index page link to <a href="www.butts.com/butts">BUTTS</a> I presume it would be "F:\butts\buttpage1.html" but this won't work if their CD/DVD drive is assigned a different drive name, correct? Perhaps I'm overthinking this, but any help would be most appreciated.
Use relative links rather than absolute (you should be even if it's being hosted on the net anyway, it's better practice because...it just is, lots of reasons. Drinking, can't be arsed explaining).
So, instead of www. butts. com/butts.html, you'd just have /butts.html and /butts.jpg and /butts.css etc. Then, so long as they are all in the same directory, it doesn't matter what that directory is actually called or what drive it is on, because the browser will look for the files relative to the position of the .html page. If you have sub-directories like www. butts. com/big/cantlie.html, then to link to it from the butts.html you'd just say /big/cantlie.html
Posts
So, instead of www. butts. com/butts.html, you'd just have /butts.html and /butts.jpg and /butts.css etc. Then, so long as they are all in the same directory, it doesn't matter what that directory is actually called or what drive it is on, because the browser will look for the files relative to the position of the .html page. If you have sub-directories like www. butts. com/big/cantlie.html, then to link to it from the butts.html you'd just say /big/cantlie.html
For instance:
To refer to butt1.jpg in buttpage1.html, use
To link to buttpage1.html from index.html use
The "../" indicates the parent directory in this case (similar to "cd .." in DOS).