to home page

BWRS
SEARCH

HOMETUTORIALSLINKSFORUMGLOSSARYNEWS
 
Other

More Tricks with Links
Links to other Things

Free music!
advertisment

The principles remain the same as mentioned in our basic links section but you can expand to create links to....

Images
Fancy displaying an your images without bothering to embed them in a web page well you can
try this example

click here to see Loch Lomond

This is code by
<a href="lochlomond.jpg" target="_blank">
click here to see Loch Lomond</a>

This make the browser open and display the file called "lochlomond.jpg". Note we added the target attribute to do this a separate window

Sound
The same can be applied to sound files

e.g. click here to hear me speak

is coded by
<a href="test.wav">
click here to hear me speak</a>

see more in our sounds section

Video
The same is true for video files

e.g. mouse2.mov

is coded by
<a href="mouse2.mov" target="_blank">
mouse2.mov</a>

it is better to add the target="_blank" with video. For more on video and video links see our video section

Downloadable files
Essentially all the files we have dealt with so far may be displayed directly by your browser (audio and video files only if have right plug-in or helper)

however you might well have material that you want to use for downloads

there are 2 solutions

(1) Simple Downloadable files

You've probably guessed how to do this already.

Just simply create a link aimed at your file

e.g.

<a href="yourfile.type">

Problems can arise when you want things like video or images to be downloaded which will simply be displayed etc. by your browser.

The solution is to use a compressed file format so your browser can't display them. The commonest on the web being .zip files.

There are tons of freeware and shareware software that will compress and uncompress zip files for you. Check out our Download sections in links
back to top
(2) use FTP

The above is fine if you have a minimum amount of down loads or little traffic for them. However, if you are serious about downloads then ftp (file transfer protocol) is a must.


FTP can be significantly faster for transferring documents. (Its command simply deal with transfering files, no other interactions like pulling up graphics exist) However you need a special FTP server for this

Most major companies have a second FTP server

There are tons of FTP sites out there and some may host your files for free or for a fee.

So far we've created simple links using the http (hypertext transfer protocol) protocol. Making a link to a file on a ftp server is just as easy just replace http with ftp

e.g. ftp://www.ftpserver/myfile.zip


Remember you need a special ftp server. You can't simply put a file on your normal (http server) website and change the URL of your file from say http://www.yourserver.com/file.txt to be prefixed with ftp e.g. ftp://www.yourserver.com/file.txt

Back to More LInks Main
BACK TO MORE LINKS MAIN

 

back to top