TheDocumentEditor
Technical User
I have two scripts on one page which are conflicting with each other. One is a "Flying Popup" which uses the script source at and has this in the last line:
The other script on the same page is for several link enacted popups. I have included it below. If I comment it out (as it is here) then the "Flying Popup" above works. I think the conflict is between the "window.onload=openpopup" in the 'utilpopupfly2.js' and the "window.open" of the following. But I have been wrong before! I know that if there are two onload events you can combine them in the body tag but this is different. How can I get these two to cooperate? What is the trick?
Code:
window.onload=openpopup
Code:
<!--
<script type=text/javascript>
var win= null;
function NewWindow(mypage,myname,w,h,scroll){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars=no';
settings +='toolbar=no';
settings +='directories=no';
settings +='location=no';
settings +='status=no';
settings +='menubar=no';
settings +='resizable=no';
win=window.open(mypage,myname,settings);
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
</script>-->
[code]
Thanks for your help.
Bob Robert Kidd, Director
[url]http://www.editfast.com[/url]
Quality Editing==>[i][b][size=4][color=red]Fast[/color][/size][/b][/i]
[email]Director@EditFast.com[/email]