【问题标题】:horizontal scrolling text menu with control带有控件的水平滚动文本菜单
【发布时间】:2016-06-21 09:21:05
【问题描述】:

我将创建带有控件的水平滚动菜单

喜欢http://www.msn.com/ 顶部文本菜单。我一直在寻找这样的代码,但没有人能帮我找到更苗条的代码。

<ul id="myUl">
<li> | </li>
<li style="color: red">Espresso</li>
<li style="color: orange">Cappuccino</li>
<li style="color: yellow">American</li>
<li style="color: green">Tea</li>
<li style="color: black">Milk</li>
<li style="color: blue">Juice</li>
<li> | </li>

【问题讨论】:

  • 比这更苗条的东西吗?

标签: jquery html css slider


【解决方案1】:

我不完全知道您想要的如何什么。但我创建了一个示例here。请根据我制作的示例返回给我如何确切想要它,以便我可以改进示例。

还发现了this&lt;- this one is what you're lookin for I think, I can make an example with your text if you prefer, even tho you can do that yourself aswell

两个例子都找到了here

出于教育目的,您也可以查看here

祝你好运!

编辑:

MADE AN EXAMPLE FOR YOU

【讨论】:

  • 我在 msn 中用图像更新其水平滚动菜单
  • 不是 this 如果您将自己的名字 cappuccino / tea etc 放在 &lt;div class="contentContainer blue"&gt;&lt;/div&gt; 中,就像这样:&lt;div class="contentContainer red"&gt;Espresso&lt;/div&gt;跨度>
  • 有什么方法可以在到达最后一个文本时停止滚动?
  • @AmalPrasad 不妨看看this
猜你喜欢
  • 1970-01-01
  • 2015-12-29
  • 1970-01-01
  • 2014-03-22
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多