local webview not displaying CSS while enclosed in scrollview
i want to create a scrollview that shows all my pages. i am using the below code but it is displaying an unformatted html page.
And yes, the local url displays correctly (with css) when i view it ouside of the scrollview. Thanks for any help.
var webView1 = Ti.UI.createWebView({
left:3100,
width:500
});
webView1.url='/webviews/local_webview.html';
scrollingview.add(webView1);
1 Answer
-
i 'think' that for iPhone, your local_webview.html need to have absolute references in the format app://Resources/webviews/…..
Android works differently…I'm currently researching the Android part because I need it for an App.
HTH,
R