开发者

Anchor tags in android "WebKit" browser

If i open:

content://com.android.htmlfileprovider/sdcard/vik_book_temp/oebps/ch01.htm

in an android browser the same opens correctly, but when I open a anchor tag page like

content://com.android.htmlfileprovider/sdcard/vik_book_temp/oebps/ch01.htm#s01c02

the android browser fails to open the relevant section within the html page.

Whereas content://com.android.htmlfileprovider/sdcard/vik_book_temp/oebps/ch01.htm?s01c02 opens the top of the html page. Is this is a bug in the android browser or incompatibility issue with anchor tags in android browser. If yes开发者_如何学JAVA then what is a way around? How do I set anchor tags or change the "#" symbol to what symbol at runtime to enable navigation to a section?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜