[thelist] JS error access denied

Chris Price chris.price at choctaw.co.uk
Tue Sep 12 11:57:43 CDT 2006

I have a problem with a page which opens a window using javascript.

In IE 6.0 I get the following error when the window opens:

Line: 23
Char: 2
Error: Access is denied
Code: 0
URL: http://serekundapoodles.com/new/bridget.html

On the clients computer the window pops up but just says that its  
downloading the content but doesn't complete the download, just freezes  
the browser.

It happens on an AOL browser and another on BT.

The javascript is as follows:

function majorWindow(pagename,dir) {
	var thisWin
	thisWin =  
	thisWin.document.write("<!DOCTYPE html PUBLIC '-\/\/W3C\/\/DTD XHTML  
1.0 Strict\/\/EN'  
	thisWin.document.write("<html lang='en'  
	thisWin.document.write("<title>" + pagename + "\'s pedigree<\/title>");
	thisWin.document.write("<meta http-equiv='content-type'  
content='text\/html; charset=ISO-8859-1' \/>");
	thisWin.document.write("<link rel='stylesheet'  
href='styles\/popup.css' type='text\/css' \/>");
	thisWin.document.write("<script type='text\/JavaScript'  
	thisWin.document.write("<div><img src='" + dir +  
"images\/poodles\/pedigrees\/" + pagename + "-ped.jpg' alt=\"" +  
pagename + "\'s pedigree\" \/><\/div>");
	thisWin.document.write("<div onclick='window.close(); return false'  
class='windowClose'>Close this window<\/div>");

Can anyone throw any light on this?

Kind Regards
Chris Price


chris.price at choctaw.co.uk

Tel. 01524 825 245
Mob. 0777 451 4488

Beauty is in the eye of the beholder
while excellence is in the hand of the professional

          -+- Sent on behalf of Choctaw Media Ltd -+-
The information in the email (including any attachments) is  
confidential and intended solely for the use of the individual to whom  
it is addressed. Access to this email by anyone else is unauthorized.  
Any views or opinions presented are solely those of the author and do  
not necessarily represent those of Choctaw Media Ltd. If you have  
received this email in error be advised that any use, dissemination,  
forwarding, printing or copying of this email is strictly prohibited.  
Please notify the sender and please delete the message from your system  

More information about the thelist mailing list