Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

webview onload method
Started by info0829 Apr 22 2018 09:19 PM

No replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

info0829

[GLOBAL: userInfoPane.html]
info0829
  • Observer

  • 7 posts
  • Corona SDK

hi 

I create native.webview with request local html file , the <body > tag includes onload function , the onload() method works fine at simulator but when I tried at Android real device it's not working, does it need any advance permissions ? or any ideas to help me out ?

 

My html file : 

<html>

<head></head>

<body onload ="myFun()" >
 <script> function myFun() {  window.scrollTo(0, 350); } </script>
</body></html>
 



[topic_controls]
[/topic_controls]