Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

webview onload method
Started by nadineshorbaji Apr 22 2018 05:45 AM

No replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

nadineshorbaji

[GLOBAL: userInfoPane.html]
nadineshorbaji
  • Observer

  • 1 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]