miniBB Support Forums | 15 years on The Web
miniBB ®

miniBB

®
 
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   
 

Electronic moving text

 
Author astass
Partaker
#1 | Posted: 16 Jun 2010 12:31 | Edited by: astass 
DESCRIPTION: A simple script to create the effect of scrolling text on the site.

Installation and setup script

Connecting a script file templates\main_header.html after <head> insert code:


<script type="text/javascript" src="./templates/crawler.js"></script>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
style: {
'padding': '0px',
'width': '60%',
'background': 'lightyellow',
'border': '1px solid #A0A0A0'
},
inc: 4, //maximum speed of the block (in pixels)
mouse: 'cursor driven', //behavior when the pointer. Possible values - ('pause' 'cursor driven' or false)
moveatleast: 1, //speed of ticker, when the pointer is outside the block
neutral: 150,
savedirection: true
});
</script>

---------------------------------------------------------------------------------------
Insert rows at the end of the file. (Do not forget to change the text in your message.)


<div style="padding-bottom: 10px;" align="center"><div class="marquee" id="mycrawler">
Here, write your text that will scroll in your running line!
</div></div>

In the templates folder to put the file crawler.js
Electronic moving text

Get about how to screen.
screen

Author astass
Partaker
#2 | Posted: 18 Jun 2010 09:01 | Edited by: astass 
Looks quite interesting. Scrolling, you can control when moving the mouse ...
http://www.minibb.com/forums/storage/screenshots/123.gif

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 Electronic moving text
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
↑ TOP