PHP Classes

File: upload/themes/bb_simple/assets/js/custom.js

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/themes/bb_simple/assets/js/custom.js   Download  
File: upload/themes/bb_simple/assets/js/custom.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 2 years ago
Size: 626 bytes
 

Contents

Class file image Download
function user_home_avatar(fullname,avatar_img) { var li=''; if(avatar_img==null) { avatar_img=''; } if(avatar_img.length < 5) { li='<span class="avartar-dymamic avartar-dymamic-'+fullname[0].toLowerCase()+'" style="">'+fullname[0].toUpperCase()+'</span>'; } else { li='<img src="'+SITE_URL+avatar_img+'" class="card-img-top" alt="'+fullname+'">'; } return li; } $("#goToTop").click(function() { $("html, body").animate({scrollTop: 0}, 1000); }); $(document).on('click','.bb_show_notifies',function(){ $('#modalNotifies').modal('show'); });