Simple Machine Codes
March 28, 2024, 11:50:14 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Move # of Users online above Users Online

Pages: [1]   Go Down
  Print  
Author Topic: Move # of Users online above Users Online  (Read 445 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: July 19, 2007, 10:02:10 am »

Ok, the name might be comfusing.  You know the (1 member 0 guests) thing?  It moves that above where it showes the names of the people online.  Makes it more like IF...

Footers.
Code:
<script>
function move_users_online(){
//Created by Agent Moose
$(function() {
online = $("a[@href*=/online/]").html();
$("<div>"+ online +"<br><hr></div>").prependTo("#stats_members");
$("a[@href*=/online/]").hide();
});}
move_users_online();
</script>

Preview = Be on Text Original
Report Spam   Logged

Share on Facebook Share on Twitter



Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy