новые иконки в OpenBoard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
OpenBoard/resources/library/applications/QR-Code.wgt/js/main.js

36 lines
666 B

//Variables de référence
/*---------------------------------*/
//Fonctions de référence
var text="https://www.amxa.ch";
$(function(){
$("#ok").click(function()
{
text=$('#qrtext').val();
$("#codediv").html("");
$("#codediv").qrcode({text: text});
$("#formdiv").addClass("hidden");
$("#display").html(text);
$("body").removeClass("grey");
$("#codediv").removeClass("hidden");
$("#textdiv").removeClass("hidden");
});
$("#codediv").click(function(){
$("#codediv").addClass("hidden");
$("#textdiv").addClass("hidden");
$("body").addClass("grey");
$("#formdiv").removeClass("hidden");
});
});