Thanks chaps
StevieC
@StevieC
Posts made by StevieC
-
Multi language?
Does anyone have any tips as to how to make an app multi lingual?
-
RE: Using fonts with Onsen UI
Thanks,
I had forgotten that it is CSS that handles it.But, I presume. not link to them externally (e.g. Google fonts)? As it’s an app.
I found this at https://css-tricks.com/snippets/css/using-font-face/
@font-face { font-family: 'MyWebFont'; src: url('webfont.eot'); /* IE9 Compat Modes */ src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('webfont.woff2') format('woff2'), /* Super Modern Browsers */ url('webfont.woff') format('woff'), /* Pretty Modern Browsers */ url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */ url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */ }
Is that the kind of thing?
-
popping ( poppage() ) back to the top in one go
I have taken the user through a few pages using pushpage() and then, at the final page, they have the option of saving what they have chosen. Thereby negating the need to go back through the previous pages. Can I ‘jump’ straight back to the homepage?
-
RE: Unable to target div id in ons-template
Hi Fran,
I’ve changed the ‘init’ to ‘show’ and that appears to have fixed it. -
RE: Unable to target div id in ons-template
Hi Fran,
Yes. That appears to be it. Thanks.It has thrown up another problem though.
Using the function: 'document.addEventListener(‘init’, function(event) {'
to handle each page loading works fine within the Monaca IDE (fires each time a page is loaded) but when run on my mobile phone (Android 4.1.2) it only fires the once (on app loading). I have included Crosswalk to see if that would help but it has not.Any advice?
-
Unable to target div id in ons-template
I am modifying the ‘Splitter animations with navigator’ tutorial (http://tutorial.onsen.io/?framework=vanilla&category=Community tutorials&module=splitter_navigator)
I have added <div id=“userBoards”></div> to one of the templates. When that template is loaded I call some JS to insert some text into the #userBoards div. My JS does not seem to be able to detect the div in question though.
Please advise.