Advertise Here

Author Topic: [Code] Change "News" Text  (Read 2760 times)

0 Members and 1 Guest are viewing this topic.

Offline deathwilldie

  • Style Designer
  • *
  • Posts: 770
  • Give me an idea for a Stylesheet
    • View Profile
    • Revolution X

  • Total Badges: 28
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary Search Eighth year Anniversary Seventh year Anniversary
[Code] Change "News" Text
« on: May 14, 2007, 09:34:51 pm »
First Put this code  in your headers if you don't have it.
Code: [Select]
<script src="/jquery.js"></script>
This goes under the Footers

Code: [Select]
<script>
text="CHANGE THIS TEXT!!"
$("span.smalltext b:contains('News')").html(text)
//Created by deathwilldie at SMCodes (smcodes.smfforfree3.com)
</script>



This code changes the News text Right above the Navigation.

You will need to change the text that is in Caps.


Here is a preview of the code Link  It says Hello World right next to Welcome to SMF For Free.

Offline Kimmie

  • SMF For Free Master
  • *
  • Posts: 2010
    • View Profile
    • Kimmie's Caverns

  • Total Badges: 19
    Badges: (View All)
    Topic Starter Combination Level 4 Level 3 Level 2
Re: Change "News" Text
« Reply #1 on: May 15, 2007, 02:06:04 am »
Can we get a "preview" please?  :)

Offline deathwilldie

  • Style Designer
  • *
  • Posts: 770
  • Give me an idea for a Stylesheet
    • View Profile
    • Revolution X

  • Total Badges: 28
    Badges: (View All)
    Tenth year Anniversary Nineth year Anniversary Search Eighth year Anniversary Seventh year Anniversary
Re: Change "News" Text
« Reply #2 on: May 15, 2007, 02:37:16 pm »
Yea hold on I will get one now.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: Change "News" Text
« Reply #3 on: May 15, 2007, 02:42:37 pm »
Good code.  Your welcome for the help...lol
Check out Revolution X's Brand new Code Index!

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: [Code] Change "News" Text
« Reply #4 on: October 29, 2007, 03:23:47 pm »
Quote
Note: Remove the stars. ( * ) from the code for it to work correctly.

If you use the code tags, you won't have to put stars in there. Hopes that saves you some extra typing in the future.

Code: [Select]
[color=COLORNAME] TEXT [/color]


And I Play:  Mafia-Mandemz

Offline Josh[y]

  • SMF For Free Sr. Member
  • *
  • Posts: 478
  • <Insert whitty tagline here.>
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Change "News" Text
« Reply #5 on: January 26, 2009, 12:43:18 pm »
Will this change the news fader "News" text aswell? Or JUST the "News" text above the nav?

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
Re: [Code] Change "News" Text
« Reply #6 on: January 26, 2009, 03:25:41 pm »
Just the text above.  Also, I will edit the first post.  The code needs to be updated.
Check out Revolution X's Brand new Code Index!

 

Related Topics

  Subject / Started by Replies Last post
35 Replies
9556 Views
Last post February 02, 2010, 08:22:56 am
by Agent Moose
21 Replies
4875 Views
Last post February 20, 2009, 06:15:07 pm
by Andrew
11 Replies
5073 Views
Last post June 23, 2007, 12:35:24 am
by Agent Moose
3 Replies
3232 Views
Last post July 27, 2007, 05:10:31 pm
by doggiedoo86
3 Replies
2217 Views
Last post September 01, 2009, 12:32:55 am
by Jish