文本在div - 自动滚动与jQuery - jsFiddle里面 [英] Text in div - automated scrolling with jQuery - jsFiddle inside

查看:86
本文介绍了文本在div - 自动滚动与jQuery - jsFiddle里面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下HTML:我的小提琴



我想让< p> 元素及其文字从下往上垂直滚动。





提前感谢

解决方案

http://jsfiddle.net/8yKjD/2/



我将你所有的p标签包装在另一个div中,使定位和移动更容易,但这应该是你正在寻找的。

I have the following HTML: My Fiddle

I want the <p> elements and their text to vertically scroll from bottom to top.

How do i do this with jQuery without using any plugin?

Thanks in advance

解决方案

http://jsfiddle.net/8yKjD/2/

I wrapped all your p tags within another div to make targeting and moving easier, but that should be what you're looking for.

这篇关于文本在div - 自动滚动与jQuery - jsFiddle里面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆