View Single Post
Old 05-07-2008, 02:02 PM   #1 (permalink)
Junkhed
Registered User
 
Join Date: May 2008
Posts: 1
OS: Mac OSx


Javascript not working on Firefox as well IE

Hi I hope someone can assist with this, I built a webpage in flash with this sample script on several buttons:

on (release){
getURL("javascript:popup2();");
}

now with the HTML page that was generated I have this script in between the head tags:

function popup2() {
window.open('tour bus.jpg','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500,left=0,top=0');
}

Problem is that when I view the site in firefox it opens a window but gives me a message like this:
The image “http://www.examplesite.com/david.jpg” cannot be displayed, because it contains errors.

Im not sure why this is happening can anyone assist with this problem
Thank you.
Junkhed is offline   Reply With Quote