I have found a fiddle that shows how to scroll a text on hover. Here only first div element is scrolling on hover. but i want scroll text for each list li
element on hover like in fiddle (i want change div to li ). please check.
我找到了一个小提琴,展示了如何在悬停时滚动文字。这里只有第一个div元素在悬停时滚动。但我希望在小提琴上悬停每个列表li元素的滚动文本(我希望将div更改为li)。请检查。
On hover other li
the scrolling text should stop to pre state.
在悬停其他li时,滚动文本应停止为预先状态。
Please Help.
1 个解决方案
#1
2
Because you are usind same id's <div id="container">
for all div which is not proper. Use class<div class="container">
for all div
因为对于所有不合适的div,你都是同一个id的
#1
2
Because you are usind same id's <div id="container">
for all div which is not proper. Use class<div class="container">
for all div
因为对于所有不合适的div,你都是同一个id的