PDA

View Full Version : Need Help With Links!



user removed
August 24th, 2005, 09:06 AM
hi i really would like to know how to make that thing
http://www.asterikstudio.com/index.php

When you move your mouse over the picture the small line picture changes and the link adress is activated too. 3 in 1 :hugegrin:

hope somebody can help me

Limitlis
August 24th, 2005, 12:48 PM
They are using Javascript to change everything. BUt I think there are other ways of doing it. LIke CSS for example. I'll try and do a sample for you if i get some time.

Otherwise good luck.

hl
August 24th, 2005, 12:50 PM
isn't it just a text-decoration:underline?

DDD
August 24th, 2005, 01:47 PM
Onmouseover="this.className='yourClass'"

Did not look at the link, but it sounds like that could do it from your description.

MTsoul
August 24th, 2005, 06:18 PM
a {
border-bottom: 5px solid #FFFFFF;
}
a:hover {
border-bottom: 5px solid #FF0000;
}

Put that in the < head > of the html document and wrap the < img > around with the < a > link tags.