locked
Webview with html file and showing content partially

    Question

  • Hi

    I am using in my app a  webview that navigate to an HTML file. I don't want to show the whole content of the html in the webview I want to show part of it and when user touches the screen it shows the remaining content of html file and so on until end of html file.HTML part shown on webview is related to webview display size I think.

    How can this be done?

    Monday, May 05, 2014 7:22 AM

Answers

  • Hi Mahagh,

    I don't think you'll have sufficient control over the WebView to do this from outside of the HTML. Typically this sort of thing would be done on the server and handled within the HTML itself.

    Is your HTML file local or remote? If it's local you should be able to set it up to do the virtualization yourself, but I'm not familiar enough with HTML to know how exactly you would do that.

    --Rob

    Saturday, May 10, 2014 12:41 AM
    Owner