View Full Version : website help

2nd January 2006, 3:01 AM
I'll be grateful to anybody who can help me out with this..

You know how sometimes, when you leave the cursor over an image for a while a bit of writing appears next to it? If you do, could you show me how it is done?

I think it involves Javascript, but other than that I have no idea on how to do that myself..

Thanks again to anybody that can help me

Uchiha Obito
2nd January 2006, 3:04 AM
its basically to give you info on it. On your Pc if you put the cursor over the time it shows the date. If you put your cursor over threads on Serebii then it tells you info about the thread. im sure every comp. has it. or do you have mac?

chaos on the internet
2nd January 2006, 3:08 AM
to do that, put the title="words to show up" attribute in your tag

2nd January 2006, 5:08 AM
Thank you, it was alot easier than I thought it would be XD

Magma Leader Maxie
2nd January 2006, 11:44 AM
This displays the text in place of an image if the image doesn't load and displays a small box with the words if you keep the cursor above the image for a few moments. This also means that if your images somehow get corrupted/are erased, the writting will be shown in their place.

So,here's an example:

<img src="www.example.com" alt="Example image" />

Don't forget to put the / (forward slash) just before you close the tag if you are using XHTML to construct the page.

2nd January 2006, 1:56 PM
Correction: it happens that Internet Explorer incorrectly displays the alt text on mouseover if there is no title text. Use title; that way it will display in all browsers.