Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 09-10-2003, 11:27 AM   #1
Baseband Member
OFAH FAN's Avatar
Join Date: Sep 2003
Posts: 87
Default Html Help

Ok for my site i want:

Welcome To
then it would change to
Sid's Cafe

and then will go back to welcome to and so on and so on

i dont no if u need html or java im not sure but if any1 can give me the code so all i have to do is copy on my site ill be very greatfull

any font will do.

OFAH FAN is offline   Reply With Quote
Old 09-10-2003, 01:54 PM   #2
Site Team
David Lindon's Avatar
Join Date: Dec 2002
Posts: 15,233

I've seen this done before. You mean like on ofah forum? I'll have a go for you.

[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 09-10-2003, 02:25 PM   #3
Baseband Member
OFAH FAN's Avatar
Join Date: Sep 2003
Posts: 87
Default Re: Html Help

yea like that when ya think ya finish it?
OFAH FAN is offline   Reply With Quote
Old 09-10-2003, 03:56 PM   #4
Site Team
David Lindon's Avatar
Join Date: Dec 2002
Posts: 15,233

<script language="JavaScript1.2" type="text/javascript">
var delay = 1000
var bcolor = "#F8F8F8"
var tcolor = "#D4AD00"
var fcontent = new Array()
begintag = '<font size="2"><B>'
fcontent[0] = "<font color=#6394BD>Welcome to OFAH Forum</font>"
fcontent[1] = "For fans of BBC sitcom <font color=#C4A100>Only Fools and Horses</font> !!!"
fcontent[2] = "Visit <a href=http://www.ofah.net><font color=orange>OFAH.NET</font></a> today <img border=\"0\" src=\"http://www.ofah.net/forum/yabb/YaBBImages/wink.gif\" alt=\"Wink\">"
fcontent[3] = "<a href=\"http://www.amazon.co.uk/exec/obidos/ASIN/B0000AISIA/ofaonlfooandhor\">Please support this forum </a>"
fcontent[4] = "<a href=\"http://www.amazon.co.uk/exec/obidos/ASIN/B0000AISIA/ofaonlfooandhor\">Buy Series 6 DVD for 14.99 - click here</a>"
closetag = '</b></font>'
// -->
<script language="javascript">
/************************************************** ******************
v2.02 01/12/2002
YaBB integration & modification: NRg (yabb_fader@gmx.de)
Latest version: http://www.talknet.de/~norbru/

based upon:
Fading Scroller by DynamicDrive.com http://www.dynamicdrive.com
************************************************** *******************/

// You can changes these three values to modify the output:
var frame = 50; // frame-range. standard = 50
var st = 30; // milliseconds between frames. standard = 30
var wait = 50; // value to display the full text without fade
// 1 = approx. 60 milliseconds. standard = 50

ie4 = document.all&&!document.getElementById;
ns4 = document.layers;
DOM2 = document.getElementById;

bR = HexToR(bcolor);
bG = HexToG(bcolor);
bB = HexToB(bcolor);
tR = HexToR(tcolor);
tG = HexToG(tcolor);
tB = HexToB(tcolor);
bR_m = bR;
bG_m = bG;
bB_m = bB;
tR_m = tR;
tG_m = tG;
tB_m = tB;

function HexToR(h) { return parseInt((cutHex(h)).substring(0,2),16) }
function HexToG(h) { return parseInt((cutHex(h)).substring(2,4),16) }
function HexToB(h) { return parseInt((cutHex(h)).substring(4,6),16) }
function cutHex(h) { return (h.charAt(0)=="#") ? h.substring(1,7) : h}

dir = ((tR+tG+tB) > (bR+bG+bB)) ? "up" : "down";
dirback = ((tR+tG+tB) < (bR+bG+bB)) ? "up" : "down";
dir_m = dir;
index = 0;
frame_m = frame;
framehalf = frame / 2;
wait_m = wait;
stepR = Math.abs(tR - bR) / framehalf;
stepG = Math.abs(tG - bG) / framehalf;
stepB = Math.abs(tB - bB) / framehalf;
step = Math.min(Math.round(Math.max(stepR,Math.max(stepG, stepB))),(240/framehalf));

function fade() {
if (index>=fcontent.length)
index = 0;
if (DOM2) {
document.getElementById("fscroller").innerHTML=beg intag+fcontent[index]+closetag;
else if (ie4) {
else if (ns4) {
document.fscrollerns.document.fscrollerns_sub.docu ment.write(begintag+fcontent[index]+closetag);
document.fscrollerns.document.fscrollerns_sub.docu ment.close();

function colorfade() {
if (frame>0) {
if (frame==framehalf && wait>0) {
document.getElementById("fscroller").style.color=" rgb("+wR+","+wG+","+wB+")";
else {
if (dir=="down") {
if (bR>tR) bR-=step;
if (bG>tG) bG-=step;
if (bB>tB) bB-=step;
bR = Math.max(bR,1);
bG = Math.max(bG,1);
bB = Math.max(bB,1);
else {
if (bR<tR) bR+=step;
if (bG<tG) bG+=step;
if (bB<tB) bB+=step;
bR = Math.min(bR,255);
bG = Math.min(bG,255);
bB = Math.min(bB,255);
document.getElementById("fscroller").style.color=" rgb("+bR+","+bG+","+bB+")";
if (frame==framehalf+1) {
document.getElementById("fscroller").style.color=" rgb("+tR+","+tG+","+tB+")";
dir = dirback;
wR = tR;
wG = tG;
wB = tB;
tR = bR_m;
tG = bG_m;
tB = bB_m;
else {
document.getElementById("fscroller").innerHTML=" ";
dir = dir_m;
frame = frame_m;
wait = wait_m;
tR = tR_m;
tG = tG_m;
tB = tB_m;
bR = bR_m;
bG = bG_m;
bB = bB_m;
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 11-29-2003, 04:01 PM   #5
Baseband Member
Join Date: Nov 2003
Posts: 41
Send a message via AIM to Chris Send a message via Yahoo to Chris
Default Re: Html Help

i just started html, i can make pretty good sites too
Chris is offline   Reply With Quote
Old 05-11-2005, 07:41 PM   #6
Beta Member
imported_tech_9's Avatar
Join Date: May 2005
Posts: 2

Hello all. I am wondering if its possible to have a font uploaded onto a server and have html refer to that for the font file. On my site, I'm using a font for some text that most people don't have, but I want them to be able to see the text in my font, so I want to know if I can do anything to fix that? Thanks.
imported_tech_9 is offline   Reply With Quote
Old 05-12-2005, 09:23 AM   #7
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,003
Default Re: Html Help

no, All fonts are referenced on the local machine, if the font isn't available a default font is used.

The only way you can get people to see your font is by making images of what you want to write.

root is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off

All times are GMT -5. The time now is 07:58 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0