The following script if run in Internet Explorer should
display a thumbview of a webpage that you point it to.
To test it, replace test.htm with a valid html file.
The problem I'm having is that I can't get onclick to
fire on the rendered Thumbview object. What's strange
is that onmouseover fires. Can anyone see a way?
<html><head><ti tle>test</title></head>
<body onload="Init()" >
<a onclick=alert() href="file:///C:/test.htm">
<object id="Thumbview"
classid="clsid: 1D2B4F40-1F10-11D1-9E88-00C04FDCAB92"
width=120 height=100 onclick=alert() >
</object><br><br> this works
</a>
<script>
function Init(){
Thumbview.displ ayFile('C:\\tes t.htm');
}
</script>
</body></html>
display a thumbview of a webpage that you point it to.
To test it, replace test.htm with a valid html file.
The problem I'm having is that I can't get onclick to
fire on the rendered Thumbview object. What's strange
is that onmouseover fires. Can anyone see a way?
<html><head><ti tle>test</title></head>
<body onload="Init()" >
<a onclick=alert() href="file:///C:/test.htm">
<object id="Thumbview"
classid="clsid: 1D2B4F40-1F10-11D1-9E88-00C04FDCAB92"
width=120 height=100 onclick=alert() >
</object><br><br> this works
</a>
<script>
function Init(){
Thumbview.displ ayFile('C:\\tes t.htm');
}
</script>
</body></html>
Comment