Cocaine Posted January 9, 2007 Share Okay, this is kind of cool... try this out: Paste the following script into your address bar(Make sure you have some web site open when you do it... ie. The Hub ): javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5); void (O); Hit Enter and check out what happens... Okay, I know its pretty lame but us programmers have to keep ourselves entertained somehow... Link to comment Share on other sites More sharing options...
The Saint Posted January 9, 2007 Share Lucky I tried it in a different browser. Link to comment Share on other sites More sharing options...
slowpoke Posted January 9, 2007 Share i wish i had time to play around like that... i just wish ppl would use standard naming conventions (i'm getting fed up today) and i wish ppl would also accept the limitations of microsoft and be willing to compromise to include standard features of their products (eg SPS) instead of being friggin difficult... ok rant over... still jealous that you have time to play around! Link to comment Share on other sites More sharing options...
fatcyclist Posted January 9, 2007 Share I'm fighting a Radeon card thats dying...comes from having a Radeon and Nvidia card in one machine (and running 2 x 19" and 1 x 17" monitors) Link to comment Share on other sites More sharing options...
The Saint Posted January 9, 2007 Share You would be fighting they are competition to each other. Ditch the Raedon to many issues with ATI cards. Link to comment Share on other sites More sharing options...
Cocaine Posted January 9, 2007 Share I'm fighting a Radeon card thats dying...comes from having a Radeon and Nvidia card in one machine (and running 2 x 19" and 1 x 17" monitors) Be grateful... hardware problems are simple to fix... I'm busy playing (and I use that word lightly) with the video cards memory to try and optimise the rendering of images in our software... and I'm going to go insane!!! Link to comment Share on other sites More sharing options...
Jean-Jay Posted January 9, 2007 Share Nice one dude , i dont know if u've tried this one yet, my front-end knowledge is not so good these days but this is quite cool. Add to you page <script language="JavaScript" type="text/javascript"> function checkBrowser() { try { var pos = navigator.appVersion.indexOf("MSIE"); if (pos > -1) { var version = parseFloat(navigator.appVersion.substring(pos + 4)); if (version >= 5.5) return; } } catch (exception) {} alert("This web site will NOT work with your current browser!\nInternet Explorer 5.5 or higher required!"); } function init() { setTimeout("shake(3)",1000); setTimeout("this.focus()",4000); } 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® { 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> Add this to body tag - ONLOAD="checkBrowser(); init();" You can also add a cool sound like an explosion (small file - less load time) in the header tags for when the page loads and you get the effect of the page exploding(sound) and shaking when it loads Quite cool Link to comment Share on other sites More sharing options...
Recommended Posts
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. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now