Event Count Time

Junior Spellweaver
Joined
Jan 25, 2012
Messages
114
Reaction score
4
Ok i have a problmes and i need help for coding master.

First i give JAVA SCRIPT !


And now i give you count setting but if demo because i don`t know how to make to show me this count time:|

HTML MODE
<html>
<body>
<style>
#events_timeid {
color: #400707;
}
#events_time li {
background-image: url("../images/bg_event_time.jpg");
border-radius: 4px 4px 4px 4px;
margin: 2px;
padding: 2px 4px;
}
#events_time li:hover {
background-image: url("../images/bg_event_time.jpg");
background-position: 4px 30px;
}
.rightfloat {
float: right;
}
#events_time span {
display: block;
font-size: 11px;
}
#news .events_time {
padding: 0 5px;
}
</style>
<script type="text/javascript">
var totalCount = 2;

function ChangeIt() {
var num = Math.ceil( Math.random() * totalCount );
document.body.background = 'template/themes/images/background/'+num+'.jpg';
document.body.style.backgroundRepeat = "no-repeat";
}
//Variabiel Event_time//
var lang=new Array("Protect Altar in Crywolf.","Will open in a minute.","Inside the Chaos Castle you fight to the death.","Will open in a minute.","Hunt Monster in Land of Trials.","Will open in a minute.","Is an attack of Red Dragon monsters.","Will open in a minute.","The City is attacked by Warrior Skeleton.", "Will open in a minute.", "Is an attack of Golden monsters.", "Will open in a minute.", "Defend the city from the invading Orcs.", "Will open in a minute.", "Hunt Rabbit Monster in Lorencia.", "Will open in a minute.", "Defend the Noria City from Boss Attack.", "Will open in a minute.", "Experience is Increased by 20x.", "Will open in a minute.", "Get more points per Level.", "Will open in a minute.", "Kill eggs and Selupan monster in Raklion.", "Will open in a minute.", "Buy Special Item.", "Will open in a minute.", "Drop for excelent item is increased by 25%.", "Will open in a minute.", "Finds Medusa and kill.", "Will open in a minute.", "Finds Hidder player and Trade him.", "Will open in a minute.", "Risk your life to Save the Archangel.", "Will open in a minute." ,"Winners will make Fenrir in Golden Fenrir.");
var serverdate=new Date("....");
</script>
<h1>Time Event's - Event Start in :</h1>
<div class="spatiu-top"></div>
<div id="events_timeid">
<ul id="events_time">
<script type="text/javascript" SRC="event_time.js"></script>
<script type="text/javascript">
MuEvents.init('HERE I NEED PUT SOMTING');
</script>

</ul>
</div>

</body>
</html>

if you know better were i mistake THX :X
 
Last edited:
Woah, woah, woah. Hooolld your horses. You cannot just dump code and have us solve it for you.

Please read the documentation for that crappy code before dumping it here.

I can't find "MuEvent".. Did you rip it off somebody's site? No, no, don't do that..

This is how you present your problem:

What do you expect the code to do, and what is it actually doing?


Just by asking yourself this question, you'll probably realize that you don't know why you expected it to work in the first place ;)
 
s-p-n i just find a help not a crapy boy ... I say i don`t know a lot of javascript :| i need one boy to help me how to make event countdown time !

If don`t know how to make please leave me and let other to reply who know how i need to make !

Thx, Respect
 
I fix my problems ! i give new time and working now !


Thx a lot

I need to create a rullz whit <?=date('j F, Y');?> :D thx a lot :P
 
Last edited:
Back