John Woodsmall Active Member Licensed User Longtime User Jan 4, 2018 #1 i need to use a local html page that uses <link i have tried to put the css as folder i have tried to put the *.css as just a file. nothing works but to put the entire href into the prog. and then it works is there no way to do this? <link href="css/bootstrap.min.css" rel="stylesheet">
i need to use a local html page that uses <link i have tried to put the css as folder i have tried to put the *.css as just a file. nothing works but to put the entire href into the prog. and then it works is there no way to do this? <link href="css/bootstrap.min.css" rel="stylesheet">
John Woodsmall Active Member Licensed User Longtime User Jan 4, 2018 #2 i am using: Dim text As String=File.GetText(File.DirAssets,"demo_menu.html") which has the html in the /files folder on the pc...now sure where it is on the phone. Upvote 0
i am using: Dim text As String=File.GetText(File.DirAssets,"demo_menu.html") which has the html in the /files folder on the pc...now sure where it is on the phone.
NJDude Expert Licensed User Longtime User Jan 4, 2018 #3 Don't create a "css" directory, just add the "bootstrap.min.css" file to your assets and then modify this line on your html like this: B4X: <link href="file:///android_asset/bootstrap.min.css" rel="stylesheet"> Upvote 0
Don't create a "css" directory, just add the "bootstrap.min.css" file to your assets and then modify this line on your html like this: B4X: <link href="file:///android_asset/bootstrap.min.css" rel="stylesheet">
John Woodsmall Active Member Licensed User Longtime User Jan 5, 2018 #4 thanks. but it seems to only work on the first level html page on the next level pages...it does not work...i go back to the normal /folder type of ref. and it works great. by the way do you do "in app purchase for ios" ? Upvote 0
thanks. but it seems to only work on the first level html page on the next level pages...it does not work...i go back to the normal /folder type of ref. and it works great. by the way do you do "in app purchase for ios" ?
NJDude Expert Licensed User Longtime User Jan 5, 2018 #5 John Woodsmall said: but it seems to only work on the first level html page on the next level pages...it does not work... Click to expand... No idea what you mean by that, but, you will have to do what I indicated on my previous post on all the pages referencing that CSS file. John Woodsmall said: by the way do you do "in app purchase for ios" ? Click to expand... No I don't. By the way, you should keep the questions on the same topic, otherwise, open a new thread. Upvote 0
John Woodsmall said: but it seems to only work on the first level html page on the next level pages...it does not work... Click to expand... No idea what you mean by that, but, you will have to do what I indicated on my previous post on all the pages referencing that CSS file. John Woodsmall said: by the way do you do "in app purchase for ios" ? Click to expand... No I don't. By the way, you should keep the questions on the same topic, otherwise, open a new thread.