OutFront Forums
     Home    Register     Search      Help      Login    

Sponsors
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

 

Why won't this script work with AOL browser?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Why won't this script work with AOL browser?
Page: [1]
 
 
Guest


 
Why won't this script work with AOL browser? - 4/4/2001 17:02:00   
I am using the following script to click on a thumbnail picture and have a new window open the full picture. It works fine in IE and Netscape, but will not work in AOL's browser. I realize AOL is a POS and most of you hate it, but I would like to support it on my site. Any ideas or other scripts that will accomplish the same thing would be greatly appreciated.


<SCRIPT LANGUAGE="JavaScript">
<!--
function OpenNewWindow(cPicture,nWidth,nHeight,cMessage,nBorder)
{
NewWindow=window.open("","NewOne","HEIGHT="+nHeight+",WIDTH="+nWidth+",top=50,left=100,scrollbars=no,resizable=no");
NewWindow.document.write ("<HTML><HEAD><TITLE>");
NewWindow.document.write ("</TITLE></HEAD>");
NewWindow.document.write ("<BODY BGCOLOR='black'>");
NewWindow.document.write ("<P ALIGN=CENTER>");
NewWindow.document.write ("<FONT FACE='Arial' SIZE='+2' COLOR='White'><B>");
NewWindow.document.write (cMessage);
NewWindow.document.write ("</B></FONT>");
NewWindow.document.write ("<IMG SRC=");
NewWindow.document.write (cPicture);
NewWindow.document.write (">");
NewWindow.document.write ("</P>");
NewWindow.document.write ("<center><FORM><INPUT TYPE='button' VALUE='Close This Window' onClick='self.close()'>");
NewWindow.document.write ("</FORM></CENTER></BODY></HTML>");
NewWindow.document.write ("</BODY></HTML>");
NewWindow.document.close();
return false;
}

//-->

</script>

Dixiedi

 

Posts: 130
From: Cincinnati
Status: offline

 
RE: Why won't this script work with AOL browser? - 4/5/2001 20:52:00   
I have never used AOL and don't know much about it, but...the latest versions are IE based. However AOL is a constictive service, maybe that has something to do with it. I really don't know.
However, I have a suggestion that may just fix your problem.


Try a simpler popup script.
Or
Make your links open in a new window by altering your links to

code:
 <a href="images/pic2.gif" target="_blank">whatever is clicked here</a>


JavaScript is very handy, but often used when it really isn't even needed.

Again, I really don't know very much about AOL, it's not so much their browser but their restricted or forced behavior. I won't get into that, it only creates arguments and those who would defend AOL usually do not have a lot of experience with other ISPs or browsers.


(in reply to Guest)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Why won't this script work with AOL browser?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts