vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Requesting A Code Please - View Topic (Page 2 of 2)Page: 1 2
Topic Rating: *****
Printable View
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Requesting A Code Please (18th Feb 08 at 5:01am UTC)
I'm sorry to say this but when the page reloaded yesterday change back to the default color ?

http://tropolis.virtualforums.co.uk/

Image
click here We have 15 Different Skins/Templates for your vForum
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Requesting A Code Please (18th Feb 08 at 5:06am UTC)
Oops, the word "Yesterday" isn't bolded; thought it was. {Tongue Out} Give me a second. {Smile}

EDIT: How's this:

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. /* Change "Today" and "Yesterday" Colours
  4. By Cr0w */
  5.  
  6. if(location.href.match(/\.co\.uk(\/$|\/action\/home$|\/action\/home\/$|$)/i)){
  7.  
  8.     var td = document.getElementsByTagName("td");
  9.     var lpc = document.getElementById("info_center_last_post");
  10.  
  11.     lpc.innerHTML = lpc.innerHTML.replace(/Today<\/b> at/i, '<font color="#336600">Today</font></b> at');
  12.     lpc.innerHTML = lpc.innerHTML.replace(/Yesterday at/i, '<font color="#FFCC66">Yesterday</font> at');
  13.  
  14.     for(t=0;t<td.length;t++){
  15.         if(td[t].className.match(/(window2|lastpost)/) && td[t].width == "25%" && td[t-1].width == "69%"){
  16.             td[t].innerHTML = td[t].innerHTML.replace(/Today<\/b> at/i, '<font color="#336600">Today</font></b> at');
  17.             td[t].innerHTML = td[t].innerHTML.replace(/Yesterday at/i, '<font color="#FFCC66">Yesterday</font> at');
  18.         }
  19.     }
  20.  
  21. }
  22. //-->
  23. </script>
 


{Smile}

rroll.to— Shorten a link, rickroll your friends.
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Requesting A Code Please (18th Feb 08 at 5:08am UTC)
Ok lol .

Image
click here We have 15 Different Skins/Templates for your vForum
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Requesting A Code Please (18th Feb 08 at 5:08am UTC)
 
Ok lol .


I've edited my previous post. {Smile}

rroll.to— Shorten a link, rickroll your friends.
CåñåÐå™
Full Member
***

[Avatar]

Posts: 427
Status: Offline
Gender: Male
Location: Toronto Ontario
Joined:  
Reputation: 7%  


pmwww
Re: Requesting A Code Please (18th Feb 08 at 5:14am UTC)
Cool stuff my friend its perfect thank you {Grin} .

Image
click here We have 15 Different Skins/Templates for your vForum
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Requesting A Code Please (18th Feb 08 at 5:15am UTC)
No worries. {Smile}

rroll.to— Shorten a link, rickroll your friends.
 Printable View
Page: 1 2

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