
Originally Posted by
Medyman
We stress learning here. You want to go around writing scripts for people, that your perogative. But, in my opinion, that accomplishes nothing constructive. It would be much better if the OP looked at the links I posted, tried to make it work. If it doesn't work, post the code he's working with and someone will be delighted to tell him what the problem is. The key there is though that someone tried and is genuinely making an effort.
Lt. Jerry Mouse, this isn't directed at you. I'm just making a general point.
Not to be an ass, but CSS is a style language (with rollover functionality)... Also, may I point out this is the thread for 'Looking for such script or service'. Many people learn by example. While I offered to show him how to make it with CSS, I in no way ment that I would do it for him and I am sorry if I implied that I would. I do not have the time to do all of it for him. Below is an example of one (might have glitches since I am not in a place to test it at the moment). I will play with it untill you have the source of a working example (when I get home), It is up to you to learn from the example and modify it to produce all of the links you would like.
Style
Code:
#example {
width:150px;
height:64px;
background-color:#FFFFFF;
background-image:example.png;
background position:top left;
color:#FFFFFF;
text-decoration:none;
}
#example:hover {
background-color:#666666;
color:#000000;
text-decoration:underline;
}
xhtml:
Code:
<div id="example">
I think when I get home I will get rid of the background image and place one here, since the desired goal links the image to the about page.
<br />
<a href="buy.php">Buy</a> <a href="about.php">About</a>
<br />
This would appear below the links. I will also write more than one set of properties, since the two links above probably will underline before the cursor is directly on the text.
</div>
Now the above is just a bit of a start. I strongly encourage you to fly with it to produce your own version (with some modification, I do not think it will work by itself exactly as stated). I will create a fully working version when I get home (in about 6 hours). Consider this a preview. I will create one working one, and you will have to modify it to work with the rest of your items if you choose to use it.
Medyman, I am sorry if you consider this not teaching. I am rather insulted though as the two links you posted lead to examples writen in a similar fashion (copy this and alter it to use with all of your items).
Bookmarks