Add a countdown to your page using jQuery Responsive Countdown

If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here.

Table of Contents

  1. Brief Description
  2. Step 1 (Download, Unzip)
  3. Step 2 (Set options)
  4. Step 3 (Import required files)
  5. Step 4 (Create HTML container)
  6. Step 5 (Create and activate countdown)
  7. Resources

Brief Description – top


jQuery Responsive Countdown is a tool that gives you the ability to create a nice looking countdown, which uses flipping animation to display remaining time to a target date. Since it is based on the canvas object it cannot run natively in older browsers like IE8. The tool uses SVG data to draw the digits and the panels, so it is scalable and looks nice on larger resolutions too. It does not use images, so it is very easy to change colors and adapt the look of it to the design of your page. The tool has a large list of options, but it can also be activated with few lines of code.

In this tutorial I will show you how to add the tool to a coming soon page.

Step 1 (Download, Unzip) – top


Download the countdown package and unzip it in a folder on your web server. Load the index page, which features the Visual Builder.

Step 2 (Set options) – top


1. Using the Visual Builder you will be able to set the colors and all other options that will make your countdown unique. The tool shows the days, hours, minutes and seconds in two types of groups. Group one is used for the most right positioned group – usually that groups is the seconds group and then for every other group (usually hours). The other group is used alternatively.

2. For each group you can set the color of the digits (digit gr1, digit gr2) which is solid color. You can also set the color of the panels. Panels can use gradient color (gradient gr1, gradient gr2), or solid color if equal values for each group are entered. The Visual Builder allows the usage of background color, which gives you idea how the countdown will look against the background of your page. Each group can be hidden and number of day digits can be set. Let us imagine that the colors from the image below (fig. 1) are used in your html page design. Using the Visual Builder (fig. 2) the colors of the countdown can changed (fig. 3, fig. 4).

colors
fig. 1
vb1
fig. 2
vb2
fig. 3
vb3
fig. 4

3. Groups can be divided not only by color, but also by space. Normally digits have a bit of space between them, but you can add more between groups (spacing). That option is a number of additional space added to the normal that exists between digits. You can further divide groups by adding a spacer (spacer). It can be circles or squares. The spacer uses the color settings of the labels. Let us use circle dividers and 3x spacing (fig. 5).

vb4
fig. 5

4. Since the countdown resizes within the space available it may become very large. You can use the (max height) option to control the maximum size of it. Labels can be hidden (show labels) and their color (labels color) and glow color (labels glow) can be set. Glow color is used to soften the look of the labels, which in some browsers look too pixelated. Glow can be turned off though using the (glow = 0) option. The labels can have long and short caption. Short caption is used when there is not enough space to show the long caption. The labels resize along with digits, but if they reach the minimum size allowed (min size) the short caption is used. Max size can also be controlled for larger resolutions. Use fonts that are web friendly. The font size is calculated based on the size of the digits. So you need to set a percentage value. The gap above the labels that separates them from the digits is again set as a percentage but this time based on the size of the labels. Let for our example use these labels: DAYS, HOURS, MINUTES, SECONDS and set 33% for font size and 0% for gap (fig. 6).

vb5
fig. 6

5. Very important option to set is the target date and time zone. Let us imagine that we are creating coming soon page that will be live on the 14th of February 2016. Setting the time zone allows people from different portions of the world to see same time remaining to your target date. You can set it to your time zone or for example to the time zone where your site will be hosted. I will set time zone 2 for this example (fig. 7)

vb6
fig. 7

Step 3 (Import required files) – top


Import these in the head section of your page.

<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script type="text/javascript" src="jquery.responsive_countdown.js"></script>

Step 4 (Create HTML container) – top


The tool needs a container to display in. For our example it can be a div element with 100% width. That means the countdown will try to cover all available browser width. Only the maximum height can prevent it from taking all available width for large resolutions. The div needs to have an id, which will be used when the tool is created. Another important setting is the relative position of the div. This is a must because the countdown creates absolutely positioned canvas elements.

<div id="first_countdown" style="position: relative; width: 100%; height: 50px;"></div>

Step 5 (Create and activate countdown) – top


The Visual Builder outputs the needed javascript code for countdown creation and activation. You need to select that text and use it (fig. 8). Note that the id of the div you created matches the one used in the selector (first_countdown). You can paste that code in the body or in the head of your page.

vb7
fig. 8
<script>
  $(function() {
    $("#first_countdown").ResponsiveCountdown({
      target_date:"2016/2/14 00:00:00",
      time_zone:2,target_future:true,
      set_id:0,pan_id:0,day_digits:3,
      fillStyleSymbol1:"rgba(255, 227, 227, 1)",
      fillStyleSymbol2:"rgba(219, 228, 255, 1)",
      fillStylesPanel_g1_1:"rgba(154, 102, 52, 1)",
      fillStylesPanel_g1_2:"rgba(186, 123, 63, 1)",
      fillStylesPanel_g2_1:"rgba(51, 103, 153, 1)",
      fillStylesPanel_g2_2:"rgba(57, 115, 171, 1)",
      text_color:"rgba(0, 0, 0, 1)",
      text_glow:"rgba(168, 162, 162, 1)",
      show_ss:true,show_mm:true,
      show_hh:true,show_dd:true,
      f_family:"Verdana",show_labels:true,
      type3d:"single",max_height:300,
      days_long:"DAYS",days_short:"dd",
      hours_long:"HOURS",hours_short:"hh",
      mins_long:"MINUTES",mins_short:"mm",
      secs_long:"SECONDS",secs_short:"ss",
      min_f_size:9,max_f_size:30,
      spacer:"circles",groups_spacing:3,text_blur:2,
      font_to_digit_ratio:0.33,labels_space:1
    });
  });
</script>

Resources – top


The countdown can be used to show elapsed time too. It also has a custom mode, where it waits for outside calls that change the states of its digits. The tool has another set of digits. Different sets can be added easily using some SVG descriptions. Full documentation is available at jQuery Responsive Countdown Documentation. The tool is available at jQuery Responsive Countdown with Visual Builder.

If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here.

This post is written by Krasimir Dimov  who loves to play with jQuery and HTML5. You can reach him by clicking here

Google Discovering Malicious Sites Daily

 

Google isn’t just the best search provider over the internet, it’s turning up to be the most protective one as well. Google is currently trying to provide users all over the world a secure portal for browsing the internet by identifying malicious websites daily.

According to Google is wants to update its security by providing its users notifications and warnings about the websites they’re about to visit and proclaim if they have any malicious content in it. Google really wants to step up its game and doing this would strengthen its reign on the search engine industry. Currently Google is at the top of its league, leaving behind search engines like Bing and Yahoo. Google has turned its resources into identifying malicious websites daily and its employees are uncovering nearly ten thousand malicious websites every day.

According to Google’s representative Niels Provos, Google is currently achieving the given task of unveiling an estimate of 9500 malicious websites every day. Not all of these websites are filled with malicious content; some are just owned by authors distributing malware whereas others are highly unsafe and created for the sole purpose of dispensing malware but Google is trying very hard to detect these false websites and its success rate is quite high with only a few numbers of negative results.

The websites that have been uncovered are quite popular, popping out in many searches content and hence Google has taken it seriously to protect its users by alerting them with warnings that range from twelve to fourteen million. The good thing about this change is that Google isn’t implementing it in its own browser but in all internet browsers available over the internet. Google Chrome, Safari, Firefox and Internet Explorer will all be compatible with Google’s new change but Google has made a little change for Chrome users, turning it into a slight competitive advantage. Chrome user’s will receive warnings and download alerts from Chrome’s in build download protection service and these warnings range up to three hundred thousand.

Although this feature hasn’t been made public to Google user’s right now but its functioning will be quite easy and user-friendly. When user’s search for something unsafe websites will be highlighted by a red warning sign that will caution internet user’s about opening the link and hence deject them from browsing such content. Google has taken a step further by providing this service to organizations and keeping them safe by issuing the free public Safe Browsing API as this will help organizations keep their personal content and employees safe from outside prowlers.

Google’s new social responsibility will benefit many users over the internet. Google is trying to instruct web creators and controllers on ways to safeguard their websites and its content. According to Google as technology changes and increases so does the risk of malware and security related problems. Hackers and malware issuers are always trying to remain a step ahead of technology and by warning users and educating those that create it will help make the internet and browsing it a safer experience.

Google should be commended for these extra activities and innovations. Although they’re doing this to make sure their search engine and services remain at the top of the lead in the industry, it’s still good to know that they’re doing something to keep internet users safe from all the malicious content available. This will benefit organizations and help make their content perfectly safe from hackers and industry prowlers.

Google’s initiation towards safe-internet browsing will only make its worth higher in the search engine market and make it an inevitable page for internet users.

This is a guest post

Author Bio: Stella Rebecca’s major effort has revolved around latest gadgets. You can contact her on Facebook .

15 Things to Look For When Buying a Tablet

A literal barrage of new model tablets has hit the market and more are coming. This overwhelming array of options doesn’t exactly help the average buyer to make the right choice. Tablets are for those who want something more than just a smart phone for their tasks, but don’t want to lug a laptop around. We’ll help you look for all the right things in a tablet to make your decision process a bit easier.
1. Display Size
The iPad, at nearly 10 inches weighing 1.6 lbs is considered bulky even with all this popularity. The Samsung Galaxy Tab and the Kindle Fire both have 7 inch screens. The tablet size you’re comfortable with depends on the size of your hands as well – if you have excessively small hands, an iPad might be difficult to manage for a long time. The bigger screen size will aid in giving a good exposure to BingoHouse.
2. Operating System
The OS must allow for multi-tasking, must not take up too much memory for internal processes and must be fast. Android, iOS and Windows 7 make for robust OS while Symbian and other OS are falling by the wayside.
3. multi-touch Interface
A multi-touch interface allows you to register more than one touch at a time. This speeds up the tablet considerably, since being able to register multiple touches requires a fast processor.
4. A Robust Library Of Applications
Check if the platform you choose provides a good set of applications for download. For example, the Google Android Marketplace has over 80,000 apps for its users, while iTunes has over three million apps for download.
5. Storage Space
If you’re one who loves to use multimedia, you need at least 16GB of space. There are the three flavors of iPad which 16, 32 and 64GB storage space. On the other hand, there’s the Dell Streak which has only 2 GB internal space but allows expansion via micro SD to 32GB.
6. Camera
If you plan to use your tablet for video conferencing and video chat, you need a camera, specifically a front-facing one. iPad 2 and the Samsung Galaxy Tab have both front and rear facing cameras, while the Kindle Fire has no camera at all.
7. Support For Adobe Flash
A number of websites still use Flash, so it’s better to get a tablet that supports Flash. Presently, Apple’s devices do not support Flash. If Flash is important to you, get an Android tablet.
8. Bundled Connectivity
Your chosen tablet should support at least Wi-Fi and Bluetooth options; great if you can get 3G and GPS support as well. For example, iPad comes in Wi-Fi only and Wi-Fi plus 3G options as well.

9. Battery Life
The iPad works for 10 to 12 hours once you’ve charged it to the max. Samsung Galaxy Tab plays video for 7 straight hours, and allows for 10 hours of non-resource intensive work. Apple and Android will be your best options for long battery life.
10. Choice of Wi-Fi Or 3G
You’ll also need to decide whether your tablet should be 3G compatible or Wi-Fi compatible, or perhaps be able to support both, like the iPad 2. The flip side is that Wi-Fi only models are less expensive, but getting both connectivity options allows for greater flexibility.
11. Choice of Open Or Closed Source Platform
The advantage of an open-sourced platform such as Android is that you can enjoy greater flexibility and personalization. You’ll also be faced with surprises and changes. If you like constancy, go for a closed-sourced platform like the iOS.
12. Keyboard Options
Check if your tablet allows you to use a wired keyboard dock or a Bluetooth wireless keyboard as the iPad does. Android tablets offer several great onscreen keyboards such as Swype. Look for a tablet that includes USB port so you can dock your tablet and use a standard USB keyboard for intense content creation.
13. Voice Command Options
Another aspect to check out for intense content generation needs is voice command. iPad does not allow this unless you jailbreak the device. However, you can download the Vlingo voice control app for Android, or use Windows 7 or 8 tablets that come with built-in voice dictation functionality.
14. Price Factor
This is probably where all the pondering stops and the actual decision takes place. iPad’s pricing begins at $499 and goes up to $829 based on the configuration. Samsung Galaxy Tab will put you back by $600, while the Kindle Fire is $200. Check out different prices and compare what you get for the price before deciding on the right tablet.
15. Platform Compatibility
If you use more than one smart device, you’ll want a more or less consistent platform experience on all of them. It doesn’t make sense to work on iOS in an iPad if your smart phone is Android. You may also want to check carrier compatibility; using multiple carriers for different devices will be expensive and impractical.
Dean has written this article for Invesp. Invesp is a conversion optimization company offering a nice collection of free landing page templates that are easy to use and highly effective.