top



When i add it and pm myself and it count as 2 pm but i got 1 pm on my inbox

here the code

Code:

$.ajax({
  url: '/privmsg?folder=inbox',
  success: function(ajax) {
    count = $('img[src="http://illiweb.com/fa/empty.gif"]', ajax).length;
 
    if (count < 1) {
      $('a.mailbox').html('Mailbox');
    }

    else {
      $('a.mailbox').html('Mailbox ('+count+')');
    }
  }
});

That from sexy drop down menu

Bump

You're using the stupid way.

Anyway, the reason is that you're using an image which is already found in the DOM. I'll let you fix it yourself...it's really simple.

I try to use an different image it doesnt show the count in my inbox

solved by gangstar on Creative Nation.
LOCKED

Gangstar15 said

First, you are linking an image, where you don't have it in the ACP - Pics Managements o.O
: http://i24.servimg.com/u/f24/14/74/84/24/aficon10.png

now its done.

Well...
Solved & Locked