TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 05:16:12 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 160
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 140
  • Total: 140

Scrolling Status Bar Text Block

Started by Techdomain, September 24, 2006, 09:28:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Techdomain

If you want to add scrolling text to the bottom of visitors status bars, just add the following code to a script block, hide the frame and title, and publish it.
Edit line 4 to say what you want it to say.
I have tested this in IE6

Example: look at the bottom left of your browser window at http://www.techdomain.com.au


<Script LANGUAGE="JavaScript">
<!-- Hide this from older browsers
var Count = 0; var
Text = "This is the line that you edit.";
var Speed = 90;
var timerID = null;
var TimerRunning = false;
var i = 0;
while (i ++ < 140) Text = " " + Text;
function Scroll()
{ window.status = Text.substring(Count++, Text.length);
if (Count == Text.length) Count = 0;
timerID = setTimeout("Scroll()", Speed);
TimerRunning = true; }
function Start()
{ Stop(); Scroll(); }
function Stop()
{ if(TimerRunning) clearTimeout(timerID); TimerRunning = false; }
Start();
// end hide -->
</Script>

RoarinRow


SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0


Vinspire

ermm ... which block is this ? can printscreen the actual image.

i did take a look at the site and bottom right but still don't get it.

sorry for my stupidity :(

Techdomain

bottom left, off screen :) where it usually says "Done"


christicehurst

Damnit this is a clever idea. Well Done!

rctxtreme


akulion

It works in FF for me too - havent tried opera yet though but it should I think

rctxtreme

In FF 1.5.0.7 it just says Done under Tech Domain...

akulion

oohh sorry i didnt read properly...im confusing this with the other snippet that was posted about the scrolling title bar

lol

Porky


bluedevil

This is cool. It works pretty well :up:

Crip

Yeah, but most folks are using FF nowadays ...
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



Techdomain

#14
dont know about most... that is a claim and a half!

my site stats for the last week:
MS Internet Explorer 129059 75.3%
Firefox 31856 18.6%
Opera 4935 2.8%
Mozilla 2432 1.4%
Unknown 1530 0.8%
Safari 1028 0.6%
Netscape 294 0.1%
Camino 41 0%
LibWWW 19 0%
Konqueror 5 0%
Others 7 0%

I might have a look though and see if I can make it work for FF also...

Techdomain

just did some more testing - to get it working in FF, you need to enable it in the browser:

Tools > Options > Content > Java : Advanced >
then tick the "Change Status Bar Text" checkbox.

was tested with FF v2.0