简体   繁体   English

动态导航列表菜单

[英]dynamic navigation list menu

I am working on a small application and I basically need a list of 5 items say 我正在开发一个小型应用程序,基本上我需要列出5项内容

Name Address City Country Zipcode 名称地址城市国家邮政编码

Whenever the user clicks on anyone of these he needs to be directed to another page and that particular item needs to be highlighted. 每当用户单击其中任何一个时,都需要将他定向到另一页面,并且需要突出显示该特定项目。

I want to do this dynamically. 我想动态地做到这一点。 I have an idea that it can be done with javascript [document.getelementbyid()] but dont know exactly how. 我有一个想法,可以用javascript [document.getelementbyid()]完成,但不知道具体如何。

are you trying to do something like this: 您是否正在尝试执行以下操作:

http://jqueryui.com/demos/tabs/ http://jqueryui.com/demos/tabs/

take a look at the AJAX example to get content from other pages 看一下从其他页面获取内容的AJAX示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM