Jump to content
xisto Community
Sign in to follow this  
hulunes

Add Individuation To Your Site very good try...

Recommended Posts

lots of html fans make varied and beautiful webpage,which look larruping...i will introduce a way to add individuation as if not very good.lol:exactly speaking,it is a easy script.
type the code below in <body></body>:

[/br]<script language="JavaScript">[br]<!--[/br]function scroll(seed)[br]{[/br]var m1 = "  what you want to say  "[br]var m2 = "  "[/br]var msg=m1+m2; [br]var out = " ";[/br]var c = 1;[br]if (seed > 100) {[/br]seed--;[br]var cmd="scroll(" + seed + ")";[/br]timerTwo=window.setTimeout(cmd,100);[br]}[/br]else if (seed <= 100 && seed > 0) {[br]for (c=0; c < seed; c++) {[/br]out+=" ";[br]}[/br]out+=msg;[br]seed--;[br]var cmd="scroll(" + seed + ")";[/br]window.status=out;[/br]timerTwo=window.setTimeout(cmd,100);[br]} else if (seed <= 0) {[/br]if (-seed < msg.length) {[br]out+=msg.substring(-seed,msg.length);[/br]seed--;[br]var cmd="scroll(" + seed + ")";[/br]window.status=out;[br]timerTwo=window.setTimeout(cmd,100);[br]}[/br]else {[/br]window.status=" ";[br]timerTwo=window.setTimeout("scroll(100)",7);[br]}[/br]}[br]}[/br]timerONE=window.setTimeout('scroll(100)',50);[/br]//-->[br]</script>[/br][br]


in the code you can change the words in the fifth line which you want to say and you can also control the speed of rolling words by the code above

[/br]timerTwo=window.setTimeout("scroll(100)",7);[br]}[/br]}[br]}[/br]timerONE=window.setTimeout('scroll(100)',50);


you'd better have a try on it

Share this post


Link to post
Share on other sites

i am sorry to emphasize the good code again,but i do expect many webpage fans to notice this,which must be useful to you.maybe there are a lot of webpage designing wizards in Xisto,who are greatly good at making webpage by dreamweaver.huh... it is not enough to add Individuation to ur page,just looking at the source code...generally it is the boot of webpage after all.encourage... that's all:D

Share this post


Link to post
Share on other sites

nothing happend when i tried it.

ummm,are you sure that you add those code between <body>and </body>? meanwhile there is no script error on your page.check it again...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.