Bo Dem

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Bo Dem as PDF for free.

More details

  • Words: 122
  • Pages: 2
còn bo dem mà chi can javascript ko thì dây, chang dòi hoi kien thuc gì ca, copy and paste, the là xong ^^ buoc 1 them cai nay vao sau head <style> .counter{ background-color:blue; // mau nen cua bo dem color:white; // day la mau cua so dem font-weight:bold; } <script>

expiredate = new date expiredate.setmonth(expiredate.getmonth()+6) jcount = eval(cookieval("jaafarcounter")) jcount++ document.cookie = "jaafarcounter="+jcount+";expires=" + expiredate.togmtstring()

function cookieval(cookiename) { thiscookie = document.cookie.split("; ") for (i=0; i
function page_counter(){

for (i=0;i<(15-jcount.tostring().length);i++) document.write('<span class="counter">0') for (y=0;y<(jcount.tostring().length);y++) document.write('<span class="counter">'+jcount.tostring().charat(y)+'') }



buoc 2 thêm doan này vào cho nào ban muon dat bo dem, tat nhiên là o body

<script> page_counter(jcount);

Related Documents

Bo Dem
November 2019 29
Dem
August 2019 53
Bo
April 2020 30
Bo
December 2019 28
Bo Bo 6
May 2020 35
1001 Dem
November 2019 25