blinky boxes, small blinks |
blinky boxes, small blinks |
Jan 1 2005, 01:29 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 77,341 |
i know the code for the blink boxes.. but its not the kind that i want.
could somebody give me the code to the blink box that looks like... THIS: example THANK YOU!!!~ |
|
|
|
![]() |
Jan 1 2005, 01:38 AM
Post
#2
|
|
![]() --» is yah hunnie ![]() ![]() Group: Member Posts: 13 Joined: Nov 2004 Member No: 66,600 |
<!-- begin code provided by blogring -->
<!-- Blink Boxes : Provided by blogring --> <script language=JavaScript> <!-- //blink boxes - xanga.com/add_ons //by sean f http://www.xanga.com/seanmeister //fixed to work with new security measures by //hotaru_01 http://www.xanga.com/hotaru_01 // customize by changing the values below // these are the various colors, in quotes, seperated by commas var blinkColors = new Array("#c6ebeb","#cccccc","#ffffff"); // the border color var blinkBorderColor = "#ffffff" // the border width, in pixels var blinkBorderWidth = 1; // the # of rows var blinkRows = 2; // the # of columns var blinkCols = 80; // the width of the entire box, in pixels or % var blinkWidth = 500; // the height of each row, in pixels var blinkRowHeight = 5; // speed of blinking, in milliseconds var blinkRate = 8; // do not edit below this line st=setTimeout; document.write("<table id='blinkbox' width='" + blinkWidth +"' border = 0 cellspacing='" + blinkBorderWidth + "' cellpadding=0 bgcolor='" + blinkBorderColor +"'>"); for (r = 0; r < blinkRows; r++){ document.write("<TR>"); for (c = 0; c < blinkCols; c++){ document.write("<TD height='" + blinkRowHeight + "'></TD>"); } document.write("</TR>"); } document.write("</table>"); // ... and this makes it blink function blinkIt() { changecell = Math.floor(Math.random() * (blinkCols * blinkRows)); changecolor = Math.floor(Math.random() * blinkColors.length); bb = document.getElementById("blinkbox"); bbtd = bb.getElementsByTagName("td"); bbtd[changecell].style.backgroundColor = blinkColors[changecolor]; st('blinkIt()', blinkRate); } blinkIt(); //--> </script> <!-- End Script by blogring --> just change the hex color codes to whatever colors you want! |
|
|
|
Jan 1 2005, 01:46 AM
Post
#3
|
|
|
Newbie ![]() Group: Member Posts: 6 Joined: Dec 2004 Member No: 77,341 |
QUOTE(PimPinLiLShoRtY @ Dec 31 2004, 10:38 PM) <!-- begin code provided by blogring --> <!-- Blink Boxes : Provided by blogring --> <script language=JavaScript> <!-- //blink boxes - xanga.com/add_ons //by sean f http://www.xanga.com/seanmeister //fixed to work with new security measures by //hotaru_01 http://www.xanga.com/hotaru_01 // customize by changing the values below // these are the various colors, in quotes, seperated by commas var blinkColors = new Array("#c6ebeb","#cccccc","#ffffff"); // the border color var blinkBorderColor = "#ffffff" // the border width, in pixels var blinkBorderWidth = 1; // the # of rows var blinkRows = 2; // the # of columns var blinkCols = 80; // the width of the entire box, in pixels or % var blinkWidth = 500; // the height of each row, in pixels var blinkRowHeight = 5; // speed of blinking, in milliseconds var blinkRate = 8; // do not edit below this line st=setTimeout; document.write("<table id='blinkbox' width='" + blinkWidth +"' border = 0 cellspacing='" + blinkBorderWidth + "' cellpadding=0 bgcolor='" + blinkBorderColor +"'>"); for (r = 0; r < blinkRows; r++){ document.write("<TR>"); for (c = 0; c < blinkCols; c++){ document.write("<TD height='" + blinkRowHeight + "'></TD>"); } document.write("</TR>"); } document.write("</table>"); // ... and this makes it blink function blinkIt() { changecell = Math.floor(Math.random() * (blinkCols * blinkRows)); changecolor = Math.floor(Math.random() * blinkColors.length); bb = document.getElementById("blinkbox"); bbtd = bb.getElementsByTagName("td"); bbtd[changecell].style.backgroundColor = blinkColors[changecolor]; st('blinkIt()', blinkRate); } blinkIt(); //--> </script> <!-- End Script by blogring --> just change the hex color codes to whatever colors you want! THANK YOU!!! |
|
|
|
Jan 1 2005, 01:52 AM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,826 Joined: Jan 2004 Member No: 2,330 |
|
|
|
|
![]() ![]() |