Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:t="urn:schemas-microsoft-com:time" xml:lang="en-US" lang="en-US">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" l gen true for "http://www.apple.com" r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.apple.com" r (n 0 s 0 v 0 l 0))' />
- <meta name="Author" content="Apple Inc." />
- <meta name="viewport" content="width=1024" />
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
- <title>apple counter script</title>
- <meta name="omni_page" content="iTunes - 10 Billion Song Downloads" />
- <meta name="Category" content="products,itunes" />
- <meta name="Description" content="Join the celebration as iTunes counts down to 10 billion songs downloaded. To say thanks, were giving one lucky person a $10,000 iTunes Gift Card." />
- <script src="http://images.apple.com/global/scripts/lib/prototype.js" type="text/javascript" charset="utf-8"></script>
- <script src="http://images.apple.com/global/scripts/lib/scriptaculous.js" type="text/javascript" charset="utf-8"></script>
- <script src="http://images.apple.com/global/scripts/browserdetect.js" type="text/javascript" charset="utf-8"></script>
- <script src="http://images.apple.com/global/scripts/apple_core.js" type="text/javascript" charset="utf-8"></script>
- <script src="http://images.apple.com/global/scripts/lib/event_mixins.js" type="text/javascript" charset="utf-8"></script>
- <script src="http://images.apple.com/global/scripts/swap_view.js" type="text/javascript" charset="utf-8"></script>
- <script src="http://images.apple.com/global/scripts/view_master_tracker.js" type="text/javascript" charset="utf-8"></script>
- <script type="text/javascript">
- if (typeof(tracker) == 'undefined') {
- tracker = false;
- }
- Event.onDOMReady(function() {
- if (!tracker) {
- tracker = new AC.ViewMaster.Tracker('click');
- }
- });
- </script>
- <script src="http://images.apple.com/global/scripts/downloadcounter.js" type="text/javascript" charset="utf-8"></script>
- <script type="text/javascript">
- var downloadCounter = /*new DownloadCounter('http://www.apple.com/autopush/us/itunes/includes/countdown.inc')*/
- new DownloadCounter('/Users/mvid/Desktop/countdown.inc'),
- pageSwap, content,
- maxCount = 9999999990,
- setup = function()
- {
- var currentCount = downloadCounter.currentCount();
- if (currentCount >= maxCount)
- {
- downloadCounter.stop();
- }
- downloadCounter.setElement($('counter'));
- };
- downloadCounter.setMaxCount(maxCount);
- downloadCounter.setDigitImageHeight(103);
- downloadCounter.setDelegate(
- {
- counterDidReachValue: function(downloadCounter, currentCount)
- {
- if (currentCount >= maxCount) {
- downloadCounter.stop();
- }
- }
- }
- );
- Event.onDOMReady(setup); //browser has interpreted and rendered page
- </script>
- <link rel="stylesheet" href="http://images.apple.com/global/styles/base.css" type="text/css" />
- <link rel="stylesheet" href="http://images.apple.com/itunes/styles/itunes.css" type="text/css" />
- <link rel="stylesheet" href="http://images.apple.com/itunes/10-billion-song-countdown/styles/countdown.css" type="text/css" />
- </head>
- <body class="itunes countdown" id="countdown">
- </div>
- <div id="main">
- <div class="maincap top"></div>
- <div id="content">
- <div id="entry">
- <div class="padder">
- <div class="hero">
- <div id="counter"></div>
- </div><!--/hero-->
- </div><!--/padder-->
- </div><!--/entry-->
- </div><!--/content-->
- <div class="maincap bottom"></div>
- </div><!--/main-->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement