vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Colour PM Link if new PMs - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Colour PM Link if new PMs (30th Dec 07 at 2:01am UTC)
Edit the CSS at the top to change the colour... Default is red! {Smile}

This will change the colour of the link: "x Private Messages" when you receive a new private message.

Global Header

Code:
 
  1. <style>
  2. a.newpm {
  3. color: #FF0000;
  4. }
  5. </style>
  6.  
  7. <script>
  8. /*Colour PM Link if new posts
  9. Created By Wrighty
  10. support.virtualforums.co.uk*/
  11.  
  12. var a = document.getElementById('user_table').getElementsByTagName('font')[1].getElementsByTagName('a')[0];
  13.  
  14. if(vf_new_pms!=0){
  15. a.className="newpm";
  16. }
  17.  
  18. </script>
 
[.tR] ookie1
Full Member
***

[Avatar]
Is it choccy?

Posts: 167
Status: Offline
Joined:  
Reputation: 3%  


pm
Re: Colour PM Link if new PMs (13th Aug 08 at 7:57am UTC)
Is it possible to make this flash?




Image

Hallelujah! 'tis done; I believe on the Son; I am saved by the blood of the Crucified One!
ashkir
Full Member
***

[Avatar]

Posts: 1,159
Status: Offline
Gender: Male
Location: Cali!
Age: 35
Joined:  
Reputation: 42%  


pmtwitterskypemsnyahoo
Re: Colour PM Link if new PMs (19th Feb 09 at 11:30pm UTC)
Woah. That is cool actually. xD.

Thanks Wrighty!
 Printable View

All times are GMT+0 :: The current time is 2:24am
Page generated in 0.4057 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums