vForums Support Banner Image



 

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

[Avatar]

Posts: 3,269
Status: Offline
Gender: Male
Joined: 16th Dec 2007
Reputation: 16%  



Colour PM Link if new PMs (30th Dec 07 at 3:01am)
Edit the CSS at the top to change the colour... Default is red! Smiley

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>
 
Back to Top - Link to Post - Last edit: 30th Dec 07 at 6:36pm by Wrighty

Image
[.tR] ookie1
Junior Member
**

[Avatar]
New avvy!

Posts: 148
Status: Offline
Joined: 16th Jan 2008
Reputation: 3%  



Re: Colour PM Link if new PMs (13th Aug 08 at 8:57am)
Is it possible to make this flash?
Back to Top - Link to Post

Image
Now open, well sorta, so start posting.


Image

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

Printable View

All times are GMT+1 :: The current time is 11:54am
Page generated in 0.8035 seconds
with 15 Database Queries and 5 cache files
This Forum is Powered By vForums
Create a Forum for Free