Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

Sunday, October 20, 2013

Age Counter Java script

The below script
counts how long you've lived, in
days+hours+minutes.
Directions: Step 1: Copy this into
the <head> tags:
COPY CODE:

Friday, October 18, 2013

HTML/xHTML, JS code Tester

<script type="text/javascript">
function preview()
{
var odiv=document.getElementById('outputdiv');
var idiv=document.getElementById('inputcode');
odiv.innerHTML=idiv.value;
}
</script>

Thursday, June 13, 2013

Your last visit on site script

  1. Your last visit on site script js script:
  2.  
  3. demo : http://adf.ly/Q5aax
  4.  
  5. visit this site  http://adf.ly/Q5aax  and copy this code:
  6.  
  7. <script type="text/javascript">
  8. function getCookie(c_name)
  9. {
  10. if(document.cookie.length>0)
  11. {
  12. c_start=document.cookie.indexOf(c_name + "=" );
  13. if (c_start!=-1)
  14. {
  15. c_start=c_start + c_name.length+1;
  16. c_end=document.cookie.indexOf(";",c_start);
  17. if (c_end==-1) c_end=document.cookie.length;
  18. return unescape(document.cookie.substring(c_start,c_end));
  19. }