rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: Avi on January 15, 2008, 02:13:33 PM

Title: How to make animate header name?
Post by: Avi on January 15, 2008, 02:13:33 PM
Ey when people access my HFS, it's written HFS (the version i'm using)-Mozilla Firefox.


I wanted to know how to make it moving.. I successfully changed the header name to my name. Now I want to know if there is a way to animate it. I mean make it moving.


Thxs for ur replies
Title: Re: How to make animate header name?
Post by: rejetto on January 15, 2008, 03:17:31 PM
i guess it is possible to do it with javascript.
you should google about it, because this has little to do with HFS itself, and you may find it ready around. :)
Title: Re: How to make animate header name?
Post by: Avi on January 16, 2008, 06:37:19 AM
I don't know javascript  :'(


Can someone help me please?  :(


I tried to create an animated one but ended in destroying my template completely. Thanx God I did a backup before
Title: Re: How to make animate header name?
Post by: Avi on January 16, 2008, 06:56:44 AM
Hey Rejetto I got some javascript codes. I'm using the live template. Can you tell me where to paste the code in the template. Please do tell me. Thanxs a lot
Title: Re: How to make animate header name?
Post by: rejetto on January 16, 2008, 09:44:38 AM
i can't, i have to work on HFS. i hope someone else will help you.
if you don't find help here, consider finding in any html related forum on the internet, since your problem is not bound to HFS.
Title: Re: How to make animate header name?
Post by: TSG on January 16, 2008, 04:05:20 PM
What do you mean by an animated header? Do you mean a flash animation, an animated gif, a marquee... Your not very specific about the type of animated header you are after.

In html 4.01? i think its valid to use <marquee></marquee> but to be honest that looks really tacky.
Title: Re: How to make animate header name?
Post by: rejetto on January 16, 2008, 04:07:18 PM
I think he is talking about <title>
That's why i told him javascript
Title: Re: How to make animate header name?
Post by: TSG on January 16, 2008, 04:10:34 PM
Hmm, I have seen that done, and it was javascript... I still think it looks tacky, i'm not a fan of marquee text on websites. When it does look good is when its representing a load sequence or something.
Title: Re: How to make animate header name?
Post by: Unknown8063 on January 16, 2008, 04:51:54 PM
Hmm, I have seen that done, and it was javascript... I still think it looks tacky, i'm not a fan of marquee text on websites. When it does look good is when its representing a load sequence or something.

I agree.  Animation without purpose is typically a sign of bad design.

Avi, I haven't tested this script but it seems to be what you're looking for.
http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_72.html
Title: Re: How to make animate header name?
Post by: blackmetal on January 19, 2008, 08:16:53 AM
Use this. It works for me  ;D


Code: [Select]
<SCRIPT language=javascript>
msg = "(your message here)";

msg = "..." + msg;pos = 0;
function scrollMSG() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos);
pos++;
if (pos >  msg.length) pos = 0
window.setTimeout("scrollMSG()",200);
}
scrollMSG();
    </SCRIPT>
<font face="Tahoma"><a target="_blank" href="http://www.javascriptfreecode.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>