Forum:Clock js. needs an update

As new contribute button overrides custom clocks setup via timer.js, I need to change it's placement. Can you help me? Here's link to my timer.js - w:c:pl.digimonuniverse:MediaWiki:Common.js/displayTimer.js. What I must change and where? Thanks, Final Cannon 11:16, October 10, 2011 (UTC)


 * New best place for the clock appears to be Global Navigation bar, however I cannot add it there. Any help with this? Final Cannon 16:58, October 10, 2011 (UTC)


 * Add the following to MediaWiki:Common.js on your wiki: importScriptPage('MediaWiki:Common.js/displayTimer.js', 'runescape'); This will add the timer js from Runescape Wiki to your wiki without having to copy and paste the full code there. --


 * However, I need to change timer timezone to UTC + 2 and names of the months (localization). As the code on RS wiki is shorter than original one, I don't know how to do that. When I copy or download the code, clock will display both UTC time and english names of the months. Final Cannon 08:46, October 11, 2011 (UTC)


 * In your code, replace this:

 var timerParent = document.getElementById( 'WikiHeader' ).getElementsByTagName( 'div' )[0];
 * with this:

 var timerParent = document.getElementById( 'WikiaHeader' ).getElementByClassName( 'AccountNavigation' )[0];
 * and this:

 $('#displayTimer').css({'position': "inherit", 'right': "0px", 'top': "-28px"});
 * with this:

 $('#displayTimer').css({'position': "relative", 'right': "0px"});
 * Let me know if it shows bugs. — Sovq 10:41, October 11, 2011 (UTC)


 * It don't seem to work. Clock won't appear at all. Final Cannon 12:12, October 11, 2011 (UTC)


 * That's probably because  is a non-standard function, and should be avoided. Instead, you can use a combination of   and properties like ,  ,  , and the like.

--reset-- Unfotunately, I'm not into coding so I don't know how to write that. Final Cannon 12:45, October 11, 2011 (UTC)