Welcome to Assassin's Creed Wiki! Log in and join the community.
User talk:Faded-Myth
"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. |
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)