miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

Electronic moving text

 
Author astass
Partaker
#1 · Posted: 16 Jun 2010 12:31Reply Quote
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:01Reply Quote
Looks quite interesting. Scrolling, you can control when moving the mouse ...
https://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

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

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