Would you like to react to this message? Create an account in a few clicks or log in to continue.

Fifa 13 Countdown timer [not urgent at all]

2 posters

Go down

Fifa 13 Countdown timer [not urgent at all] Empty Fifa 13 Countdown timer [not urgent at all]

Post by Otacon_Alonsus Thu May 24, 2012 3:30 am

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

Fifa 13 Countdown timer [not urgent at all] Timer_image

timer counts down in real time Smile.. 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
Otacon_Alonsus
Admin

Posts : 181
Join date : 2012-04-06
Warning : 100%

Back to top Go down

Fifa 13 Countdown timer [not urgent at all] Empty Re: Fifa 13 Countdown timer [not urgent at all]

Post by Neymar Fri May 25, 2012 3:56 am

Where would this go?
Neymar
Neymar
Admin

Posts : 258
Join date : 2012-04-06
Warning : 100%

https://simplyt.forumotion.co.uk

Back to top Go down

Fifa 13 Countdown timer [not urgent at all] Empty Re: Fifa 13 Countdown timer [not urgent at all]

Post by Otacon_Alonsus Fri May 25, 2012 4:37 am


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 Smile
Otacon_Alonsus
Otacon_Alonsus
Admin

Posts : 181
Join date : 2012-04-06
Warning : 100%

Back to top Go down

Fifa 13 Countdown timer [not urgent at all] Empty Re: Fifa 13 Countdown timer [not urgent at all]

Post by Neymar Sun May 27, 2012 12:01 am

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?
Neymar
Neymar
Admin

Posts : 258
Join date : 2012-04-06
Warning : 100%

https://simplyt.forumotion.co.uk

Back to top Go down

Fifa 13 Countdown timer [not urgent at all] Empty Re: Fifa 13 Countdown timer [not urgent at all]

Post by Otacon_Alonsus Sun May 27, 2012 8:32 am

is there any work around to this?
Otacon_Alonsus
Otacon_Alonsus
Admin

Posts : 181
Join date : 2012-04-06
Warning : 100%

Back to top Go down

Fifa 13 Countdown timer [not urgent at all] Empty Re: Fifa 13 Countdown timer [not urgent at all]

Post by Neymar Sun May 27, 2012 8:44 am

Otacon_Alonsus wrote:is there any work around to this?

I'm not sure.
Neymar
Neymar
Admin

Posts : 258
Join date : 2012-04-06
Warning : 100%

https://simplyt.forumotion.co.uk

Back to top Go down

Fifa 13 Countdown timer [not urgent at all] Empty Re: Fifa 13 Countdown timer [not urgent at all]

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum