Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-28-2004, 03:34 AM   #1 (permalink)
 
Super Techie

Join Date: Jul 2003

Posts: 302

*PyRo*

Default Javascript Controls

Ok heres the prob, in my site I have got a status bar message that goes from right to left once the page has loaded. It is controlled by a var speed control.

var yourwords = "* *PyRo* *";
var buffer1=" ";
var buffer2=" ";
var message1=buffer1+yourwords+buffer2;
var dir = "left";
var speed = 50;
function pingpong()

However I also want to put in this newsbar thing, but it is also conrtroled by a var speed thing

var fontcolor="#FFFFFF";
var splitcolor="#FFFFFF";
var fontsize=11;
var visitedlink="#ffffff";
var rollovercolor="#FFFF00";
var font="Arial";
var speed=50;
var sparte=4;
var rubrik=13;
var ticker_stop=1;
var rollover_underline=0;
var font_underline=0;
var transparent=1;


When both of these are in place they control each other - the newsbar I want to scroll at a speed of three while the Status bar message I want to go at 50. But when these are set both the status bar and the newsbar go at three. How can i make it so that these things are individual?? Thanks Heaps in advance.
Btw the script extracts were not the full scripts.
__________________
*PyRo* is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On