Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - JavaScript error in Version 7 RC1
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

JavaScript error in Version 7 RC1

 Post Reply Post Reply
Author
wgbeatty View Drop Down
Newbie
Newbie


Joined: 21 April 2003
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wgbeatty Quote  Post ReplyReply Direct Link To This Post Topic: JavaScript error in Version 7 RC1
    Posted: 21 April 2003 at 6:58pm

Hey all-

Curious if anyone has had this problem:

On the members.asp page, you can click on members and have their profiles pop-up. This works fine. Then the page pop_up_profile.asp pops up with the selected member profile. If that member allows for email to be sent, there is an icon to click to send the member an email. When I click on this icon, apparently the pop_up_profile.asp window is suppose to close, and the focus is suppose to go back to the parent (main) browser window. This doesn't happen properly. In IE 6, I enabled the status bar in the pop-up, and saw the following error message:

Class Doesn't Support Action. It appears to be a problem with this code:

<script language="JavaScript">

//Function to open link in main window
function openInMainWin(winLocation){
 window.opener.location.href = winLocation
 window.opener.focus();
 window.close();
}
</script>

I tested in NN7 as well, and the pop-up closed properly, but the main window reloaded the default.asp page for the forum.

Anyone experienced this? I believe I have everything set as far as email (CDONTS) - I know this is a JavaScript problem. I'm not very proficient with JavaScript.

Thanks,

Warren

Back to Top
wgbeatty View Drop Down
Newbie
Newbie


Joined: 21 April 2003
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wgbeatty Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2003 at 9:15pm

Sorry - the error was:

Class doesn't support Automation

I may have narrowed it down to a Microsoft update. Is the Java Virtual Machine used for Java Applets and client-side JavaScript? MS had a security update to the VM last week that I installed. Seems since then, JavaScripts can't run that close a pop-up window and return to the parent window that opened the pop-up...maybe more (haven't run into anything else yet). Strange.

No one else has experienced problems such as this?

 



Edited by wgbeatty
Back to Top
LXBEEN View Drop Down
Newbie
Newbie
Avatar

Joined: 22 June 2003
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote LXBEEN Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2003 at 5:08pm

I had the same experience.how to change the code?

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.