MyBB Community Forums
[How To?] Board Name HTML Script - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] Board Name HTML Script (/thread-188532.html)



Board Name HTML Script - PALACE - 2016-01-28

Hi,

How can I add my HTML script for the board name (tab text).

I want it to scroll. I already have an script but I am not sure where to add it

Quote:<script> 

<!-- 

var ScrollMsg= "PrankCalling | The Home of Prankcalls " 

var CharacterPosition=0;

function StartScrolling() { 

document.title=ScrollMsg.substring(CharacterPosition,ScrollMsg.length)+

ScrollMsg.substring(0, CharacterPosition); 

CharacterPosition++; 

if(CharacterPosition > ScrollMsg.length) CharacterPosition=0;

window.setTimeout("StartScrolling()",150); }

StartScrolling();

// -->

</script> 


So instead of
[Image: b83a8ac0f9fbf0c3156a9f8fd6ec5c04.png]
I want
[Image: 5c2b0caedbbe7f39d5cc0e0f52e6b65f.gif]

I made it in HTML with a localhost website. I added it to my index.html but MyBB has index.php only

Please help.
Thanks.

(Website in Signature)


RE: Board Name HTML Script - Wires - 2016-01-28

ACP > Templates & Style > Templates > Your Theme > Ungrouped Templates > headerinclude

Add in the script there and it'll work as expected.