UNPKG

jspanel3

Version:

A jQuery Plugin to create highly configurable multifunctional floating panels

39 lines (35 loc) 1.69 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>jsPanel - a jQuery Plugin</title> <!-- loading jsPanel css --> <link rel="stylesheet" href="../source/jquery.jspanel.css"> <!-- optional: loading jQuery UI css (which theme doesn't matter regarding jsPanel) --> <link rel="stylesheet" href="../vendor/jquery-ui-1.12.1.complete/jquery-ui.min.css"> </head> <body> <!-- Your HTML goes here --> <!-- loading jQuery --> <script src="../vendor/jquery-3.2.1.min.js"></script> <!-- optional: loading jQuery UI and jQuery UI Touch Punch --> <script src="../vendor/jquery-ui-1.12.1.complete/jquery-ui.min.js"></script> <script src="../vendor/jquery.ui.touch-punch.min.js"></script> <!-- loading jsPanel javascript --> <script src="../source/jquery.jspanel-compiled.js"></script> <script> window.setTimeout(function () { $.jsPanel({ headerTitle: "Example jsPanel", theme: "rebeccapurple", content: "<h3>Lorem ipsum dolor ...</h3><p>... sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam ...</p>", callback: function () { this.content.css("padding", "15px") } }); }, 1000); </script> </body> </html>