Empire of Sports Europe
Hello and welcome to EOS-EU - First English Speaking Fansite of Empire of Sports!
Register to obtain full access to the website.
We hope you will enjoy the portal.


Welcome to the first English Speaking Community FanSite of Empire of Sports :)
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsHOMEPORTALFORUMLog inRegister

Share | 



 Bubble Writing Text

View previous topic View next topic Go down 

PostSubject: Bubble Writing Text   Fri Jan 25, 2013 4:17 pm

<script language="JavaScript" type="Text/JavaScript">
var delay = -1;
var Timeout;
var speed = 250;
var YourText = new Array();
YourText[1] = " you are fat and ugly ";
YourText[2] = " YOU ARE FAT AND UGLY ";
function BubbleWriting()
  if(delay == 0)
      document.BubbleWritingText.WritingText.value = YourText[1];
  if(delay == 1)
      document.BubbleWritingText.WritingText.value = YourText[2].substring(0, 1) +YourText[1].substring(23, 1);
  if(delay > 1)
      YourText[3] = YourText[1].substring(0, delay - 1) + YourText[2].substring(delay - 1,delay) + YourText[1].substring(23, delay);
      document.BubbleWritingText.WritingText.value = YourText[3];
  if(delay == YourText[1].length)
      delay = -1;
  Timeout    = setTimeout("BubbleWriting()",speed);
<form name="BubbleWritingText">
<input name="WritingText" type="text" style="1 background-color: #80ff00; layer-background-color: #80ff00; color: red; border: 1px none #000000; background-color: #CCFFCC; border-color: #FF0000; border-style: solid;" size="30" maxlength="300">

Bubble writing text effect inside the textbox. You can customize your Bubble Writing Text by changing some values. Add bubble writing effect to text on web pages. It is easy to modify to suit your need.
Add the below code to the body section of your page
Back to top Go down
View user profile

Bubble Writing Text

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Empire of Sports Europe :: Java Script-