migrate to new git
This commit is contained in:
62
web/App_Script/custom-scrollbar-plugin/iframe_example.html
Normal file
62
web/App_Script/custom-scrollbar-plugin/iframe_example.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>jQuery custom scrollbar demo</title>
|
||||
<!-- style for demo and examples -->
|
||||
<style>
|
||||
body{margin:0; padding:0; color:#eee; background:#222; font-family:Verdana,Geneva,sans-serif; font-size:13px; line-height:20px;}
|
||||
a:link,a:visited,a:hover{color:inherit;}
|
||||
h1{font-family:Georgia,serif; font-size:18px; font-style:italic; margin:40px; color:#26beff;}
|
||||
h2{font-family:Georgia,serif; font-size:16px; font-style:italic; color:#eee;}
|
||||
p{margin:0 0 20px 0;}
|
||||
hr{height:0; border:none; border-bottom:1px solid rgba(255,255,255,0.13); border-top:1px solid rgba(0,0,0,1); margin:9px 10px; clear:both;}
|
||||
.links{margin:10px;}
|
||||
.links a{display:inline-block; padding:3px 15px; margin:7px 10px; background:#444; text-decoration:none; -webkit-border-radius:15px; -moz-border-radius:15px; border-radius:15px;}
|
||||
.links a:hover{background:#eb3755; color:#fff;}
|
||||
.content{margin:40px; width:1040px; height:500px; overflow:auto;}
|
||||
.content p:nth-child(even){color:#999; font-family:Georgia,serif; font-size:17px; font-style:italic;}
|
||||
.content p:nth-child(3n+0){color:#c96;}
|
||||
</style>
|
||||
<!-- Custom scrollbars CSS -->
|
||||
<link href="jquery.mCustomScrollbar.css" rel="stylesheet" />
|
||||
<!-- fun stuff: styling the scrollbar to match iframe content -->
|
||||
<style>
|
||||
.mCSB_scrollTools .mCSB_draggerRail{width:6px; background:#000; -webkit-border-radius:0; -moz-border-radius:0; border-radius:0;}
|
||||
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:6px; background:#d03428; -webkit-border-radius:0; -moz-border-radius:0; border-radius:0;}
|
||||
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
|
||||
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{background:#fcea6a;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="links">
|
||||
<a href="http://manos.malihu.gr">malihu</a>
|
||||
<a href="http://manos.malihu.gr/jquery-custom-content-scroller">Plugin home</a>
|
||||
<a href="complete_examples.html">Plugin demo</a>
|
||||
</p>
|
||||
<hr />
|
||||
<h1>iframe demo</h1>
|
||||
<!-- content block -->
|
||||
<div class="content">
|
||||
<iframe src="http://slipsum.com/" scrolling="no" width="100%" height="1000" frameborder="0">
|
||||
<p>Your browser does not support iframes.</p>
|
||||
</iframe>
|
||||
</div>
|
||||
<hr />
|
||||
<p> </p>
|
||||
<!-- Google CDN jQuery with fallback to local -->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
||||
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/minified/jquery-1.9.1.min.js"%3E%3C/script%3E'))</script>
|
||||
<!-- custom scrollbars plugin -->
|
||||
<script src="jquery.mCustomScrollbar.concat.min.js"></script>
|
||||
<script>
|
||||
(function($){
|
||||
$(window).load(function(){
|
||||
$(".content").mCustomScrollbar();
|
||||
});
|
||||
})(jQuery);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user