A Al Summers Member Oct 13, 2020 #1 Hardly a show stopper but is there a way to force fx.ShowExternalDocument to go to an anchor in an html document? The following test line works - B4X: fx.ShowExternalDocument("file:///D:/Data/HivesPC/help/HivesPCHelpfile.html#Hive") but only opens file:///D:/Data/HivesPC/help/HivesPCHelpfile.html ie it doesn't jump to #Hive. If I copy and paste file:///D:/Data/HivesPC/help/HivesPCHelpfile.html#Hive directly into the browser then it jumps to the anchor as it should do. Is there something I can do to get the full URI to the browser? Thanks, Al
Hardly a show stopper but is there a way to force fx.ShowExternalDocument to go to an anchor in an html document? The following test line works - B4X: fx.ShowExternalDocument("file:///D:/Data/HivesPC/help/HivesPCHelpfile.html#Hive") but only opens file:///D:/Data/HivesPC/help/HivesPCHelpfile.html ie it doesn't jump to #Hive. If I copy and paste file:///D:/Data/HivesPC/help/HivesPCHelpfile.html#Hive directly into the browser then it jumps to the anchor as it should do. Is there something I can do to get the full URI to the browser? Thanks, Al
Erel B4X founder Staff member Licensed User Longtime User Oct 13, 2020 #2 No. You don't have any control on this behavior. The problem is probably in the way the browser handles the anchors as the string is passed as-is. Upvote 0
No. You don't have any control on this behavior. The problem is probably in the way the browser handles the anchors as the string is passed as-is.