We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Auto scroll on shout box
Topic Started: Aug 10 2012, 03:45 PM (429 Views)
2wise69
Member Avatar
Member
[ *  * ]
Board Address: likenaruto.com
Board Software: Zetaboard
Description: Auto scroll on shout box. I'm using the shout box as my announcement and i was wondering if its possible to make the words scroll up automatically.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Sort of like a marquee effect?
Offline Profile Goto Top
 
2wise69
Member Avatar
Member
[ *  * ]
Yes, but going up instead of side ways
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
$('#shoutbox').css('height', 'auto');
var shoutboxHeight = $('#shoutbox').height();
$('#shoutbox').css('height', '150px');

$(document).ready(function () {
animateMe();
});

function animateMe() {
$('#shoutbox').animate({
scrollTop: shoutboxHeight - 150
}, 10000, function () {
$(this).animate({
scrollTop: 0
}, animateMe);
});
}
</script>
Offline Profile Goto Top
 
2wise69
Member Avatar
Member
[ *  * ]
Works Perfectly! Thanks!
Offline Profile Goto Top
 
Ardy
Member Avatar
.
[ *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic