I'd suggest rethinking everything. The page - too many tables. The scroller - depends upon iframe and has a big gap in it. The hover thing - needs a way to deal with overlap in IE, perhaps others.
But there is a way, add a height and an id to the td and alter the script as shown:
Code:
<td id="wherewewantit" style="width: 290px; height: 288px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top: 0px; margin: 0px; ">
<script type="text/javascript">
/***********************************************
* IFRAME Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
/*@cc_on @*/
/*@if(@_jscript_version >= 5)
if((navigator.userAgent).replace(/^.*MSIE (\d).*$/, '$1') < 8){
@end @*/
//specify path to your external page:
var iframesrc="external2.htm"
//You may change most attributes of iframe tag below, such as width and height:
document.write('<iframe id="datamain" src="'+iframesrc+'" style="width: 290px; height: 288px; background-color: #E1E4E9;" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>')
/*@if(@_jscript_version >= 5)
}
@end @*/
</script>
</td>
Then, as the very last thing before the closing </body> tag, add this highlighted code as shown:
Code:
<script type="text/javascript">
_uacct = "UA-9678881-1";
urchinTracker();
</script>
<!--[if gt IE 7]>
<script type="text/javascript">
document.write('<iframe id="datamain" src="external2.htm" style="width: 290px; height: 288px; background-color: #E1E4E9;" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" onload="var t = document.getElementById(\'wherewewantit\'); t.innerHTML = \'\'; t.appendChild(this);this.onload=function(){return;};"></iframe>');
</script>
<![endif]-->
</body>
</html>
Bookmarks