Welcome to Assassin's Creed Wiki! Log in and join the community.

User talk:Faded-Myth

From the Assassin's Creed Wiki
Revision as of 17:37, 21 January 2010 by imported>SilverSummoner (→‎Era.. stuff)
Jump to navigation Jump to search

"Faded-Myth! It's good you've come. We need your help!"

Welcome to the Assassin's Creed Wiki

Please enjoy your stay here and help us to improve this wiki. As starters, you can refer to this links:
The Community Portal * Assassin's Creed Wiki Administrators

Should you have more questions, don't worry! Simply ask one of our prominent users by leaving a message on their talk page.
Happy Editing! ^_^

Era.. stuff

Hi there. I just want to ask, are these all the codes needed?

function showEras(className)
{
    if(typeof(SKIP_ERAS) != 'undefined' && SKIP_ERAS)
        return;

    var titleDiv = document.getElementById(className);

    if(titleDiv == null || titleDiv == undefined)
        return;

    var cloneNode = titleDiv.cloneNode(true);
    var firstHeading = getFirstHeading();
    firstHeading.insertBefore(cloneNode, firstHeading.childNodes[0]);
    cloneNode.style.display = "block";
}

function getFirstHeading()
{
    var elements = getElementsByClass('firstHeading', document.getElementById('content'), 'h1');
    return (elements != null && elements.length > 0) ? elements[0] : null;
}

function moveRating()
{
    var elements = getElementsByClass('ratings-top', document.getElementById('content'), 'div');
    if(elements[0] == null || elements[0] == undefined)
        return;
    var cloneNode = elements[0].cloneNode(true);
    var firstHeading = getFirstHeading();
    firstHeading.insertBefore(cloneNode, firstHeading.childNodes[0]);
    cloneNode.style.display = "block";
}

- SilverSummonerTaLk 05:34, January 21, 2010 (UTC)

Apparently that's not all. There's still some function belows that needed to be copied. nevertheless, I already copied the code to the common.js. let's pray that this stuff works :D - SilverSummonerTaLk 05:51, January 21, 2010 (UTC)
Okay, continue this from the template talk page. If you really have to use IE on your workplace, I honestly feel bad for you somehow.. XD - SilverSummonerTaLk 15:37, January 21, 2010 (UTC)