The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Code this ?

3 posters

Go down

Solved Code this ?

Post by EmperorAdam December 12th 2011, 10:35 am

When You have a New Msg or any thing Normally people dont remember to see it

you possible to Add amount of msgs numbers will be Great

Want is to say this --> Messages: 27

Or This --> You have __ new messages!

Not this --> You have no new messages <= Here You can Do it

Its Possible to Be the Best Way so you can Checks pms if number take +1


Last edited by EmperorAdam on December 12th 2011, 12:18 pm; edited 1 time in total
EmperorAdam
EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Solved Re: Code this ?

Post by LGforum December 12th 2011, 10:50 am

When you have new messages it will say the number. Whats wrong with the word 'no' for zero PM's?

anyway ... on your forum this would change the word 'no' to 0.

Code:

$(function() {
 var x=$('a.mainmenu[href="/privmsg?folder=inbox"]')[0];
 x.innerHTML=x.innerHTML.replace(/no/,'0');
});
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Code this ?

Post by EmperorAdam December 12th 2011, 10:52 am

Do i put this in the css part?
EmperorAdam
EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Solved Re: Code this ?

Post by LGforum December 12th 2011, 10:59 am

No, you put CSS in the CSS part. You put THIS in Javascript management.
I'll do it for you since i'm on your board...
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Code this ?

Post by EmperorAdam December 12th 2011, 11:00 am

THANKS Smile
EmperorAdam
EmperorAdam
Forumember

Male Posts : 123
Reputation : 4
Language : English
Location : UK

http://mytube.forumotion.co.uk/

Back to top Go down

Solved Re: Code this ?

Post by Sanket December 12th 2011, 8:08 pm

Topic Solved & Locked
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum