Omskriv script
Jeg har fundet dette script her på eksperten:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Tomt dokument</title>
<meta name="keywords" content="søgeord adskilt af komma">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#minDiv{position:absolute;width:150px;height:200px;border:3px ridge #222;display:none;overflow:auto;}
#minIframe{zoom:0.3;height:650px;width:500px;}
</style>
<script language="javascript" type="text/javascript">
function showBox(e) {
box = document.getElementById("minDiv").style;
box.display = "block";
box.left = ((e.clientX) ? e.clientX:e.pageX)+15+"px";
box.top = ((e.clientY) ? e.clientY:e.pageY)-15+"px";
}
function hideBox(){
document.getElementById("minDiv").style.display = 'none';
}
function showURL(link){
window.minIframe.location.href = link.href;
}
</script>
</head>
<body>
<br><a href="http://www.google.com" onmouseover="showURL(this);showBox(event);" onmouseout="hideBox()">Google</a>
<br><a href="http://www.dr.dk" onmouseover="showURL(this);showBox(event);" onmouseout="hideBox()">DR</a>
<br>
<div id="minDiv"><iframe id="minIframe" name="minIframe" src="about:blank"></iframe></div>
</body>
</html>
Jeg vil gerne have tilsvarende script, men billederne skal vises fast. Altså et billede af Googles hjemmeside uden "mouse-over".
Er der en der kan hjælpe?
