The problem is because your layout is centered on the screen, with the left and right margins expanding or contracting based on the resolution. When this happens, the distance between the DHTML window on the screen to the left edge of the page changes, hence the "mispositioning." One thing you can do is try to position the DHTML window relative to the top/left corner of the "blogger" column where it's displayed in. Try replacing your current dhtmlwindow.open() line on your page with the below instead:
Code:
var blogwin=dhtmlwindow.open("blogwin", "iframe", "http://library.westliberty.edu/news.html", "Library News", "left=425px,top=407px,width=414px,height=308px,resize=1,scrolling=1,center=0")
function getposOffset(what, offsettype){
return (what.offsetParent)? what[offsettype]+this.getposOffset(what.offsetParent, offsettype) : what[offsettype]
}
window.onload=function(){
var bloggercolumn=document.getElementById("blogger")
var bloggerleft=getposOffset(bloggercolumn, "offsetLeft")
var bloggertop=getposOffset(bloggercolumn, "offsetTop")
blogwin.moveTo(bloggerleft, bloggertop)
}
Bookmarks