Jump to content
xisto Community
Nivedita

Two Cool Web-Design Scripts

Recommended Posts

hi all,
While wandering in internet for getting an idea about the design of my website. I came across a very nice script for website title. Here i am sharing it with you guys:

<script LANGUAGE="JavaScript">var message = new Array();
message[0] = ":: Sandeep Bhandari ::"
var reps = 5;
var speed = 100;
var p = message.length;
var T = "";
var C = 0;
var mC = 0;
var s = 0;
var sT = null;
if (reps < 1) reps = 1;
function doTheThing() {
T = message[mC];
A();
}
function A() {
s++;
if (s > 8) { s = 1;}
if (s == 1) { document.title = '.¸.¡´¯`¡.¸.¡´¯`¡ '+T+' ¸.¡´¯`¡.¸.¡´¯`¡.'; }
if (s == 2) { document.title = '¡.¸.¡´¯`¡.¸.¡´¯` '+T+' .¡´¯`¡.¸.¡´¯`¡.¸'; }
if (s == 3) { document.title = '`¡.¸.¡´¯`¡.¸.¡´¯ '+T+' ¡´¯`¡.¸.¡´¯`¡.¸.'; }
if (s == 4) { document.title = '¯`¡.¸.¡´¯`¡.¸.¡´ '+T+' ´¯`¡.¸.¡´¯`¡.¸.¡'; }
if (s == 5) { document.title = '´¯`¡.¸.¡´¯`¡.¸.¡ '+T+' ¯`¡.¸.¡´¯`¡.¸.¡´'; }
if (s == 6) { document.title = '¡´¯`¡.¸.¡´¯`¡.¸. '+T+' `¡.¸.¡´¯`¡.¸.¡´¯'; }
if (s == 7) { document.title = '.¡´¯`¡.¸.¡´¯`¡.¸ '+T+' ¡.¸.¡´¯`¡.¸.¡´¯`'; }
if (s == 8) { document.title = '¸.¡´¯`¡.¸.¡´¯`¡. '+T+' .¸.¡´¯`¡.¸.¡´¯`¡'; }if (C < (5 * reps)) {
sT = setTimeout("A()", speed);
C++;
}
else {
C = 0;
s = 0;
mC++;
if(mC > p - 1) mC = 0;
sT = null;
doTheThing();
}
}
doTheThing();
</script>


It generates a wave in the title of the website. Hope you guys will enjoy this script. If you guys know some other interesting script then do share. I will uploading my site sooner on Xisto and I am collecting matrial for that.
And here is one more script for all those who use Orkut. This script will flood the scrapbook of any member of orkut. You can even flood your own scrapbook and show others that you have got so many scraps. The script is:

java script:var i=0;function drm(){i=i+1;document.forms[0] .elements[2].value="Type your message here."+""+i+"";document.getElementsByTagName('input').item(3).click();}; void(setInterval(drm,500));

You open the scrapbook of anyone in orkut and paste the script in the addrsss bar where you type "http://forums.xisto.com/no_longer_exists/; and press enter. The page will keep on refreshing again and again. When you want to stop flooding, the close the window and again open the scrapbook to see what the flooder has done.
Hope you will enjoy these scripts.
Waiting for replies.
Edited by Nivedita (see edit history)

Share this post


Link to post
Share on other sites

Okay...The first one. If I encounter that kind of activity on a website I will most likely Ctrl-W it or turn NoScript for the site back to blocked mode. It just looks awful and annoying. Besides, the characters don't appear right unless you've got right charset meaning that the symbols appear just moving rectangles. The second one... Maybe I misunderstood something but isn't that like teasing the person wholes scrapbook you're flooding. And I'd guess doing something like that is against the rules of the service.So I don't think these scripts are very cool. Well to use at least. But on the other hand they show what is possible to do with Javascript and how to do these things maybe someone will learn something. And maybe then use the knowledge for something useful or truly cool. :P

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

×
×
  • 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.