caballonegro
07-23-2002, 11:19 PM
Hello @all
i'm beginner in Java programming and i have this problem:
I use the following code in a html-file
<style type="text/css">
#popupimage01 { position: absolute; visibility: hidden }
</style>
same lines behind i wrote this:
<img src="images/picA_100.jpg" alt="picA" border="0" style="cursor:hand"
onmouseover="view_image(popupimage01,'visible')"
onmouseout="view_image(popupimage01,'hidden')"
width="100" height="80">
and later i place this:
<div id="popupimage01">
<img src="images/picA_big.jpg" width="420" height="340">
</div>
for to see the big image
for this i use this script
function view_image(user,ValueShow)
{
var mousex = window.event.x;
var mousey = window.event.y;
user.style.visibility = ValueShow;
user.style.left; user.style.top;
}
it works good and the big image popup if i move the mouse over the smal image.
But, what i not now is,
what code is to change ant to add,
so that the big image comes in with fading effect,
and not so as now, similar to a flashlight.
thanks
Caballonegro
i'm beginner in Java programming and i have this problem:
I use the following code in a html-file
<style type="text/css">
#popupimage01 { position: absolute; visibility: hidden }
</style>
same lines behind i wrote this:
<img src="images/picA_100.jpg" alt="picA" border="0" style="cursor:hand"
onmouseover="view_image(popupimage01,'visible')"
onmouseout="view_image(popupimage01,'hidden')"
width="100" height="80">
and later i place this:
<div id="popupimage01">
<img src="images/picA_big.jpg" width="420" height="340">
</div>
for to see the big image
for this i use this script
function view_image(user,ValueShow)
{
var mousex = window.event.x;
var mousey = window.event.y;
user.style.visibility = ValueShow;
user.style.left; user.style.top;
}
it works good and the big image popup if i move the mouse over the smal image.
But, what i not now is,
what code is to change ant to add,
so that the big image comes in with fading effect,
and not so as now, similar to a flashlight.
thanks
Caballonegro