Print Page | Close Window

Whats wrong with this?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=5687
Printed Date: 03 April 2026 at 3:42am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Whats wrong with this?
Posted By: Kay9
Subject: Whats wrong with this?
Date Posted: 11 September 2003 at 2:35pm

//Function to jump to another forum
function ForumJump(URL) {
 
 if (URL.options[URL.selectedIndex].value != "") self.location.href = URL.options[URL.selectedIndex].value; 
 return true;
}

//Function to open pop up window
function openWin(theURL,winName,features) {
   window.open(theURL,winName,features);
}


//Function to open preview post window
function OpenPreviewWindow(targetPage, formName){
 
 now = new Date 
 
 //Open the window first  
    openWin('','preview','toolbar=0,location=0,status=0,me nubar=0,scrollbars=1,resizable=1,width=680,height=400')
     
    //Now submit form to the new window
    formName.action = targetPage + "?ID=" + now.getTime(); 
 formName.target = "preview";
 formName.submit();
}




Replies:
Posted By: b_bonnett
Date Posted: 11 September 2003 at 4:12pm

As far as I can see, it is exactly the same as what is in my forum's javascript file, so therefore it should work. What error message is it giving you?

Blair



-------------
Webmaster, http://www.planegallery.net/ - The Plane Gallery
Greetings From Christchurch



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net