Quote:
|
Originally Posted by WNA
What bits do i have to change cos i have load of links on my website CLICK HERE
|
Looking at your website, I can see you already know how to do hyperlinks using:
Code:
<a href="url_to_go_to_when_clicked.html">text_that_becomes_the_link</a>
You also have an image on the front page which is formed using:
Code:
<img src="url_of_the_image.gif">
You put these together to form a clickable button like this:
Code:
<a href="url_to_go_to_when_clicked.html"><img src="url_of_the_image.gif"></a>
You need to create a gif image of the button of course. So you will need a drawing program that can create gif images. Paint on XP will do this, but the version that comes with some earlier versions of windows doesn't and you will need paintshop pro or something similar.
Unfortunately, the web browser will by default put an ugly blue border around the image. You can get rid of this by specifying border="0". We can also specify some text that appears if we hover over the button (in IE) using the alt tag e.g. alt="some_text". i.e. we now have:
Code:
<a href="url_to_go_to_when_clicked.html"><img src="url_of_the_image.gif" alt="some_text" border="0"></a>
If you use the above code several times in a row, using different images and different urls to go to, then the result will be a simple button bar. This is how the nthellworld button bar works.
You now add the same code to the top of all of your pages, so that the bar appears to stay the same as you navigate round your site.
Alan