aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Closing of Child Window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Closing of Child Window" Watch "Closing of Child Window" New topic
Author

Closing of Child Window

Ashwani Kaura
Greenhorn

Joined: Apr 03, 2006
Posts: 2
We are using webhelp feature of robohelp for context sensitive help related to our different web pages.after doing the required configuration in robohelp provided js (RoboHelp_CSH.js) .we are able to open our help window,which is opened whenever any body clicked on a help link on the web page.

Our main page is getting open as a child window from our logon processing page.

its like main website-->application homepage--->help page.

so the issue is any time of application homepage is closed any other popup open on that is getting close using window.close,but in case of help pages
its not happening,as its having frameset.
even tried using top.window.close() also.but no help.
Please help me in this regard..
its more of issues related to parent child windows ,where help window is not becoming child.
Thanks a lot in advance

RH_ShowHelp(0,'../sms800onlinehelp/!SSL!/WebHelp/SMS_800_WelcomePage.htm>SMS800HELP',HH_HELP_CONTEXT,helpid);

where we pass the helpid dynamiccaly,

now this whole flow is working fine and we are getting a perfect context sensitive help.

but the issue is if we close the parent window from where help window get generated,the help window is not getting close even though if parent is close.

we tried using window.close functions inside RoboHelp_CSH.js ,but its not closing the real window,its closing the
whcsh_home.htm ,which get generated every time when a new help window is opened.

please help me in this regard.let me know if any more info is required.

Ashwani
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61608
    
  67

Not a JSP issue. Moved to the HTML forum.
[ April 03, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
why don't you ask the question on their forum?

http://www.macromedia.com/cfusion/webforums/forum/index.cfm?forumid=65
Eric
Ashwani Kaura
Greenhorn

Joined: Apr 03, 2006
Posts: 2
I asked the same question to robohelp forum also,till now no reply,

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=451&threadid=1134088&enterthread=y
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Closing of Child Window