Hello!
I found the following script on a web-page. Is it possible to get the image that pops up to pop-up next to the pointer?
The script:
[QUOTE]
<html>
<head>
<script language=’javascript’>
window.onresize= init;
function init(){
document.all.tomrom.style.left=(document.body.clientWidth/2)-50
document.all.tomrom.style.top=’200′
document.all.tomrom2.style.left=(document.body.clientWidth/2)-50
document.all.tomrom2.style.top=’200′
}
function vis(filnavn) {
document.all.tomrom.innerHTML = “<img src='” + filnavn + “‘>”
document.all.tomrom.style.display=””
}
function skjul(){
document.all.tomrom.style.display=”none”
}
</script>
<script language=’javascript’>
function vis2(filnavn) {
document.all.tomrom2.innerHTML = “<img src='” + filnavn + “‘>”
document.all.tomrom2.style.display=””
}
function skjul2(){
document.all.tomrom2.style.display=”none”
}
</script>
<title>test</title>
</head>
<body onLoad=’init()’>
<div id=’tomrom2′ style=’position:absolute’></div>
<div id=’tomrom’ style=’position:absolute’></div>
<a href=”
<img border=”1″ src=’smallpicture.jpg’ onMouseOver=’vis(“bigpicture.jpg”)’ onMouseOut=’skjul()’ width=”50″ height=”97″>
</a>
</body>
</html>
(Just cut´n´paste the script to a new html-doc…)
Great if someone could help me with this one….