
Check it out and let us know what you think in the comments.įor other great Cydia tweaks check out: Change Your Default Home Screen Page With DefaultSBPage, Tap To Widgets Adds Notes, Reminders And Calendar To Notification Center, and Create A Masterpiece In The Messages App With Doodle Message. I didn't find much use for it in the Notification Center, but I love having it on my lock screen.Ĭurrently, Flip Clock for Notification Center is available in the BigBoss repository for $0.99. If you can’t see the above video, please click this link.įlip Clock looks great on the lock screen, but you’ll have to purchase another tweak like LockInfo or Intelliscreen X to enable this feature. Flip Clock also has a few options to configure its style and format. Once you’ve installed this tweak, you’ll need to enable it for the Notification Center within the Settings app. In my opinion, there’s no practical use for a clock in the Notification Center, but when combined with another tweak, it becomes a nice replacement for the lock screen clock. This tweak puts a retro clock in the Notification Center. There are loads of other options and uses for the clock itself, for this tutorial we have only really scratched the surface of what is possible with the plugin.Flip Clock for Notification Center is a new Cydia tweak that adds some style to your iOS device. It really does not require an excessive break down and commentary as it fairly self explanatory basic HTML/CSS and jQuery. It is a very simple, effective html template – useful for future product launches.
Flipclock center on page code#
Here are the steps I have taken:-Saved the flipclock.js and flipclock.css files to a folder in my child theme-Added enqueue code to the functions. You can theme the entire clock with pure CSS should you wish. I'm having some difficulties getting flipclock to appear on one of my pages. Var diff = futureDate.getTime() / 1000 - currentDate.getTime() / 1000 į also comes with a deafult theme, I have included this as a separate stylesheet for the purposes of the tutorial. Calculate the difference in seconds between the future and current date Var futureDate = new Date(currentDate.getFullYear() + 1, 0, 1) In the scripts.js file I use the below code:


There is a whole load of additional options and methods you can pass into the clock. Below, as annotated in the comments we grab the current date, set our future date (for the demo purposes) then find the difference. The purpose of this clock is to countdown to a set date in the future, aka our launch date.

Next we need to initiate our clock and set any options we wish to use. The functionality is really the heart of this coming soon landing page, we have already included jQuery and the minified minified jQuery file. webkit-transition: all 0.3s ease-in-out For this we need to open our scripts.js file and initiate the clock an its options. The below CSS creates the page design, typography style, and also themes the Mailchimp code.Īt this point we have a page that is themed, but as of yet does not contain the working clock. Note: Contained within the style.css file are basic HTML resets, these are now shown herein an attempt to keep the length to a minimum. I have loaded in the separate CSS file into the header, in the style.CSS file I will add the below:
Flipclock center on page full#
Read the full tutorial: Tutorial: Create A Countdown & Signup Coming Soon Page.Īt this point, our HTML is in dire need of some visual improvements. This is a demo page for a DesignWoop tutorial.

We will let you know when we are launching.Hell we may even send you a beta invite. Have no fear, we are launching soon.We just have to dot the i's and cross the t's You will also see I have included a ‘naked’ version of the Mailchimp html form, this will also be themed in our CSS file. The div with the class dw_clock is referenced in our scripts.js file and this is where the clock will be loaded. Once our above raw html template is setup, we can add the content.īelow, you will see I have added the basic text content and classes that are ready to be themed using CSS. The scripts.js file contains the options for the actual countdown clock, I also make use of the Google font library and pull in a couple of nice fonts for the demo.ĭemo: Create A Countdown & Signup Coming Soon Page Below you can see I pull in the jQuery library, the minified file and a scripts.js file. Getting Startedįirst we want to create a simple HTML file, this will call in the required jQuery files and CSS file. You can use the plugin as a clock, timer or countdown like the demo and theme it with pure CSS. provides you with a highly customisable foundation on which you can base your clock, eliminating the need for complex rewriting of code.
