PHP Classes

File: pictcaptcha.js

Recommend this page to a friend!
  Classes of Patricio Cardó   Pict CAPTCHA   pictcaptcha.js   Download  
File: pictcaptcha.js
Role: Auxiliary data
Content type: text/plain
Description: javascript functions
Class: Pict CAPTCHA
CAPTCHA validation making the user select pictures
Author: By
Last change:
Date: 11 years ago
Size: 677 bytes
 

Contents

Class file image Download
function decime(sesna,n){ alert("va bien "+sesna) } pictcapt ={ unfold: function(sesna, n){ var div = document.getElementById("pictcapt_mn_"+sesna+"_"+n); div.style.display = (div.style.display=="block")?"none":"block"; }, chose: function(sesna, n, opt, src){ var hd, div, imsel; // alert("va bien") hd = document.getElementById("pictcapt_hd_"+sesna+"_"+n); hd.value = opt; imsel = document.getElementById("pictcapt_sel_"+sesna+"_"+n); imsel.src = src; div = document.getElementById("pictcapt_mn_"+sesna+"_"+n); div.style.display = "none"; }, adjust: function(ifr){ var alto = ifr.contentWindow.document.body.scrollHeight; ifr.height = alto; } }