Sunday, June 3, 2007

Ride Go Karts In Louisiana

How to put a scrolling text in the status bar and title? -63 -




The title bar is at the top and shows us the web page where the browser is located.

The status bar, we displayed in browsers usually down and often show information about the page.

To add the following code you have two ways to add:

- Go to design the template, click Add a page element and select HTML / Javascript
.

-
Go to design the template, then Edit HTML and add before
\u0026lt;/ head>



For the title bar
\u0026lt;script type = "text / JavaScript ">
var repeat = 1 / / enter 0 to Not repeat scrolling after 1 run, othersise, enter 1 var title = document.title title.length
var leng = var start = 1
titlemove function () { titl = title.substring (start, leng) + title.substring (0, start) if (start == leng +1) {start = 0
if (repeat == 0 )}

return setTimeout ("titlemove ()", 140) } if (document.title)
titlemove ()
\u0026lt;/ script>
** setTimeout ("titlemove ()" 140), this line refers to the movement of text, if you want to change the value of 140 with another value.
Probably the very next text you see or do not appreciate well, then options, Basic and Title you add dashes or dots. But remember that would change the title of your blog, that is to be with dots or dashes.
For the status bar
\u0026lt;script language="JavaScript">
var MessageText = "Help Welcome to the Blog ..." Var
DisplayLength = 50 var pos = 1 - DisplayLength;
ScrollInStatusBar function () {var
scroll = "";
pos + +;
if (pos == MessageText.length) pos = 1 - DisplayLength;
if (pos

{for (var i = 1; i
scroll = scroll + "" scroll = scroll +
MessageText.substring (0, DisplayLength - i + 1);}
else
Scroll = scroll +
MessageText.substring (pos, pos + DisplayLength)
window.status = scroll;
setTimeout ("ScrollInStatusBar ()", 100);}

ScrollInStatusBar ()
\u0026lt;/ script>

- In var MessageText, write your message.
- DisplayLength var, it becomes the length of your message.
-
setTimeout ("ScrollInStatusBar ()", 100), this line refers to the movement of text, if you want to change the value of 100 with another value.

0 comments:

Post a Comment