pop-up screen

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/1/2005 2:52:49 PM
Gravatar
Total Posts 73

Re: pop-up screen

It is defined as a second site in Mojo. Mojo is running under localhost, so I added this site using the name of my local machine: development.

Perhaps it is not recognized as an intranet site and therefor is effected by the IE settings for Internet sites. But then again, the old site was running on another machine.

window.alert was inside the popup function. Adding 'javascript' does not seem to be necesary. I develop and run everything in Windows (XP or Server 2003).

Perhaps you could try a test on your environment?

Jan
10/1/2005 3:47:37 PM
Gravatar
Total Posts 18439

Re: pop-up screen

Jan,

I was able to replicate the problem where it would work in Firefox but not IE. After a bit of research I was able to get it working in IE.
The problem is you are passing a page name instead of a target.
Accoring to this page http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp
window.open( [sURL] [, sName] [, sFeatures] [, bReplace])
sName is not the caption for the page but the target like _blank or the name of a frame in a frameset
as soon as I changed 'Status details' to '_blank' it workes in IE and Firefox

Cheers,

Joe
10/2/2005 11:16:24 AM
Gravatar
Total Posts 73

Re: pop-up screen

Joe.

I changed the code and it worked without a problem. Then I started wondering why it didn't cause a problem in my other application. I use a meaningfull string there aswell. Looking into that code shows that I only used strings without a space. Changing _blank into xxxx als works!

I'll use _blank however.

Thanks Joe,

Regards,

Jan

You must sign in to post in the forums. This thread is closed to new posts.