I know there’s been a few posts on fade in before, I’ve had a look through them, but what I’m after is specific so hopefully someone can help me.
On the website, I have a single page that has a few images on them, when you hover over one of these images, you get a larger version of it. What I want to do is have that larger version fade in when you hover over the small one… Can someone help?
The hover works like this:
[CODE]
<html>
<head>
<title>Image</title>
<style>
body {
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
height: 100%;
}
#trailimageid {
position: absolute;
visibility: hidden;
left: 0px;
top: 0px;
height: 1px;
}
</style>
<script language=”javascript” src=”hover.js” type=”text/javascript”></script>
</head>
<body>
<img src=”imgsm.jpg” border=”0″ onmouseover=”showtrail(‘img.jpg’,”,”,’1′,5,228);” onmouseout=”hidetrail();”>
</body>
</html><div id=”trailimageid”></div>
there is a JS scripts that runs the hover image, if you need this then I can post the code in here.
If anyone knows how to make the img.jpg fade in please help!
Thanks
Larkin
PS: I’ve only just started to learn JS so what I know so far is only how to edit things.