2014-08-25, 17:28
Tutorial: No post to view |
--> Tutorials, tips and tricks <--
No post to view
No post to view
1º - Javascript
Placement: In Homepage
- Code:
[panda=js] $(function(){
var text = '<span class="punbb-avatar"><img src="http://2img.net/i/fa/invision/pp-blank-thumb.png" /></span> <span class="punbb-size"><i>No post to view</i></span>';
var noPost = $('td.tcr');
$(noPost).each(function() {
if($(this).text() == '') {
$(this).html(text);
}
else { }
});
});
2º - CSS
- Code:
[panda=css] .punbb-avatar img {
height: 40px;
width: 40px;
}
.punbb-size {
position: relative;
top: -15px;
}
3º - Preview
© PunBB Design
If you have any questions related to this topic create a topic with the following title: No post to view |