<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>دسترسی سریع</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
fieldset,img {
border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:normal;
}
ol,ul {
list-style:none;
}
caption,th {
text-align:left;
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:normal;
}
q:before,q:after {
content:'';
}
abbr,acronym { border:0;}
a:link, a:visited {
color: #3381d6;
-webkit-transition: color .7s ease;
-moz-transition: color .7s ease;
-o-transition: color .7s ease;
-ms-transition: color .7s ease;
transition: color .7s ease;
}
a:hover, a:active, a:focus {
color: #e06c1f;
}
.container {
width: 90%;
max-width: 900px;
margin: 0 auto;
position: relative;
padding: 70px 10px 0 10px;
}
.toc-holder {
width: 18%;
min-width: 360px;
}
.toc-holder a:link, .toc-holder a:visited {
text-decoration: none;
-webkit-transition: all .7s ease;
-moz-transition: all .7s ease;
-o-transition: all .7s ease;
-ms-transition: all .7s ease;
transition: all .7s ease;
}
.toc-holder li li a:link,.toc-holder li li a:visited {
padding-left: 50px;
}
.toc-holder li a:hover {
background: #666; /* اینو تغییر می تونی بدی */
border-left: solid 5px transparent;
}
.toc-holder {
position: fixed;
margin-top: -70px;
}
.toc-link:link,.toc-link:visited {
color: white;
position: relative;
display: block;
z-index: 20;
height: 40px;
line-height: 40px;
padding-left: 10px;
width: 100%;
background: #06F; /* اینو تغییر می تونی بدی */
}
.toc-link:hover {
background: #09F; /* اینو تغییر می تونی بدی */
}
.toc-link span {
font-size: 16px;
margin-right: 5px;
display: inline-block;
-webkit-transition: -webkit-transform .4s ease;
-moz-transition: -moz-transform .4s ease;
-o-transition: -o-transform .4s ease;
-ms-transition: -ms-transform .4s ease;
transition: transform .4s ease;
}
.toc-link span.rotate {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-o-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.toc {
position: absolute;
z-index: 10;
width: 103%;
background: #0CF; /* اینو تغییر می تونی بدی */
padding: 40px 0 20px 0;
}
.toc-h1,.toc-h1 ul {
list-style: none;
margin: 0;
padding: 0;
}
.toc-h1 a:link,.toc-h1 a:visited {
color: white;
padding: 5px 20px 5px 30px;
display: block;
}
.closed {
display: none;
}
h1 {
font-family: Georgia, sans-serif;
font-size: 2.3em;
font-style: italic;
margin: 0 0 40px 0;
text-shadow: rgba(0, 0, 0, 0.2) 2px 2px 5px;
}
footer {
padding-bottom: 30px;
}
p {
margin-bottom: 30px;
}
.p1 {
color: darkgreen;
}
h2 {
font-family: Arial, Helvetica, sans-serif;
font-size: 30px;
font-weight: bold;
}
.top-link:link,.top-link:visited {
display: block;
text-decoration: none;
position: fixed;
bottom: 0;
right: 2%;
color: white;
background: red;
padding: 8px 16px 0 16px;
height: 30px;
font-size: 14px;
-webkit-border-radius: 10px 10px 0 0;
-moz-border-radius: 10px 10px 0 0;
border-radius: 10px 10px 0 0;
}
@media (max-width: 480px) {
.toc-holder {
left: 0;
right: 0;
}
.toc-link:link,.toc-link:visited {
width: 150%;
}
.toc {
width: 155%;
}
.top-link:link,.top-link:visited {
top: 2px;
z-index: 20;
background: none;
}
}
</style>
</head>
<body>
<div class="container">
<div id="toc-holder" class="toc-holder">
<a href="#" class="toc-link" id="toc-link"><span>▼</span> دسترسی سریع</a>
<ul id="toc" class="toc">
<li class="toc-h1"><a href="#">ابزار وب</a>
<ul class="toc-sub closed">
<li><a href="#">css</a></li>
<li><a href="#">java</a></li>
</ul>
</li>
<li class="toc-h1"><a href="#">قالب سایت</a>
<ul class="toc-sub closed">
<li><a href="#">تفریحی</a></li>
<li><a href="#">گرافیک</a></li>
</ul>
</li>
<li class="toc-h1"><a href="#section3">قالب انجمن</a>
<ul class="toc-sub closed">
<li><a href="#section3-1">رزبلاگ</a></li>
<li><a href="#section3-2">متفرقه</a></li>
</ul>
</li>
<li class="toc-h1"><a href="#section4">سرگرمی</a>
<ul class="toc-sub closed">
<li><a href="#section4-1">رمان</a></li>
<li><a href="#section4-2">اس ام اس</a></li>
</ul>
</li>
<li class="toc-h1"><a href="#section5">قوانین</a>
<ul class="toc-sub closed">
<li><a href="#section5-1">قوانین سایت</a></li>
<li><a href="#section5-2">قوانین انجمن</a></li>
</ul>
</li>
<li class="toc-h1"><a href="#section6">موضوع شما</a>
<ul class="toc-sub closed">
<li><a href="#section6-1">جزء شماره یک</a></li>
<li><a href="#section6-2">جزء شماره دوم</a></li>
</ul>
</li>
</ul>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://ali-del.rozup.ir/Documents/rb3/jquery.fixedTOC.js"></script>
<script>
// call the plugin on the "#toc" element
$('#toc').fixedTOC({
menuOpens: 'click', // or 'mouseenter'
scrollSpeed: 1000,
menuSpeed: 300,
useSubMenus: true,
resetSubMenus: true,
topLinkWorks: true
});
</script>
</body>
</html>