简体   繁体   English

如何创建凸起的标签栏项目,例如在Instagram或Dailybooth中使用CSS / HTML生成的标签栏项目

[英]How do you create a raised tab bar item, like the one found in Instagram or Dailybooth with css / html

I work on a webapp project with HTML5 / CSS. 我使用HTML5 / CSS处理一个webapp项目。 I would like to incorporate a iOS style tab bar. 我想合并一个iOS样式标签栏。 There are several plugin such iTabBar / BarTender / ... but I'd like to incorporate a custom center button like Instagram or Dailybooth . 有一些插件,如iTabBar / BarTender / ... ...但是我想合并一个自定义的中心按钮,如InstagramDailybooth

Do you use an existing solution? 您是否使用现有的解决方案? or ideas to achieve it ? 还是实现的想法?

in advance, thank you for your answer. 预先感谢您的回答。

John 约翰

Here you can find a very useful solution!! 在这里您可以找到一个非常有用的解决方案!

I hope you like it 我希望你喜欢它

I haven't actually found ready to use solution, but what i can recommend is to either use sencha or jquery mobile and check existing apps! 我实际上尚未发现可以使用的解决方案,但是我建议使用sencha或jquery mobile并检查现有应用程序!

jquery mobile example jQuery Mobile示例

and here is sencha touch apps 这是sencha touch应用

These two frameworks requires quite different level of experience, and it will take a while to adopt sencha approach (easier if you familiar with ExtJS ) but it provides really solid platform also featuring compiler tool to get ready for market app for both ios and android 这两个框架需要完全不同的经验水平,采用sencha方法将花费一些时间(如果您熟悉ExtJS会更轻松),但是它提供了真正可靠的平台,还具有编译器工具,可以为ios和android的市场应用做准备。

also if all you need really is just this toolbar, consider just code it yourself , just check how docked toolbar is implemented in either of these two frameworks, as it is a bit of headache on iphone 另外,如果您真正需要的只是这个工具栏,请考虑自己编写代码,只需检查如何在这两个框架中的任何一个中实现停靠的工具栏,因为iphone有点麻烦

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

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