• Current date/time is Wed Mar 29, 2017 9:02 pm
  • Thông Tin BQT: 1

    You are not connected. Please login or register

    Message (Page 1 of 1)

    #1

    Eby Disagnio

    avatar
     
    WebMaster

    Posted on Thu Jun 26, 2014 1:32 pm

     



    Hapi i pare

    Administration Panel → Modules → HTML & Javascript → Javascript codes management

    Emertoje : Avatar ne Quick Reply
    Vendose : In the topics

    Code:
    jQuery(document).ready(function() {
    jQuery('#quick_reply').before('<div id="quick-avatar"></div> ');
    });
    jQuery(document).ready(function(){
      jQuery.get('/profile?mode=editprofile&page_profil=avatars', function(data) {
          link = jQuery('.frm dl dd img', data).attr('src');
          if(link){
            jQuery('#quick-avatar').html('<a href="/profile?mode=editprofile&page_profil=avatars"><img src="'+link+'" alt=""></a>');
          }else{
            jQuery('#quick-avatar').html('');
          }
      });
    });



    Hapi i dyte

    Administration Panel → Display → CSS

    Code:

    #quick-avatar {
    position: absolute;
     margin: 83px 81px;
    }
    #quick-avatar img {
    width: 80px;
    height: 80px;
    padding: 1px;
    border: 1px solid #D5D5D5;
    background: white;
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    }
    #quick-avatar img:hover {
      border-color: #A1A1A1;
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    }



    http://webmaster.albanianforum.net


    Message (Page 1 of 1)

    Permissions in this forum:
    You cannot reply to topics in this forum



    • Total Posts
    • Total Members
    • Newest Member
    • Most users ever online was 9 on Sat Jan 17, 2015 9:19 pmMost Online

    Metro Theme Board Statistics


    In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests   (See full list)