shiv
Mar 22 2006, 05:34 PM
Browser Quaker! SHOCK your visitors! this script shakes the browser like a quake happened! yeah....try this script to believe it! im sure u will be stunned at the effect! a good way to show your visitor that...your website ROCKS!..and literally so ! ! i got this script from Bravenet's webmaster freebrees newsletter. if you haven't known bravenet before..it is a beginner webmaster's friend! you get lot many features for your website hosted freely. and subscribe to their newsletter to get gems like these! ok here's the code: CODE <script language="JavaScript" type="text/javascript"> function init() { setTimeout("shake(3)",1000); setTimeout("this.focus()",4000); setTimeout("shake(3)",4100); } function register() { var isAol = "no"; var res = 800; } function shake(n) { if (self.moveBy) { for (i = 10; i > 0; i--) { for (j = n; j > 0; j--) { self.moveBy(0,i); self.moveBy(i,0); self.moveBy(0,-i); self.moveBy(-i,0); } } } } a=275; b=275; r=20; x=1; z=1;
function rotate(r) { while (z<=3) { for (var i = 0; i <360; i++) { x = (r * Math.cos((i * Math.PI)/180)) + a; y = (r * Math.sin((i * Math.PI)/180)) + b; window.moveTo(x,y); } z+= 1; } setTimeout("shake(3)",10000); } </script>
play around with it and make your website rock! cheerz! shiv
Comment/Reply (w/o sign-up)
techocian
Mar 22 2006, 09:11 PM
Interesting code. I've seen it before but sometimes it gets fairly annoying when everytime you walk into a page and it "rocks"? Speaking of fancy rocking of webpages, download the latest version of the Comet toolbar, (Yes i know it has spyware but just for a minute or so then scan your computer with ad-aware or something)install it and there's a set of features inside that enable you to do like so many different things to a webpage. There is one that changes the whole page into a WYSIWYG editor and you can change anything in it. I tried it with MSN's and Yahoo!'s webpage and it was fun! This also reminds me of the AOL browser where you get certain features to alter the webpage you're seeing, the one i tried was the upside-down feature which, of course tilts your page upside down and i think your cursor goes too.
Comment/Reply (w/o sign-up)
Ronel
Nov 3 2007, 06:20 AM
odd...doesn't work? EDIT: Well it works now...just add this: HTML <body onLoad="init()">...</body> Or a link to shake, rattle and roll when clicking HTML <a href="#" onClick="init()>blah!</a>
Comment/Reply (w/o sign-up)
Sten
Nov 3 2007, 07:27 AM
i was expecting it do like wot msn messenger does when you nudge someone. wait dont worry, it works well in internet explorer. its not that brilliant in firefox but anyway.
Comment/Reply (w/o sign-up)
Quatrux
Nov 3 2007, 07:45 AM
Well, this script just did some funny stuff with the window, it doesn't work in Opera, even though I thought I will turn some javascript things on which I have turned off, due to I don't need them, like allow moving of windows  and yeah, doesn't work in Firefox too, at least for me  maybe I also have some settings turned off, I don't see any of point to use this script on a website, unless it is a game or something and seems to work only on Internet Explorer, so its for Explorers
Comment/Reply (w/o sign-up)
wutske
Nov 4 2007, 10:32 AM
Nice gimmick, but useless and annoying imho  . It won't work here anyway, I've disabled all javascript options in Opera, damn stupid features  .
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : browser, quaker, shock, visitors, script, shakes, browser, quake, happened
- Love Script
(3)
When A User Close The Browser Window
How to control this action (1) I know that when a user leaves your website you can perform any action if you add some code to the
onunload event like for example display an alert box, pop-up a window, etc. but when the user close
the browser window instead which event is fired up??? how to control this action??? is it possible
to add some code to perform when this happens???? Best regards,....
One Click To Copy Script
Works in IE6 but not any other Browsers (0) As a project to "boilerplate" some text, I had this idea of making a couple of textareas in html and
having a single click on the input button copy the contents to the clipboard and then pasting the
text into another blank textarea. Several textareas would contain the different pieces of text and I
would then be able to 'assemble' the full text into the 'blank' textarea and then,
of course, copy this entire piece to the clipboard and migrate it to the final spot for copying.
Anyways, BuffaloHELP had the basic code for the javascript, but it seems that thi....
Enlarge Image Script
(22) Hi, this simple one line script changes the image size and source on your thumbnail picture without
reloading the page or using popups, just paste this code into the BODY section of your HTML
document: CODE Best regards, edit: adding the missing ' of the src on the ondblclick
event.....
JavaScript Off Redirect Script
How to redirect a browser when Javascrip (2) Hi, here's a trick that will redirect a browser when JavaScript is turned off. Why not redirect
the ones that have JavaScript? It's because less than 10% of browsers have JavaScript turned
off; therefore, is better to redirect less than 10% of visitors than over 90%. Simply paste this
code into the HEAD section of your HTML document. CODE /* Created by: Will Bontrager ::
http://www.willmaster.com/ */ //--> Best regards,....
Create And Import JavaScript Modules For A Large Script
(2) I have one main script which defines an object. I then have several other script files that define
functions for that object. I have tried using the following setup to import the functions: HTML
code snippet: Javascript code snippet: import Object.functionName; This works fine for
Mozilla Firefox, but causes an error in Internet Explorer which causes the object to be undefined.
I would like to know how better to import the functions into the main javascript (preferably without
needing to add the module script to the html file) that works in both Firefox a....
Javascript: Browser Detection Script
Detect your visitors browser (2) If you want to detect your visitors browser, sebd them a message and redirect them use this script:
CODE var browserName=navigator.appName; if (browserName=="Netscape") { alert("Hi Netscape
user!") window.location = "netscape.html" } else { if (browserName=="Microsoft Internet
Explorer") { alert("Hi Microsoft Internet Exlorer User!"); window.location = "MIE.html" }
else { alert("What are you browsing with?"); window.location = "unkown.html" } } //-->
....
Calling Of Functions Between Mulitple External Javascript Files
How do I use an external script to call a function from another script (2) I have a page that requires many Javascript functions. In order to make the coding easier to read
and edit, I decided to seperate them into 3 Javascript files. Two files will each do a specific job.
One file will have the shared functions that both other 2 files will need to use. They are all
linked to a page using three tags. The difficult part is that after the page calls a function in
one of the special code files, that Javascript file will need to call the functions located in the
common Javascript file. The file will call several functions, and it will an argumen....
Password Protect Your Page
Its a very simple script, do not use it for any thing serious! (2) Guys, if you like it you can use it, but one thing I would like to tell is that its not entierly
safe to use such a thing, it depends on your content that you are trying to protect from usual
visitors, beginners this is for you. The best part is that you do not need any kind of scripts
installed on your server, it is in JavaScript which is embeded in to your HTML page. Just change the
username from "asta" to your choice and password from "host" to your preference. Here is the code...
CODE /*This Script allows people to enter by using a form that asks for a UserI....
Sweet Titles
script will display the titles on your links in a very "sweet&quo (0) try this one...its indeed sweet! sweet titles This script will display the titles on your links
in a very "sweet" manner. The look is customized by using CSS and is easily changed. Degrades very
nicely. CODE /* Fading Tooltips */ div#toolTip { position:absolute; width:220px;
background:#00009C; border:2px double #fff; text-align:left; padding:5px;
-moz-border-radius:5px; z-index:1000; } div#toolTip p { margin:0; padding:0; color:#fff;
font:11px/12px verdana,arial,serif; } div#toolTip p em { display:block; margin-top:3px;
color:....
Bid Visitors Bye/thank U With A Popup Onunload In Just One Line!
script designed to open a window when the users leave the site (0) Copied from http://www.cgiscript.net/cgi-script/csNews...wone&id=54&op=t QUOTE add the one
line code below to the tag of the page you want to trigger the action from. when they leave that
page another window will open. change the text "URL" in the code below to reflect the new web site
address you want them to enter. QUOTE for example, when they leave your site you can open a
window that says thank you for visiting. QUOTE Code: CODE
onunload="window.open('URL')" thats it...now say a royal thanks to ur visitors!
cheers! shiv....
Let's Make Rainbow Link
Auto Changing Link Colors Script (1) Put this source inbetween and !!!! CODE script language="JavaScript1.2"> var rate = 20;
var obj; var act = 0; var elmH = 0; var elmS = 128; var elmV = 255; var clrOrg; var TimerID;
if (navigator.appName.indexOf("Microsoft",0) != -1 && parseInt(navigator.appVersion) >= 4) {
Browser = true; } else { Browser = false; } if (Browser) { document.onmouseover =
doRainbowAnchor; document.onmouseout = stopRainbowAnchor; } function doRainbow(){ if (Browser
&& act != 1) { act = 1; obj = event.srcElement; clrOrg = obj.style.color; TimerID = setInt....
Need Opinion - Language Redirection Script...
(0) Hi... I wasn't there for some time but now I need opinion... I hope someone would be able to say
something about my script... what should be fixed, what I can do to improve it... it is universal
language redirection script for few pages that I work on and I need it to be as good as it can be...
would this be working in every browser in which scripts like that can work? If now what I should
add? (why I aded "en" and "en-US"? The script first checks if there is exact name and then it
converts it to small letters and takes only two first... just in case someone would....
Slideshow Of Pictures
Simple script (0) This is just a small script that lets you display a set of pictures in a slideshow-like manner. This
script lets you show the thumbnailed versions of the pictures, and then when the user clicks on a
pic, the user is taken to the actual picture. NOTE: You can add more pictures to the array by
copying the format that is being used in it: CODE slideshow = new Array(
"images/image1.bmp", "images/image2.bmp",
"images/image3.bmp", "images/image4.bmp" ) slideNumber = sli....
Need Drop Down Menu Script
Current not working in firefox (1) I'm in need of a drop down menu script. The one I am currently using was written to work in
both ie and netscape, but does not work in firefox. /sad.gif" style="vertical-align:middle"
emoid=":(" border="0" alt="sad.gif" /> I new at installation that the author had stretched the
rules abit to make it work, but didn't expect firefox to come out. I don't care what
language it is written in as long it works If you have ie you can see an example at:
http://66.78.26.33/~ruidoso/ I would appreciate any help you can recommend pete....
Javascript: Disable Mouse Right-click In Browser
(17) just copy and paste this on to your html site in the head tag CODE /* */ var message="Hey
YOU!\nStop Stealing my pictures or\nFACE THE PUNISHMENT!" function click(e) { if (document.all)
{ if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (e.which ==
3) { alert(message); return false; } } } if (document.layers) {
document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // --> ....
here is a javascript that allows you to print
print script (0) here i the script i will allow your visitors to print your page input in html editor // This
script was supplied free by Hypergurl // http://www.hypergurl.com if (window.print) {
document.write(' Click Here To ' + ' + 'onClick="java script:window.print()"> This
Page! '); } // End hide --> ....
Java Script
Do you know how.... (7) Does anyone know how to make some cool java script stuff? Is the possiblities endless in terms of
designing things and comming up with stuff? For example... how do you make that trailing text... i
think that is java script.....
Looking for browser, quaker, shock, visitors, script, shakes, browser, quake, happened
|
See Also,
*SIMILAR VIDEOS*
Searching Video's for browser, quaker, shock, visitors, script, shakes, browser, quake, happened
|
advertisement
|
|