Advertisement
b0rn-to-be-wild

PROFILE BOX HTML

Mar 5th, 2018
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. Paste the following code under <body>:
  2.  
  3.  
  4. <!-- PROFILE BOX BY @BORNTOBEWILDCODES -->
  5.  
  6. {block:ifDisplayProfileBox}
  7.  
  8. <div class="open-button">{text:Profile button title} <span class="sf sf-more-o"></span></div>
  9.  
  10. <div id="profile-box">
  11.  
  12. <div class="profile">
  13.  
  14. <div class="close-button">CLOSE <span class="sf sf-cross-o"></span></div>
  15.  
  16. {block:ifDisplayProfileInfo}
  17. <div class="profile-info">
  18.  
  19. <div class="profile-avatar"><img src="{PortraitURL-128}"></div>
  20.  
  21. {text:Profile info text 1}<br>
  22. {text:Profile info text 2}<br>
  23. {text:Profile info text 3}
  24.  
  25. </div>
  26. <!-- End profile-info -->
  27. {/block:ifDisplayProfileInfo}
  28.  
  29. {block:ifDisplayProfileDescription}
  30. <div class="profile-description">
  31.  
  32. {text:Profile description}
  33.  
  34. </div>
  35. <!-- End profile-description -->
  36. {/block:ifDisplayProfileDescription}
  37.  
  38. {block:ifDisplayProfileLinks}
  39. <div class="profile-links">
  40.  
  41. <div class="plink1"><a href="https://"> 01 </a> <span class="ptooltip">{text:Profile link 1}</span></div>
  42. <div class="plink2"><a href="https://"> 02 </a> <span class="ptooltip">{text:Profile link 2}</span></div>
  43. <div class="plink3"><a href="https://"> 03 </a> <span class="ptooltip">{text:Profile link 3}</span></div>
  44. <div class="plink4"><a href="https://"> 04 </a> <span class="ptooltip">{text:Profile link 4}</span></div>
  45. <div class="plink5"><a href="https://"> 05 </a> <span class="ptooltip">{text:Profile link 5}</span></div>
  46. <div class="plink6"><a href="https://"> 06 </a> <span class="ptooltip">{text:Profile link 6}</span></div>
  47.  
  48. </div>
  49. <!-- End profile-links -->
  50. {/block:ifDisplayProfileLinks}
  51.  
  52. {block:ifDisplayProfileProgress}
  53. <div class="profile-progress">
  54.  
  55. <div class="progbar">
  56. <div class="label"> {text:Bar 1 label} </div>
  57. <div class="bar"><div class="bar1"> {text:Bar 1 progress} </div></div>
  58. </div>
  59. <!-- End progrbar-->
  60.  
  61. <div class="progbar">
  62. <div class="label"> {text:Bar 2 label}</div>
  63. <div class="bar"><div class="bar2"> {text:Bar 2 progress} </div></div>
  64. </div>
  65. <!-- End progrbar-->
  66.  
  67. <div class="progbar">
  68. <div class="label"> {text:Bar 3 label}</div>
  69. <div class="bar"><div class="bar3"> {text:Bar 3 progress} </div></div>
  70. </div>
  71. <!-- End progrbar-->
  72.  
  73. <div class="progbar">
  74. <div class="label"> {text:Bar 4 label}</div>
  75. <div class="bar"><div class="bar4"> {text:Bar 4 progress} </div></div>
  76. </div>
  77. <!-- End progrbar-->
  78.  
  79. <div class="progbar">
  80. <div class="label"> {text:Bar 5 label}</div>
  81. <div class="bar"><div class="bar5"> {text:Bar 5 progress} </div></div>
  82. </div>
  83. <!-- End progrbar-->
  84.  
  85. </div>
  86. <!-- End progress -->
  87. {/block:ifDisplayProfileProgress}
  88.  
  89. {block:ifDisplayProfileIcons}
  90. <div class="profile-icons">
  91. <div class="icon1"><a href="https://" Title="Google Plus"><span class="sf sf-google-plus"></span></a></div>
  92. <div class="icon2"><a href="https://" Title="Facebook"><span class="sf sf-facebook"></span></a></div>
  93. <div class="icon3"><a href="https://" Title="Pinterest"><span class="sf sf-pinterest"></span></a></div>
  94. <div class="icon4"><a href="https://" Title="Twitter"><span class="sf sf-twitter"></span></a></div>
  95. <div class="icon5"><a href="https://" Title="YouTube"><span class="sf sf-youtube"></span></a></div>
  96. </div>
  97. <!-- End profile-icons -->
  98. {/block:ifDisplayProfileIcons}
  99.  
  100. {block:ifDisplayProfileDescription}
  101. <div class="profile-stats">
  102.  
  103. {text:Profile stats}
  104.  
  105. </div>
  106. <!-- End profile-description -->
  107. {/block:ifDisplayProfileDescription}
  108.  
  109. </div>
  110. <!-- End profile -->
  111.  
  112. </div>
  113. <!-- End profile-box -->
  114.  
  115. {/block:ifDisplayProfileBox}
  116.  
  117. <!--Jquery-->
  118.  
  119. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  120.  
  121. <script>
  122. $(document).ready(function(){
  123.  
  124. $(".open-button").click(function(){
  125. $(".open-button").css({color:'{color:Profile link hover}'});
  126. });
  127.  
  128. $(".open-button").click(function(){
  129. $(".open-button span").css({color:'{color:Profile link hover}'});
  130. });
  131.  
  132. $(".open-button").click(function(){
  133. $("#profile-box").toggle(0);
  134. });
  135.  
  136. $(".close-button").click(function(){
  137. $("#profile-box").toggle(0);
  138. });
  139.  
  140. });
  141. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement