SMF For Free Support Forum
Signup For Free Forum
September 02, 2010, 11:48:41 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1] 2
  Print  
Author Topic: [Code] News Box  (Read 4349 times)
0 Members and 1 Guest are viewing this topic.
deathwilldie
Style Designer
*
Offline Offline

Posts: 765


Give me an idea for a Stylesheet


View Profile WWW
« on: May 18, 2007, 02:43:40 pm »

Here is a preview of the news box Preview


This code goes into your headers if you want it at the top of your page or you are able to put it in the footers if you want it at the bottom of your page.

Code:
<!--News Box-->
<!--Code created by deathwilldie at http://smcodes.smfforfree3.com/index.php-->
<center><table width="50%" border="0">
<tr><th class="windowbg2">ANNOUNCEMENTS</th></tr>
<tr><td class='catbg'>
<marquee direction='up' scrollamount="1" onmouseover="this.scrollAmount='0'" onmouseout="this.scrollAmount='1'" height='50' style='text-align: center'>
<br /><br /><br />
<b>NEWS!!!</b><br />THIS CODE NOW WORKS!!!
<br /><br /><br /><br />
</marquee>
</td></tr></table></center>
<!--End-->

Things you can change - These things are what your able to change to make it say what you want it to say.
ANNOUNCEMENTS
NEWS!!!
THIS CODE NOW WORKS!!!

Just change the things that I told you can change above.  If you change anything else the code may not work properly.
« Last Edit: October 05, 2007, 10:36:16 pm by deathwilldie » Logged

ShinyhunterX
SMF For Free Newbie
*
Offline Offline

Posts: 19


View Profile
« Reply #1 on: July 17, 2007, 07:06:47 pm »

Where do you write to put it under annoncements
Logged
deathwilldie
Style Designer
*
Offline Offline

Posts: 765


Give me an idea for a Stylesheet


View Profile WWW
« Reply #2 on: July 17, 2007, 07:09:10 pm »

To put the announcements you change the part that says THIS CODE NOW WORKS!!! in the Caps.
Logged

Y4NK33F4N
SMF For Free Full Member
*
Offline Offline

Posts: 146



View Profile
« Reply #3 on: September 17, 2007, 04:33:05 pm »

How do you add more lines?
Logged

When I get older, I will be stronger,
They'll call me freedom, just like a Waving Flag,
And then it goes back, and then it goes back,
And then it goes back

~~K'naan Wavin Flag~~
Agent Moose
Moderator
*****
Offline Offline

Posts: 825


Do not PM me for Code Support or Request


View Profile
« Reply #4 on: September 20, 2007, 04:31:22 pm »

IF you find this part in the code:
Code:
<b>NEWS!!!</b><br />THIS CODE NOW WORKS!!!

Basicly, replace that line with your text. Also, some simple HTML to help ya out:

<b>YOUR TEXT HERE</b> - Makes Text Bold
<i>YOUR TEXT HERE</i> - Makes Text Italic
<u>YOUR TEXT HERE</u> - Makes Text Underlined
YOUR TEXT HERE<br>SOME MORE TEXT - Make a break in the line(Basicly, it is like your pressing Enter Key)
Logged

Check out Revolution X's Brand new Code Index!
nickrulz1
SMF For Free Hero
*
Offline Offline

Posts: 546


The Off Topics Owner


View Profile WWW
« Reply #5 on: September 21, 2007, 12:21:37 pm »

i have put the code ina dnit has put the news box n the very top i want it just about my first category.

please help me

http://fantasyforums.smfforfree3.com/
Logged

Kimmie
SMF For Free Master
*
Offline Offline

Posts: 2010


View Profile WWW
« Reply #6 on: September 21, 2007, 03:06:59 pm »

i have put the code ina dnit has put the news box n the very top i want it just about my first category.

please help me

http://fantasyforums.smfforfree3.com/

Headers are headers and you cant change where they are located. When you put something in your headers, they will always appear at the very top of your forum because thats where the headers are located. The only additional options you can do are make it appear to the left, to the right, or in the center.

If you are wanting a news box in the area above your first category, you need to use your news fader.
Logged

Agent Moose
Moderator
*****
Offline Offline

Posts: 825


Do not PM me for Code Support or Request


View Profile
« Reply #7 on: September 21, 2007, 07:38:54 pm »

You could use this.  I thought that I posted it here, but I didn't.

http://www.smfsupport.com/support/smf_for_free_codes/code_smc_news_box-t6506.0.htm
Logged

Check out Revolution X's Brand new Code Index!
x-Treme
SMF For Free Hero
*
Offline Offline

Posts: 591


formally known as Gordie!!!


View Profile WWW
« Reply #8 on: September 21, 2007, 08:19:00 pm »

Hey Agent Moose...you left the "L" off your link. Try this one:
http://www.smfsupport.com/support/smf_for_free_codes/code_smc_news_box-t6506.0.html

By the way...got a preview???
« Last Edit: September 21, 2007, 08:20:42 pm by Gordie » Logged

[JeReMy]
SMF For Free Master
*
Offline Offline

Posts: 1174


www.ourhangout.org


View Profile WWW
« Reply #9 on: November 16, 2008, 12:23:10 am »

this works pretty goos is there any way to make it fade in and out?
Logged

deathwilldie
Style Designer
*
Offline Offline

Posts: 765


Give me an idea for a Stylesheet


View Profile WWW
« Reply #10 on: November 20, 2008, 06:45:41 pm »

It can't be done with just HTML.  I would have to re-make it in javascript which I don't know javascript...  I'll just ask Moosie to make it.
« Last Edit: November 20, 2008, 06:49:11 pm by deathwilldie » Logged

[JeReMy]
SMF For Free Master
*
Offline Offline

Posts: 1174


www.ourhangout.org


View Profile WWW
« Reply #11 on: November 20, 2008, 07:11:02 pm »

ok thx death
Logged

green bloodz
SMF For Free Newbie
*
Offline Offline

Posts: 11


View Profile
« Reply #12 on: December 19, 2008, 01:27:13 pm »

Forum Url: http://runekingdom.smfforfree.com
lolage mine goes to the bottom of the page... help? Cheesy
Logged
simply sibyl
Global Moderator
*
Offline Offline

Posts: 13750



View Profile WWW
« Reply #13 on: December 19, 2008, 01:54:21 pm »

Forum Url: http://runekingdom.smfforfree.com
lolage mine goes to the bottom of the page... help? Cheesy

Read the directions again  Wink 

You put the code in your Footer - that is why it is at the bottom of your forum.
If you want it at the top put it in your Header
Logged

clairebear
SMF For Free Hero
*
Offline Offline

Posts: 845



View Profile
« Reply #14 on: July 20, 2009, 08:04:30 am »

i lurve this code!
Logged

www.teardrop.mysmf.com

A support forum for support in loss from early miscarriage to five years.


Pages: [1] 2
  Print  
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting
Page created in 0.496 seconds with 18 queries. (Pretty URLs adds 0.071s, 2q)