Fifa 13 Countdown timer [not urgent at all]

View previous topic View next topic Go down

Fifa 13 Countdown timer [not urgent at all]

Post by Otacon_Alonsus on 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



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.
avatar
Otacon_Alonsus
Admin

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

View user profile

Back to top Go down

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

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

Where would this go?
avatar
Neymar
Admin

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

View user profile http://simplyt.forumotion.co.uk

Back to top Go down

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

Post by Otacon_Alonsus on 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
avatar
Otacon_Alonsus
Admin

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

View user profile

Back to top Go down

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

Post by Neymar on 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?
avatar
Neymar
Admin

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

View user profile http://simplyt.forumotion.co.uk

Back to top Go down

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

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

is there any work around to this?
avatar
Otacon_Alonsus
Admin

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

View user profile

Back to top Go down

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

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

Otacon_Alonsus wrote:is there any work around to this?

I'm not sure.
avatar
Neymar
Admin

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

View user profile http://simplyt.forumotion.co.uk

Back to top Go down

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

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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