Title Scroller BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP
There is no support here! Only Read Access!
Locked
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 15:04
Location: bbcode table

Title Scroller BBCode

Post by BBCode Bot »

Title Scroller BBCode

Author: cisco007
Description: This is a scroller message on header with moving arrows on both side (THANKS TO DYNAMIC DRIVE FOR HTML)
[valid][/valid]

BBCode:

Code: Select all

[header]{SIMPLETEXT}[/header]
HTML:

Code: Select all

<script type="text/javascript">

//Arrow Head title- By Dynamic Drive
//Based on status bar script by Jason Rex (wonil4@hotmail.com, http://www.syred.net)
//Visit http://www.dynamicdrive.com for full source code

//change title text to your own
    var titletext="{SIMPLETEXT}"
    var thetext=""
    var started=false
    var step=0
    var times=1

    function welcometext()
    {
      times--
      if (times==0)
      {
        if (started==false)
        {
          started = true;
          document.title = titletext;
          setTimeout("anim()",1);
        }
        thetext = titletext;
      }
    }

    function showstatustext(txt)
    {
      thetext = txt;
      setTimeout("welcometext()",4000)
      times++
    }

    function anim()
    {
      step++
      if (step==7) {step=1}
      if (step==1) {document.title='>==='+thetext+'===<'}
      if (step==2) {document.title='=>=='+thetext+'==<='}
      if (step==3) {document.title='>=>='+thetext+'=<=<'}
      if (step==4) {document.title='=>=>'+thetext+'<=<='}
      if (step==5) {document.title='==>='+thetext+'=<=='}
      if (step==6) {document.title='===>'+thetext+'<==='}
      setTimeout("anim()",200);
    }

if (document.title)
window.onload=onload=welcometext
</script>
Helpline:

Code: Select all

Header Scroller: [header]you text[/header]
Example:

Code: Select all

[header]I LOVE PHPBB3BBCODES[/header]
Demo:
[header]I LOVE PHPBB3BBCODES[/header]
Look at the header!
Locked