Advertisement
ShadowEA

Invision Profile

May 26th, 2014
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.34 KB | None | 0 0
  1.         <div id="perfil" style="display: none;">
  2.             <div id="user_link_menucontent" class="ipsHeaderMenu clearfix boxShadow" style="position: absolute; left: 56%; top: 12.5%; padding: 25px; background: rgba(238, 238, 238, 100); border-radius: 0px 0px 10px 10px; z-index: 9999; border: 1px solid #343434; color: rgb(34, 34, 34); display: block;">
  3.                 <a href="#" title="Your Profile" class="ipsUserPhotoLink left">
  4.                     <div id="avatar"></div>
  5.                 </a>
  6.                 <div class="left">
  7.                     <ul id="links">
  8.                         <li id="user_name" style="width: 100%;font-weight: bold;padding-bottom: 5px;">{USERNAME}</li>
  9.                         <li id="user_profile"><a href="/profile?mode=editprofile" title="">Edit Profile</a>
  10.                         </li>
  11.                         <li id="user_ucp"><a href="/profile?mode=editprofile&page_profil=preferences" title="">My Settings</a>
  12.                         </li>
  13.                         <li id="user_content"><a href="/spa/{USERNAME}" title="">My Posts</a>
  14.                         </li>
  15.                         <li id="user_content"><a href="/st/{USERNAME}" title="">My Topics</a>
  16.                         </li>
  17.                         <li id="user_content"><a href="/search?search_id=watchsearch" title="">Content to Follow</a>
  18.                         </li>
  19.                         <li id="user_pm"><a href="/profile?mode=editprofile&page_profil=friendsfoes">My Friends/Foes</a>
  20.                         </li>
  21.                     </ul>
  22.                 </div>
  23.             </div>
  24.         </div>
  25.         <script>
  26.             jQuery(document).ready(function () {
  27.                 jQuery.get('/profile?mode=editprofile&page_profil=avatars', function (data) {
  28.                    link = jQuery('.frm dl dd img', data).attr('src');
  29.                     if (link) {
  30.                         jQuery('#avatar').html('<a href="/profile?mode=editprofile&page_profil=avatars"><img src="' + link + '" alt="" /></a>');
  31.                     } else {
  32.                         jQuery('#avatar').html('');
  33.                     }
  34.                 });
  35.             });
  36.         </script>
  37.         <style>
  38.             #avatar img {
  39.                 height: 50px;
  40.                 width: 50px;
  41.                 padding: 1px;
  42.                 border: 1px solid #d5d5d5;
  43.                 background: #fff;
  44.                 -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  45.                 -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  46.                 box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  47.             }
  48.             #avatar img:hover {
  49.                 border-color: #a1a1a1;
  50.                 -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  51.                 -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  52.                 box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
  53.             }
  54.             #user_link_menucontent>div {
  55.                 margin-left: 15px;
  56.                 width: 265px;
  57.                 text-align: left;
  58.                 top: 50px;
  59.             }
  60.             #user_link_menucontent #links li {
  61.                 width: 50%;
  62.                 float: left;
  63.                 margin: 3px 0;
  64.                 text-shadow: 0px 1px 0 rgba(255, 255, 255, 1);
  65.                 white-space: nowrap;
  66.         list-style: none !important;
  67.             }
  68.         </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement