Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Point standalone help to HTML anchor?
Point standalone help to HTML anchor? [message #471539] Wed, 23 January 2008 21:37 Go to next message
Douglas Dirks is currently offline Douglas DirksFriend
Messages: 26
Registered: July 2009
Junior Member
Is there a way to position the help browser at an anchor
within an HTML file when using the standalone help?

In my experimentation, the following displays the file myFile.html
from my.plugin, with the browser window positioned at the top of the
file:

sa_help -command displayHelp /my.plugin/myFile.html

(Where 'sa_help' is shorthand for a big Java command line
that runs the standalone help.) The following, however, also
displays the file myFile.html positioned at the top:

sa_help -command displayHelp /my.plugin/myFile.html#myAnchor

even when the <a name="myAnchor"> </a> element is located far down
in the file. Is there some syntax that would allow me to display
myFile.html positioned at #myAnchor?

It's clearly possible for the help system to display a file at an
HTML anchor -- it does it properly if the anchor is contained in
the TOC or Index.

Thanks,
Doug
Re: Point standalone help to HTML anchor? [message #514749 is a reply to message #471539] Tue, 16 February 2010 14:33 Go to previous messageGo to next message
Attila Mate is currently offline Attila MateFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I'm having the same problem, but I haven't found any answers to questions like this, only the questions.. Does anyone have a solution?

Note our case is a little different, since our application is not Eclipse based, and we use a standalone infocenter and open a browser from the application with a specific url. However this url has to contain anchor just as in this topic, so I hope the solution would be the same for us, too.

Thanks in advance,
Attila
Re: Point standalone help to HTML anchor? [message #516094 is a reply to message #471539] Mon, 22 February 2010 18:21 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
It looks as though the anchor is getting stripped out by the help system before that page is opened. Can you file a bug report?
Re: Point standalone help to HTML anchor? [message #516545 is a reply to message #516094] Wed, 24 February 2010 11:39 Go to previous message
Attila Mate is currently offline Attila MateFriend
Messages: 4
Registered: July 2009
Junior Member
Thanks for looking into it, i filed bug 303744.

regards,
Attila
Re: Point standalone help to HTML anchor? [message #623870 is a reply to message #471539] Tue, 16 February 2010 14:33 Go to previous message
Attila Mate is currently offline Attila MateFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I'm having the same problem, but I haven't found any answers to questions like this, only the questions.. Does anyone have a solution?

Note our case is a little different, since our application is not Eclipse based, and we use a standalone infocenter and open a browser from the application with a specific url. However this url has to contain anchor just as in this topic, so I hope the solution would be the same for us, too.

Thanks in advance,
Attila
Re: Point standalone help to HTML anchor? [message #623874 is a reply to message #471539] Mon, 22 February 2010 18:21 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
It looks as though the anchor is getting stripped out by the help system before that page is opened. Can you file a bug report?
Re: Point standalone help to HTML anchor? [message #623944 is a reply to message #623874] Wed, 24 February 2010 11:39 Go to previous message
Attila Mate is currently offline Attila MateFriend
Messages: 4
Registered: July 2009
Junior Member
Thanks for looking into it, i filed bug 303744.

regards,
Attila
Previous Topic:F1 is not opening the help content
Next Topic:Avoid InfoPop window in help
Goto Forum:
  


Current Time: Thu Apr 25 15:32:55 GMT 2024

Powered by FUDForum. Page generated in 0.03471 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top