Log In · Register

 
earth quake effect
chopstix-ninja
post Jan 18 2004, 06:10 PM
Post #1


chopstix-ninja
*****

Group: Member
Posts: 325
Joined: Jan 2004
Member No: 206



anyone know how?

where the window shakes for a short period of time
 
 
Start new topic
Replies
xquizit
post Jan 18 2004, 07:14 PM
Post #2


wanderlust personified.
*******

Group: Official Designer
Posts: 7,515
Joined: Jan 2004
Member No: 797



QUOTE(chopstix-ninja @ 01-18-2004, 06:10 PM)
anyone know how?

where the window shakes for a short period of time

hmmm, i'm not sure if this will work on xanga, but go ahead and try... however, this effect is extremely annoying. Try it in your custom header:

CODE
<!-- begin code provided by createblog.com -->

<script language="JavaScript">
// Browser Earthquake script
function shake(n) {
if (self.moveBy) {
for (i = 15; 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);
}}}}
</script>

<!-- This will create a button when clicked, will cause the browser to shake for a few seconds -->
<form><input type="button" value="Earthquake!" onClick="shake(15)"></form>

<!-- end code provided by createblog.com -->
 

Posts in this topic
chopstix-ninja   earth quake effect   Jan 18 2004, 06:10 PM
g u b o   i know one that shakes the screen when someone rig...   Jan 18 2004, 07:05 PM
xquizit   QUOTE(chopstix-ninja @ 01-18-2004, 06:10...   Jan 18 2004, 07:14 PM
xquizit   just tried it... it works! :-)   Jan 18 2004, 07:27 PM
aznhybriddragon   the only code that matches that is the right click...   Jan 18 2004, 09:56 PM
patrickrho   QUOTEthe only code that matches that is the right ...   Jan 18 2004, 10:25 PM
chopstix-ninja   yes!! thanks!!   Jan 19 2004, 04:49 AM
chopstix-ninja   how do you make it automatic?? like when you enter...   Jan 19 2004, 04:51 AM
xquizit   to do that, you would place the function inside th...   Jan 19 2004, 10:48 AM
hilary_duffs_biggest_fan   That's cool, but when I put the code in, all i...   Jan 19 2004, 03:07 PM
xjjajeengx   ahahahah i used to have that code... but it annoye...   Jan 19 2004, 03:39 PM
lost_lil_hawaiian_girl   i dont recommend dis to ANYONE!!!...   Jan 19 2004, 04:49 PM
chopstix-ninja   QUOTEto do that, you would place the function insi...   Jan 19 2004, 07:41 PM
chopstix-ninja   QUOTEi dont recommend dis to ANYONE!!...   Jan 21 2004, 01:57 AM
risteeny1   QUOTE(chopstix-ninja @ 01-18-2004, 06:10...   Jan 22 2004, 06:27 PM
hotnessballa23   where da hell his domo   Jun 8 2004, 12:10 PM
tofumonzter   QUOTE(hotnessballa23 @ Jun 8 2004, 10:10 AM)w...   Jun 10 2004, 01:08 AM
JustHere4NoReason   There's a topic on the earthquake effect in th...   Jun 30 2004, 08:05 PM
ji_cabinx   it's in the scripts...isn't it?   Jul 6 2004, 05:51 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: