hi i want to have the icon is connected and disconnected how this to clarify i want icon Online and Offline |
Last edited by developer.ryan on September 20th 2015, 11:46 am; edited 1 time in total
hi i want to have the icon is connected and disconnected how this to clarify i want icon Online and Offline |
jQuery(document).ready(function(){
jQuery(".postprofile dl dt img").wrap('<div class="user2"></div>');
jQuery(".user2").append(jQuery('<div></div>'));
jQuery(".online .user2 div").prepend(jQuery('<img src="IMG CODE" alt="on line!" Title="on line!" class="rec" />'));
});
.user2 {
text-align: center;
}
.user2 div{
position:relative;
top: -7px;
height:13px;
width:87px;
background: transparent url("OFFLINE IMG") no-repeat bottom center;
margin: 0 auto;
}
.rec {
position:relative;
}
.online {
background-image:none;
}
Thank you @mpelmmc It works without any problems thanks again |
developer.ryan wrote:
hi
i want to have the icon is connected and disconnected how this
to clarify
i want icon
Online and Offline
Please don't use bold or color and keep to the default text. This is reserved for the staff for moderation.developer.ryan wrote:
Thank you @mpelmmc
It works without any problems thanks again