Server IP : 103.6.199.200 / Your IP : 3.149.237.231 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/tradepan/eup4u.com/wwwroot/ |
Upload File : |
<%@ page language="C#" autoeventwireup="true" inherits="MyQR, App_Web_wdd_yc8y" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <center > <div class="container"> <a tabindex="0" role="button" class="btn btn-success" data-toggle="popover" data-trigger="focus" data-placement="bottom" title="QR Code" data-url="https://www.gloomycorner.com">Popover QR Code</a> <div id="qrcode" style="display:none; width:auto; height:auto;padding:15px;"></div> </div> </center> <SCRIPT src="Member/js/jquery-3.3.1.slim.min.js" crossorigin="anonymous" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"></SCRIPT> <SCRIPT src="Member/js/bootstrap.bundle.min.js" crossorigin="anonymous" integrity="sha384-xrRywqdh3PHs8keKZN+8zzc5TX0GRTLCcmivcbNJWm2rs5C8PRhcEn3czEjhAO9o"></SCRIPT> <SCRIPT src="Member/js/qrcode.min.js" type="text/javascript"></SCRIPT> <script type="text/javascript"> var qrcode = new QRCode(document.getElementById("qrcode"), { width : 120, height : 120 }); function makeQrcode(e) { qrcode.makeCode(e.attr("data-url")); } jQuery(document).ready(function(){ jQuery("[data-toggle='popover']").popover( options={ content: jQuery("#qrcode"), html: true // important! popover html content (tag: "#qrcode") which contains an image } ); jQuery("[data-toggle='popover']").on("show.bs.popover", function(e) { makeQrcode(jQuery(this)); jQuery("#qrcode").show(); }); }); </script> </div> </form> </body> </html>