0 Replies Latest reply on Jun 18, 2008 7:24 AM by srikanth_n

    Problem related to default page layout of application

    srikanth_n
      Hi everyone,

      I am beginner to coldfusion.
      I have got a problem while creating coldfusion.
      I have a page which consists a save button click on this calls the same page.
      On second load
      I am displaying a popup sized window using javascript.
      The code for the same is below.

      function popup_window(){
      var testWindow;
      var mypage = "index.cfm? fuseaction=index,cfm?Fuseaction=test.test_window
      var myname = "popup_window3";
      var w = 575;
      var h = 265;
      var scroll = "no";
      var winl = (screen.width - w) / 2;
      var wint = (screen.height - h) / 2;
      winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
      win = window.open(mypage, myname, winprops);
      if (parseInt(navigator.appVersion) >= 4)
      { win.window.focus(); }
      }
      window.onload=popup_window;

      The popup_window is a seperate fuse action where in I have included the page to be displayed in popup window.

      My problem is the page displayed in popup window is taking the default page layout of test fuse.
      I dont want the default layout in popup.

      Please resolve this issue.

      Thanks in advance...