Fifa 13 Countdown timer [not urgent at all]
2 posters
:: Welcome Part :: Test Site Talk
Page 1 of 1
Fifa 13 Countdown timer [not urgent at all]
I was juss messing about with a countdown timer and thought it would be cool to have it juss underneath the place were we gonna put the FB/youtube icons. Heres a link to check it out (it works perfectly offline)
http://www.mediafire.com/?fe4ayvc9ubx9bht
timer counts down in real time .. but the problem I am having is with the code
according to how it works... that code has to go in the html, so I have it in the widget where the html code is (in this case it would be in the top_content widget in portal). Now when saving the code the widget section will not save
as it appears but rather as the code & # 3 6 ; (without spaces) which makes the JavaScript non-functional. I have tired actually putting that small piece of code in the JavaScript section in control panel and referencing it.. but with no luck. So if anyone has a solution, that would be awesome.
By the way this is not urgent and just an extra thing I thought of.
http://www.mediafire.com/?fe4ayvc9ubx9bht
timer counts down in real time .. but the problem I am having is with the code
- Code:
<script type="text/javascript">
$(document).ready(function() {
$("#time").countdown({
date: "August 12, 2012 16:47",
onChange: function( event, timer ){
},
onComplete: function( event ){
$(this).html("Completed");
},
leadingZero: true
});
});
</script>
according to how it works... that code has to go in the html, so I have it in the widget where the html code is (in this case it would be in the top_content widget in portal). Now when saving the code the widget section will not save
- Code:
$
as it appears but rather as the code & # 3 6 ; (without spaces) which makes the JavaScript non-functional. I have tired actually putting that small piece of code in the JavaScript section in control panel and referencing it.. but with no luck. So if anyone has a solution, that would be awesome.
By the way this is not urgent and just an extra thing I thought of.
Otacon_Alonsus- Admin
- Posts : 181
Join date : 2012-04-06
Warning :
Re: Fifa 13 Countdown timer [not urgent at all]
see where there facebook/youtube icons are going to go... will go underneath that. And can be used for any other countdowns/deadlines etc in future
Otacon_Alonsus- Admin
- Posts : 181
Join date : 2012-04-06
Warning :
Re: Fifa 13 Countdown timer [not urgent at all]
I don't why it doesn't let the $
I just came across it there when I was trying something out. Is it not JQuery though?
I just came across it there when I was trying something out. Is it not JQuery though?
Re: Fifa 13 Countdown timer [not urgent at all]
is there any work around to this?
Otacon_Alonsus- Admin
- Posts : 181
Join date : 2012-04-06
Warning :
Re: Fifa 13 Countdown timer [not urgent at all]
Otacon_Alonsus wrote:is there any work around to this?
I'm not sure.
:: Welcome Part :: Test Site Talk
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|