Internal links to headings

RobVanBrunschot

Member
Licensed User
Longtime User
Hello,

I am building a Wiki application for my Experia X1i and am able to display a new page from a file pointing via a link, using the Webbrowser.dll.

The question is how to point to an internal link?
How can I mak the cursor go to a heading further on in the page showing, for example, if I have 5 headings and want to make a link to heading 4, how to jump the cursor to this heading 4 within the Web-control.

I have searched but not found any indication on how to do that.

Regards, Rob
 

berndgoedecke

Active Member
Licensed User
Longtime User
"file://" or "http://"?

Hello RobVanBrunschot,
I'm not sure that I've understand it in th right way, but is it that what you want to do with the internal link:
Brow.Navigate("file://" & AppPath & "\" & "TempHtm.htm") ???
Or do you search the Root from your localhost, to use HTTP to submit ???
If the second question is your problem, I must tell you that I'm also just looking for.

Best regards

berndgoedecke
 

mjcoon

Well-Known Member
Licensed User

Presumably you have looked up how to do that in standard HTML (e.g. from a help text: "It might be a good idea to make every heading an anchor, i.e. a possible target of a link. Use the <A> element with NAME attribute for this." Then you put '#name' at the end of the URL). Does this not work in the Web-control? (Not that I have any experience with it whatsoever!)

Mike.
 

RobVanBrunschot

Member
Licensed User
Longtime User

Thanks for the reaction,

I know how to create a html-fule from a wiki style-file, that is not the problem. I would like to be able to step to another position in the same html-page I am viewing via a link?
I also do not need to use http.

regards, rob
 
Last edited:

RobVanBrunschot

Member
Licensed User
Longtime User

Mike, thanks for your respons.
I wil try your suggestion and report back.

regards, Rob
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…