You need to sign in to do that
Don't have an account?
gipsy
custom jquery mobile theme
Hi all, i've created an custom jquery mobile and i've a zip file with the myTheme.css file. How i can use this theme instead of standard jquery mobile theme, in my VF page?
Thanks in advance
Include all your theme files as static resources and then linkto to those static resource in your VF page as shown below. For example
Do this for all your JS and CSS theme files.
I hope this helps.
Regards,
Gaurav
Hi, i've included mytheme.css file as static resource (named MyJQMtheme) and then i link to this resource in my VF page with
<link rel="stylesheet" href="{!URLFOR($Resource.MyJQMtheme)}" />
but the theme showed is the default theme.
I also set the data-theme attribute as shown belove, but don't work:
<div data-role="page" data-theme="mytheme">