Hi ALL,
I'm trying to reproduce in B4I a simple app that I have done on B4X but I have the following Problem.
In b4x using the following code, I was able to hide the header, the footer, and navigation control of the web page that I load inside the webview :
Private Sub WebView1_PageFinished (Url As String)
WebView1.loadUrl("javascript
function() { document.getElementById('navigation_icons').remove();})()")
WebView1.loadUrl("javascript
function() { document.getElementById('logo').remove();})()")
WebView1.loadUrl("javascript
function() { document.getElementById('topBar').remove();})()")
WebView1.loadUrl("javascript
function() { document.getElementsByClassName('uk-section uk-padding-large')[0].style.display='none';})()")
ProgressDialogHide
End Sub
In B4i with the code above indicated nothing happens, the footer the header, the icon, and the web page navigation are still there,
I have tried with web view and
..
Someone can help me to achieve the same result in B4I ?
I'm trying to reproduce in B4I a simple app that I have done on B4X but I have the following Problem.
In b4x using the following code, I was able to hide the header, the footer, and navigation control of the web page that I load inside the webview :
Private Sub WebView1_PageFinished (Url As String)
WebView1.loadUrl("javascript
WebView1.loadUrl("javascript
WebView1.loadUrl("javascript
WebView1.loadUrl("javascript
ProgressDialogHide
End Sub
In B4i with the code above indicated nothing happens, the footer the header, the icon, and the web page navigation are still there,
I have tried with web view and
Someone can help me to achieve the same result in B4I ?