|
|
|
|
![]() ![]() |
May 7 2006, 02:23 PM
Post
#1
|
|
|
Newbie [ Level 2 ] Group: Members Posts: 12 Joined: 16-April 06 Member No.: 12,793 |
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: QUOTE <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 Astahost 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: QUOTE 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 "www.orkut.com" 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. This post has been edited by Nivedita: May 7 2006, 02:34 PM |
|
|
|
May 10 2006, 04:03 PM
Post
#2
|
|
|
Super Member Group: Members Posts: 595 Joined: 4-September 04 Member No.: 228 |
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. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 8th October 2008 - 05:08 AM |