2014-09-11 05:25:37 +08:00
|
|
|
<!DOCTYPE html>
|
2015-01-27 00:32:33 +08:00
|
|
|
<html>
|
2014-09-11 05:25:37 +08:00
|
|
|
<head>
|
2015-01-27 00:32:33 +08:00
|
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
2014-09-11 05:25:37 +08:00
|
|
|
<title>perfect-scrollbar example</title>
|
2015-02-13 03:56:27 +08:00
|
|
|
<link href="../dist/css/perfect-scrollbar.css" rel="stylesheet">
|
|
|
|
<script src="../dist/js/perfect-scrollbar.global.js"></script>
|
2015-01-27 00:32:33 +08:00
|
|
|
<style>
|
|
|
|
#iframe { width: 100%; min-height: 450px; border: 0; }
|
|
|
|
html { direction: rtl; }
|
|
|
|
</style>
|
2014-09-11 05:25:37 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<iframe src="iframe-content.html" id="iframe"></iframe>
|
2015-01-27 00:32:33 +08:00
|
|
|
<script>
|
|
|
|
var iframe = document.querySelector('#iframe');
|
|
|
|
iframe.onload = function () {
|
|
|
|
Ps.initialize(iframe.contentDocument.querySelector('#Default'))
|
|
|
|
};
|
|
|
|
</script>
|
2014-09-11 05:25:37 +08:00
|
|
|
</body>
|
|
|
|
</html>
|