PDA

View Full Version : effed up script code halp



Grover
04-16-2008, 06:05 PM
I used to have my own imageboard, and had someone install this script for me so that our b& board was effed up.


<script>
Effect.Pulsate('everything', {pulses:9002,duration:9002});

// OVER NINE THOUSSSANNDDD </script> <script language="javascript" type="text/javascript"> var hexvalues = Array( "A", "B", "C", "D", "E", "F", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" ); function flashtext() { var colour = '#'; var colour2 = '#'; for( var counter = 1; counter <= 6; counter ++ ) { var hexvalue = hexvalues[ Math.floor( hexvalues.length * Math.random() ) ]; var hexvalue2 = hexvalues[ Math.floor( hexvalues.length * Math.random() ) ]; colour = colour + hexvalue; colour2 = colour2 + hexvalue2; } $( 'everything' ).style.color = colour; document.bgColor = colour2; $( 'everything' ).style.fontSize = Math.round(12*Math.random())+9+"px"; } setInterval( 'flashtext()', 50 ); </script>

I'm trying to figure out how to apply this to an installed style on PHPBB3. I don't care how it's done, as long as the intended effect is achieved. Sorry about the script it lost it's formatting and I'm not sure how to reorganize it.