By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,686 Members | 1,558 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,686 IT Pros & Developers. It's quick & easy.

javascript working locally but not online

P: 1
I am puzzled by a problem I am having with a javascript that is working on my computer (mac osx) but fail when put online. it happens only with the old IE 5.2 for mac and the iCab browsers. the code is very basic

window.focus();

function openAutumn() {
autumnWindow = window.open("autumn.html", "Autumn", "width=800,height=600,left=30,top=30,location=0,sc rollbars=0,menu=0,statusbar=0");
autumnWindow.focus();
}

but maybe something needs adding?

b
Jan 27 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,892
Since you are using IE5 (not really sure why you wouldn't use an updated browser) make sure you have javascript enabled:


From the browser's Tools menu select "Internet Options".
Select the Security tab.
Pick the "Internet zone" icon.
Push the "Custom Level..." button.
Scroll down the Settings list to the Scripting item. (You may need to double-click on icons to expand lists.)
Under the "Active scripting" item, choose the Enable radio button.
Push OK and Yes to confirm and close the Security Settings dialog box, then OK again to close the Internet Options dialog box.
Refresh the current page.
Jan 27 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.