Hi Sebastien
   
  This is the code i am using
   
  <a href="#" onClick="var win = new Window({id: 'asif', className: 'dialog', 
title: 'Add Task Hitsory And Close the Task Here', destroyOnClose: true,
  top:40, left:200, width:600, height:450, showEffect:Effect.BlindDown, 
hideEffect: Effect.SwitchOff, draggable:true ,
  url: 'showfulltask.php?iId=<?=$x_iId?>&myrefer=<?= urlencode($refer)?>', 
showEffectOptions: {duration:1.5}})
  win.show();
  "> View</a>
   
  And in showfulltask.php i tried to put the code
  top.Windows.getWindow('your_window_id').close()
  But neither its not giving any error not it closing the window. 
        can u plz tell me what i am missing. 
   
   
  Thx.. :o)
  

Sébastien Gruhier <[EMAIL PROTECTED]> wrote:
  I guess you opened your window with an URL  just do 
  top.Windows.getWindow('your_window_id').close()
  

  Seb
    On Mar 12, 2007, at 2:32 PM, Asif Ali wrote:

    Hi....
                  I am using the protorype Window . Everything works fine . I 
have some requirment. I am listing all the records and giving a edit option to 
the user. The edit page will open in new window using Prototype window. After 
updating the record i want to close the window automatically and the parent 
window should be refreshed. How can i do this.
                  I hope somebody have already done it. so plz give me the 
solution.
  Hoe can i refer the Window object in that window
   Thanx


Muhammad Asif Ali
www.PhpTuB.com  

  
---------------------------------
  Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.  
_______________________________________________
  Javawin mailing list
  [email protected]
  http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com



_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com



Muhammad Asif Ali
www.PhpTuB.com
 
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to