April 20, 2024, 04:06:19 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  

Automatic Color for Stickied Topics v2

Pages: [1]   Go Down
  Print  
Author Topic: Automatic Color for Stickied Topics v2  (Read 1154 times)
0 Members and 1 Guest are viewing this topic.
Andrew
Exclusive
Exclusive
Offline Offline

Gender: Male
Posts: 539



View Profile WWW
Badges: (View All)
Combination Topic Starter Poll Voter
« on: June 13, 2009, 11:55:05 am »

It will color all the stickied topics in a board, works for all boards.

Heres an example:
Code:
<script>
var BegText = "Sticky: ";
var Color = "green";

//Created by Agent Moose (revolutionx.smfforfree3.com)
$("td.windowbg3 img[id*='stickyicon']").next().find("a").css("color",Color).end().before(BegText);
</script>

It would color all the stickied topics to green, and add the text Sticky: to the left of it. Smiley
Report Spam   Logged



Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy