Runboard.com
You're welcome.
Welcome: You have reached Pastor Rick's Design Elements message board... Enjoy your stay and please tell others about this board...

User Quick Links:    runboard.com       Sign up (learn about it) ● Sign in (lost password?)


 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas
Posts: 550
Karma: 11 (+12/-1)
Reply ● Quote
Putting a Message at the top of the Main page only


Hello,

quote:

I don't want to put new/temporary announcements in a message or scrolling marquis that shows up on every page. Is there someway to make it so the temporary content just shows up on my main page?



Sure thing emoticon, this one was solved by Lesigner Girl by taking a trick from Alpha Centauri and doing just a little rework so they both get credit for this...


This is similar to Alpha Centauri's ]Different Backgrounds/Banners for Different Forums solution, but is specifically designed to show content on the main page (forum listing) only.

Technically, the content will be on all pages of your board, but it will be hidden everywhere except on the main page.

Custom Language Set:

In whosonline, put this:

<body id="mainpage">Who is online, last %1 minutes:

HTML Header:

<div id="welcome">Welcome message or other content here</div>

CSS:

/* HIDES WELCOME MESSAGE ON ALL PAGES */

#welcome { display: none; }

/* OVERRIDE DISPLAY:NONE ON MAIN PAGE ONLY AND MAKE IT PRETTY */
#mainpage #welcome {
  display: block;
  width: 95%;
  margin: 1em auto;
  font-weight: bold;
  font-size: 12px;
  color: #000000;
  background-color: #cccccc;
  border: 1px solid #000000;
}


Change any of the styling to fit your board.



Thanks to LeSigner Girl and Alpha Centauri for their help in giving us this awesome design element emoticon

---

Advertise Boards On TRDConceptsDE
11/3/2007, 12:55 pm Link to this post Send Email to Pastor Rick   Send PM to Pastor Rick Blog
 


Add a reply





You are not logged in (login)