NetTalk Central

Author Topic: Help link to front  (Read 3345 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1869
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Help link to front
« on: June 09, 2009, 12:23:51 PM »
Hi,
In my pages I have a link to a help page.
The problem is, the user clicks on help, the page opens, he click on another page, the page get minimized, then when the user click again the help link it does not restore and still minimized and the user thinks the link does not work.
I´ve tried with a javascript but I cant make the help page to got to top.

Any Idea?
Thanks
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Help link to front
« Reply #1 on: June 09, 2009, 10:51:51 PM »
>> the page get minimized,

what do you mean by this? When do web pages get "minimized"?
Is your help inside the web browser, or does it appear in another program?

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1869
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Help link to front
« Reply #2 on: June 10, 2009, 04:24:21 AM »
Sory Bruce,
I use links like:

<a href="./help/html/MyHelpPage.html" target="PopupWindow" alt="'&p_web.Translate('Click here for help')&'">'&p_web.Translate('Help')&'</a>

I´ve tryed too with:

<a href="javascript:var win=open('''&'./help/html/MyHelpPage.html'&''',''HelpPage'',''width=450,height=400,status=0,resizable=0,maximized=0,scrollbars=1'');">Help</a>

To Open the help page in another explorer instance. Then if you click on the original explorer instance, the help explorer instance gets iconized. Now if you click again the help link the iconized help explorer instance does not goes to top. It is working ok, because if you click in another help link the new help page displays in the iconized explorer instance help window but always iconized.

Thanks
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Help link to front
« Reply #3 on: June 10, 2009, 10:12:39 PM »
You'd need to do some research on either

a) closing the child window when it loses focus or
b) restoring a minimized window from JavaScript.

I don't know either solution out of my head though - sorry.

Cheers
Bruce

Alberto

  • Hero Member
  • *****
  • Posts: 1869
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Help link to front FOUND!
« Reply #4 on: June 11, 2009, 04:14:20 AM »
Hi,
Found a solution!

in the body tag of each help page...

<body onLoad="this.focus()">

works perfect!

Hope this helps
Alberto
-----------
Regards
Alberto