在jQueryMobile中创建菜单的最佳方法是什么

编程入门 行业动态 更新时间:2024-10-23 20:29:33
本文介绍了在jQueryMobile中创建菜单的最佳方法是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在开发一个包含菜单的应用程序,该菜单带有指向多个页面的链接,我想知道实现它的最佳方法是什么.

I'm developing an application that contains a menu with links to the several pages and I would like to know what's the best way to implement it.

一种解决方案是在所有页面上创建菜单通过JavaScript,但是当所有页面只有一个全局页面时,它将复制菜单.

One solution is to create the menu on all pages via JavaScript, but it would duplicate menus when it should have just one global to all pages.

另一种解决方案将是在框架,但这种方式不会充分利用框架的功能.

Another solution would be to create a div outside the framework but this way would not be taking any advantage of the features of the framework.

推荐答案

我为此专门准备了此帖子这个问题,它处理固定页眉和页脚的问题较少(因为我一般认为它们是对本来已经有限的房地产的误导性浪费),而更多地是关于处理全球导航.希望这可以帮助.

I prepared this post specifically for this question, It deals less with fixed headers and footers (since I generally believe them to be misguided wastes of already limited real estate) and more about dealing with global navigation in general. Hope this helps.

更多推荐

在jQueryMobile中创建菜单的最佳方法是什么

本文发布于:2023-07-17 06:45:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1130520.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:菜单   方法   jQueryMobile

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!