Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Paste the following code under <body>:
- <!-- PROFILE BOX BY @BORNTOBEWILDCODES -->
- {block:ifDisplayProfileBox}
- <div class="open-button">{text:Profile button title} <span class="sf sf-more-o"></span></div>
- <div id="profile-box">
- <div class="profile">
- <div class="close-button">CLOSE <span class="sf sf-cross-o"></span></div>
- {block:ifDisplayProfileInfo}
- <div class="profile-info">
- <div class="profile-avatar"><img src="{PortraitURL-128}"></div>
- {text:Profile info text 1}<br>
- {text:Profile info text 2}<br>
- {text:Profile info text 3}
- </div>
- <!-- End profile-info -->
- {/block:ifDisplayProfileInfo}
- {block:ifDisplayProfileDescription}
- <div class="profile-description">
- {text:Profile description}
- </div>
- <!-- End profile-description -->
- {/block:ifDisplayProfileDescription}
- {block:ifDisplayProfileLinks}
- <div class="profile-links">
- <div class="plink1"><a href="https://"> 01 </a> <span class="ptooltip">{text:Profile link 1}</span></div>
- <div class="plink2"><a href="https://"> 02 </a> <span class="ptooltip">{text:Profile link 2}</span></div>
- <div class="plink3"><a href="https://"> 03 </a> <span class="ptooltip">{text:Profile link 3}</span></div>
- <div class="plink4"><a href="https://"> 04 </a> <span class="ptooltip">{text:Profile link 4}</span></div>
- <div class="plink5"><a href="https://"> 05 </a> <span class="ptooltip">{text:Profile link 5}</span></div>
- <div class="plink6"><a href="https://"> 06 </a> <span class="ptooltip">{text:Profile link 6}</span></div>
- </div>
- <!-- End profile-links -->
- {/block:ifDisplayProfileLinks}
- {block:ifDisplayProfileProgress}
- <div class="profile-progress">
- <div class="progbar">
- <div class="label"> {text:Bar 1 label} </div>
- <div class="bar"><div class="bar1"> {text:Bar 1 progress} </div></div>
- </div>
- <!-- End progrbar-->
- <div class="progbar">
- <div class="label"> {text:Bar 2 label}</div>
- <div class="bar"><div class="bar2"> {text:Bar 2 progress} </div></div>
- </div>
- <!-- End progrbar-->
- <div class="progbar">
- <div class="label"> {text:Bar 3 label}</div>
- <div class="bar"><div class="bar3"> {text:Bar 3 progress} </div></div>
- </div>
- <!-- End progrbar-->
- <div class="progbar">
- <div class="label"> {text:Bar 4 label}</div>
- <div class="bar"><div class="bar4"> {text:Bar 4 progress} </div></div>
- </div>
- <!-- End progrbar-->
- <div class="progbar">
- <div class="label"> {text:Bar 5 label}</div>
- <div class="bar"><div class="bar5"> {text:Bar 5 progress} </div></div>
- </div>
- <!-- End progrbar-->
- </div>
- <!-- End progress -->
- {/block:ifDisplayProfileProgress}
- {block:ifDisplayProfileIcons}
- <div class="profile-icons">
- <div class="icon1"><a href="https://" Title="Google Plus"><span class="sf sf-google-plus"></span></a></div>
- <div class="icon2"><a href="https://" Title="Facebook"><span class="sf sf-facebook"></span></a></div>
- <div class="icon3"><a href="https://" Title="Pinterest"><span class="sf sf-pinterest"></span></a></div>
- <div class="icon4"><a href="https://" Title="Twitter"><span class="sf sf-twitter"></span></a></div>
- <div class="icon5"><a href="https://" Title="YouTube"><span class="sf sf-youtube"></span></a></div>
- </div>
- <!-- End profile-icons -->
- {/block:ifDisplayProfileIcons}
- {block:ifDisplayProfileDescription}
- <div class="profile-stats">
- {text:Profile stats}
- </div>
- <!-- End profile-description -->
- {/block:ifDisplayProfileDescription}
- </div>
- <!-- End profile -->
- </div>
- <!-- End profile-box -->
- {/block:ifDisplayProfileBox}
- <!--Jquery-->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script>
- $(document).ready(function(){
- $(".open-button").click(function(){
- $(".open-button").css({color:'{color:Profile link hover}'});
- });
- $(".open-button").click(function(){
- $(".open-button span").css({color:'{color:Profile link hover}'});
- });
- $(".open-button").click(function(){
- $("#profile-box").toggle(0);
- });
- $(".close-button").click(function(){
- $("#profile-box").toggle(0);
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement