<head profile="http://gmpg.org/xfn/11"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="/js/compiled/flipclock.js"></script> <link rel='stylesheet' href='/js/compiled/flipclock.css' type='text/css' media='all' /> </head>
<div class="clock"></div> <script>
var clock = $('.clock').FlipClock("[php] echo time() - $_StartingTime;[/php]"); </script>
Can someone tell me what I did wrong, or how to fix it?
btw, here is the HTML that the php page outputs:
<div class="clock"></div> <p><script language="JavaScript"> var clock = $('.clock').FlipClock("6447");</script></p>
So the php does put the time right, but even if I remove the "" around the starting time, because their sample does not have any quote marks at all, it still does this. I added the "" marks to see if it fixed it, but it did not.
I hope someone knows what is wrong. I've been working on this for like 18 hours now. I'm about to give up and just make it use text instead of this nice interface.
Thanks in advance if you can help me. :) -Richard