वेब पेज खोलते समय एक चमकती पृष्ठभूमि कैसे बनाएं

वेब पेज खोलते समय एक चमकती पृष्ठभूमि बनाने के लिए जावास्क्रिप्ट को वेब पेज के मुख्य भाग में जोड़ना होगा।

 function initArray () {this.length = initArray.arguments.lengthfor (var i = 0; i)  = step) {लाल - = red_int; red_round = Math.round (लाल); red_hex = Dec2Hex (लाल); grn - = grn_int; grn_round = Math.round (grn); grn_hex = Dec2Hex (grn); blu - = blu_int) ; blu_round = Math.round (blu); blu_hex = Dec2Hex (blu); document.bgColor = red_hex + grn_hex + blu_hex; // document.write ("

bgcolor = "+ red_hex + grn_hex + blu_hex); चरण ++;} document.bgColor = end;}