![]() |
PM popup not working
Tried this on the regular site without much help. I hope someone here can help...
The IM support - check for new PM's is set to yes in the VB CP. Pop up a box when you receive a Private Message is set to yes for the user. The following is a partial source code of the forums page when the user gets a new PM: quote: -------------------------------------------------------------------------------- <script language="JavaScript"> <!-- function confirm_newpm() { input_box=confirm("You have a new private message. Click OK to view it, or cancel to hide this prompt." ); if (input_box==true) { // Output when OK is clicked second_box=confirm("Open in new window?\n\n(Press cancel to open your Inbox in the current window.)" ); if (second_box==true) { window.open('private.php?s=','pmnew','width=600,he ight=500,menubar=yes,scro llbars=yes,toolbar=yes,location=yes,directories=ye s,resizable=yes,top=50,left=50'); } else { window.location="private.php?s="; } } else { // Output when Cancel is clicked } } // --> </script> </head> <body onload="java script:confirm_newpm()" bgcolor="#003399" text="#000000" id="all" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10" link="#000000" vlink="#000000" alink="#000020"> -------------------------------------------------------------------------------- Is there something I'm missing? I'm using IE 6 with medium security settings. |
Do you have any other javascripts that may conflict with this? That's the most common reason for it not working.
|
1 Attachment(s)
Yes I do, but no other onload statements. I'm attaching the entire source of the page. If anyone can help, I would appreciate it.
|
Try removing all the javascripts except for the default ones, and see if it works. If it does, you know that it's one of the extra scripts, and you can slowly debug it.
|
All times are GMT. The time now is 01:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|