Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: How to access Dom objects on a web view section

  1. #11
    Boy do I feel silly.

    That was actually very easy..

    working perfectly.

    mycall = Lianja.getElementByID("page1.section1").webview

    Thanks Barry - very powerful.


  2. #12
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    UK, USA, Thailand
    Blog Entries
    Hi Herb,

    So as you can see, you can call functions in the WebView using oWebView.evaluate() and those functions can use Lianja.evaluate() inside the WebView function to call other functions in the App. It's a two way interaction.

    And with a little thought one WebView can call functions in another WebView which may be on a different page.
    Last edited by barrymavin; 2016-08-30 at 10:42.
    Principal developer of Lianja, Recital and other products

    Follow me on:


  3. #13
    Hi Barry,

    This is very cool. From a desktop canvas VFP section, I am easily manipulating the HTML objects in the webview.
    This allows me to do things that are little more difficult on desktop. Like setting the opacity of images and overlaying them.

    In this example, I have two images of yours truly - With some added hair on the right

    Name:  htmlinteractive1.jpg
Views: 206
Size:  36.7 KB

    In my vfp section, I just call the move and opacity functions I wrote in the webview.

    This really has my head spinning at the moment....
    Name:  htmlinteractive2.jpg
Views: 129
Size:  42.9 KB



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Journey into the Cloud
Join us