Random Tagline Demonstration

This a demo page to help GiveOverGiveOver generate a random tagline for http://ironheart.wikidot.com/

Copy this code into your nav:side page and you can use it to create and display random taglines in the header section.

You may have to adjust the top and left values in the CSS module where indicated to get the tagline to line up exactly where you want it.

I have created 7 tagline pages to demonstrate how it works. If you refresh this page, the tagline should change about every minute or so.

-Ed

* [[[start | Home]]]
------
* [[size 150%]][[[Chapters]]][[/size]]
= [[[Escape From Ironheart]]]
= [[[Flight From Ironheart]]]
= [[[Return To Ironheart]]]
------
* [[size 150%]][[[Meet the Cast!]]][[/size]]
= [[[Player Registry]]]
= [[[PC Registry]]]
= [[[NPC Registry]]]
------
* [[[system:recent-changes | Recent Changes]]] 
+ Add a new tagline
[[module NewPage size="24" button="New Tagline" category="tagline" mode="save-and-refresh"]]

[!----- This has been configured in the CSS to be displayed at the upper portion of the site. -----]
[[module ListPages category="tagline" limit="1" order="random"]]
%%title%%
[[/module]]

[[module css]]
/***** HIDE DEFAULT HEADER TAGLINE *****/
#header h2 {
    display: none;
} 

/***** RANDOM TEXT *****/
#side-bar .list-pages-box{
    position: absolute;
    top: 26px;    /* tweak these to adjust position */
    left: 320px;    /* of new random tagline text */
    background: transparent;
    border-width:0px;
    z-index: 30;
    margin: 0;
    padding: 0;
}
#side-bar .list-pages-item{
    background: transparent;
    border-width: 0px;
    margin: 0;
    padding: 0;
}
#side-bar .list-pages-item p{    
    color: white;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    background:transparent;
    border-width:0px;
    width:600px;
    text-align:left;
    font-size: 150%;
    font-style: italic;
    font-weight: normal;
}
[[/module]]
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License