What is the best practice organize a jQuery Mobile application?

后端 未结 4 1907
执念已碎
执念已碎 2020-12-31 22:27

I have found article that skims over this. But my main question is do I need a separate .html file for each screen? I am thinking yes but I would like an unanimous vote. Als

4条回答
  •  -上瘾入骨i
    2020-12-31 22:49

    Use multiple single HTML pages. You don't need multiple JS files. Each page should be fully self contained and capable of standing alone. Minify, combine, and compress. Always use a global configuration script on every page. Phone numbers, maps, and emails

    href="tel:+1[your telephone number here (numbers only)]"
    href="[standard link to google maps here]"
    href=mailto:[your email address]
    

    Validate using jQuery Validate Use the ThemeRoller. Use radio button groups instead of select menus. Add Google Analytics Determine which navigation style to use. Don't start with the code.

提交回复
热议问题