SMF For Free Support Forum
Signup For Free Forum
July 04, 2009, 11:24:20 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]
  Print  
Author Topic: [Code] News Box Clickables  (Read 2471 times)
0 Members and 1 Guest are viewing this topic.
slayer766
SMF For Free Member
*
Offline Offline

Posts: 52

Unlike Moose, PM me for Code Support/Requests ^_^


View Profile
« on: February 01, 2008, 09:26:43 am »

Code name: An announcement box with clickable sections

Preview: http://divinityrpg.smfforfree4.com/index.php

Where it goes: Go to your Admin tab and click on Manage Styles > Edit Headers/Footers > Footers or Headers:

Quote
<script type='text/javascript'>
//Code here by slayer766
//from thecodingzone.com

News="Welcome!<br />Click on one of the clickables to reveal more information.<br />Enjoy the board!"
document.write('<div class="catbg"><img src="http://209.85.62.23/style_images/1/nav_m.gif"> <i>Clickables</i></div><div class="titlebg"><a href="javascript:Click0();"><span style="color:red">+</span></a> News Title Here1 | <a href="javascript:Click1();"><span style="color:red">+</span></a> News Title Here2  | <a href="javascript:Click2();"><span style="color:red">+</span></a> News Title Here3 </div><div class="tborder" align="center"><span id="section">'+News+'</span><br /></div><br />');

function Click0(){
document.getElementById("section").innerHTML="Text Here1<br /><div align='right'><a href='javascript:Close0();'><b>Close</b></div>"
}
function Close0(){
document.getElementById("section").innerHTML=News
}
function Click1(){
document.getElementById("section").innerHTML="Text Here2<br /><div align='right'><a href='javascript:Close1();'><b>Close</b></div>"
}
function Close1(){
document.getElementById("section").innerHTML=News
}
function Click2(){
document.getElementById("section").innerHTML="Text Here3<br /><div align='right'><a href='javascript:Close2();'><b>Close</b></div>"
}
function Close2(){
document.getElementById("section").innerHTML=News
}
</script>

You can change what's in RED. Smiley
« Last Edit: February 05, 2008, 10:52:32 am by slayer766 » Logged

Want a Shop System for your SMFForFree message board? Well then, you are in luck! I'm currently underway of creating one for the public to use for free! Stay tuned for future topics containing sneak peaks/previews!
LaundryLady
Global Moderator
*
Offline Offline

Posts: 3056


Internet Challenged


View Profile
« Reply #1 on: February 01, 2008, 09:34:33 am »

You may want to give more directions for using this code.  Some members are very new to using codes and some of us(like me) are slow learners. 

Previews if possible are great, instructions on where to change the data are really helpful. 

Good work by the way.
Logged
Celebrus
SMF For Free Hero
*
Offline Offline

Posts: 940


λ is awesome


View Profile WWW
« Reply #2 on: February 02, 2008, 03:45:24 am »

LL, Have you seen the News Box on SMC? This works similarly, you can click add links add have expandable content in them and stuff. The way SMC has a member legend there.

I think I should improve my news box(which means making it customizable) and release it lol.
Logged

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3056


Internet Challenged


View Profile
« Reply #3 on: February 02, 2008, 05:59:05 am »

Choices are always good, that way people can pick what works for them the best.
Logged
slayer766
SMF For Free Member
*
Offline Offline

Posts: 52

Unlike Moose, PM me for Code Support/Requests ^_^


View Profile
« Reply #4 on: February 05, 2008, 10:53:18 am »

Added a preview and what you can change. ^_^
Logged

Want a Shop System for your SMFForFree message board? Well then, you are in luck! I'm currently underway of creating one for the public to use for free! Stay tuned for future topics containing sneak peaks/previews!
Molly
SMF For Free Full Member
*
Offline Offline

Posts: 142



View Profile WWW
« Reply #5 on: February 05, 2008, 08:24:49 pm »

Awesome way to do the news box! way to go! Smiley
Logged

Pinceta
SMF For Free Newbie
*
Offline Offline

Posts: 8


Give to me all good codes ....


View Profile WWW
« Reply #6 on: May 13, 2008, 09:59:21 am »

pls pls pls some to help me ,,,
I wanna text in this to be in margue pls !!!
and if u can to make to be under ads
pls guys i really need this ... Cry
TNX
« Last Edit: May 13, 2008, 10:02:54 am by Pinceta » Logged

josh555
SMF For Free Full Member
*
Offline Offline

Posts: 120


View Profile WWW
« Reply #7 on: May 13, 2008, 08:58:28 pm »

well smfforfree4 is down so if you want to preview it on my site its there.

Joshstestforum.smfforfree2.com

and for marquee you use the html tags.<marquee> I think these are the correct tags.</marquee>

Logged

Life goes by so fast, you only do what you think is right.
Pinceta
SMF For Free Newbie
*
Offline Offline

Posts: 8


Give to me all good codes ....


View Profile WWW
« Reply #8 on: May 14, 2008, 05:54:04 am »

No man it's not working i check that before but it' s not working ... i think that moose need to fix this ...
Logged

LaundryLady
Global Moderator
*
Offline Offline

Posts: 3056


Internet Challenged


View Profile
« Reply #9 on: May 14, 2008, 06:36:13 am »

Post the code exactly as you put it on your forum so that Moose can see what you did.  Also post your forum URL so we can take a look at the code as it is on your forum.
Logged
WeirdoScape
SMF For Free Newbie
*
Offline Offline

Posts: 4

http://report.smfforfree2.com/index.php


View Profile
« Reply #10 on: May 14, 2008, 03:45:36 pm »

Thanks! i really like it  Wink
Logged

http://report.smfforfree2.com/index.php

Go! Or a least be happy =D


Pages: [1]
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
ServerBeach Coupon
Page created in 0.246 seconds with 17 queries.