问题标签 [tabnavigator]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
518 浏览

apache-flex - Flex: Tab Navigator tab position

I need to develop a Tab Navigator with a few tabs on the left hand side and one tab on the right hand side, I have experimented with the "tabOffset" property, but this does not seem to be able to help

enter image description here

Thanks in advance!

0 投票
2 回答
501 浏览

actionscript-3 - 选项卡导航器,但在 flex 中分布在两行

我目前在我的 flex 项目中使用选项卡导航器,理想情况下我想继续使用它,但问题是有很多选项卡,几乎所有选项卡都以“...”结尾,因为它们没有足够的空间来显示整个标题。是否可以在两行上显示导航器?我对 flex 很陌生,所以如果这是一件容易的事,那么道歉。

0 投票
1 回答
101 浏览

apache-flex - 无法更改 SuperTabNavigator 选项卡文本的字体

我在 SuperTabNavigator 上苦苦挣扎,因为我无法更改标签文本的字体。我的字体是通过样式表中的语法嵌入到应用程序中的 OTF @face-font,我已在其他地方成功使用它,例如 spark 标签。然后,我为 SuperTabNavigator 定义了一种样式,该样式在 fontStyle 和 fontFamily 方面都引用了上述字体。没有取得任何结果。

您能否提供在 SuperTabNavigator 组件中更改选项卡文本字体的正确方法?

提前致谢 最好的问候

0 投票
2 回答
716 浏览

flash - Flex TabNavigator 空对象问题

我在使用 TabNavigator 时遇到问题,它总是发送错误:

示例代码:

当我按 F1 时,它会跳转到设置页面。这将显示选项卡导航器。再次按 F1 将其隐藏。

基本上,重复显示和隐藏选项卡导航器是没有问题的。但是,如果我在隐藏选项卡导航器之前单击任何选项卡,当我尝试通过按键盘上的 F1 再次显示选项卡导航器时,它会发送错误,如上所示。

如何解决/防止错误发生?

谢谢你。

0 投票
1 回答
92 浏览

html - Making a TabNav work correctly

commerce site that has a particular tab navigation code that allows users to click and view information.

The Tab Nav looks like this:

Details | Shipping | Returns | Lifestyle View

When you click on anyone of these a paragraph appears below the tab with more information. What happens though is that all the other list items get pushed below the paragraph rather than staying in their current positions. So for instance if I click on "Details," the "Shipping," and "Returns," tab gets pushed down. I would like all the menu items to stay intact and just have the paragraph appear below each menu.

Any help would be greatly appreciated.

the page can be found at:

http://babsandmickieco.myshopify.com/collections/clothing-all/products/sana-dress#

0 投票
1 回答
134 浏览

actionscript-3 - 以编程方式在 flex ViewNavigator 之间切换

我有一个 Flex TabbedViewNavigatorApplication

有两个自定义导航器:

现在我想以编程方式,根据我的应用程序中的一些事件在导航器之间切换。

我在 StackOverflow 上发现的唯一问题是这个Switch between Flex Tabbed ViewNavigators

但该解决方案仅适用于您在 Main.mxml 中工作,或者使用navigator.selectedIndex = 1;(或在我的情况下tabbedNavigator.selectedIndex = 1;)或使用TabbedViewNavigator(navigator.parentNavigator).selectedIndex = 1;

但我不知道如何在我的应用程序中访问导航器,而不是在 Main.mxml

0 投票
1 回答
93 浏览

actionscript-3 - 分组标签导航器 as3

您好,是否可以从选项卡导航器或其他组件创建/扩展以创建选项卡导航器,其中选项卡位于选项卡内。即分组。我一直在尝试查找有关此的一些信息,但可用的信息很少。我试图做如下的事情,但我无法成功地让它工作。任何关于此的扩展或信息都会很棒

谢谢

0 投票
1 回答
393 浏览

android - 选项卡导航网格视图项目单击不起作用

在此处输入图像描述我用标签导航创建了两个标签。每个选项卡都有带有自定义适配器的网格视图。我的问题是网格视图的项目单击正在使用一个选项卡,但在第二个选项卡项目中单击不起作用。你们能建议我为什么吗?请

第一个标签:这里项目点击工作:

第二个标签代码:

0 投票
1 回答
2367 浏览

javascript - Onsen UI 分页:导航器和标签栏

我对混合导航器和标签栏有疑问。

说明:主页面(Main page1)由两个子页面(tab1和tab2)组成,通过tabbar访问,而其他页面(page2和3)通过navigator访问。tab1 页面是第一个被激活的页面。

布局:tab1 和 tab2 页面具有相同的工具栏(在顶部)。page2 和 page3 具有不同的工具栏,带有后退按钮和另一个用于重定向到主页 tab1 的按钮。

我的代码是这样的,但我不知道它是正确的还是最好的方法:

我希望这对其他人有用。

0 投票
0 回答
59 浏览

javascript - 用下一个和上一个按钮显示一些 li

我正在创建引导选项卡。在每个选项卡中,我都有一些带有不同选项的选项。
我想将每个选择选项放在 a 中<li>,并且在活动选项卡的开头只有 4-5 li 将被启用。

剩下的<li>我想做一个“下一个”按钮(当然还有一个“上一个”按钮)和一些过渡动画。

有人知道如何在 JavaScript 或 jQuery 中做到这一点吗?