statsOmeter – A jQuery odometer style Statistics Counter Plugin

statsOmeter jQuery Plugin ExampleDisplaying statistic numbers on your website has become quite popular and has been trending since mid-year of 2016. You may have seen a section on a site you scroll to with statistic information like “Projects Tackled – 347” or humorous stats like “Cups of Coffee – 2,547”. Some are static and some animated. These type of stats tend to introduce the performance and human factor of the company and lend to some good marketing points of view that align with info-graphics.

While playing around with some stats Ideas lately, I created a few different types of animated stats displays and out of the 3 I created, statsOmeter was one I wanted to share with the web development community. This little jQuery stats plugin will add an odometer type stats bar to a specific div with a specific class name. A plus to this stats counter is that you can use letter characters as well to spell words as well as adding a happy and sad face via characters ” ) ( :”. Adding letters allows you to also add humor to your stats. Very simple to use and you can change its appearance via CSS to match your website theme.

Here are some cool features about statsOmeter:

  • Supports Letter Characters as well as Numeric
  • Mobile Friendly
  • Animates when scrolled in view
  • Multiple stats support
  • Auto-centered
  • Easy to setup

statsOmeter is free to use, if you like it, please give me a like or share. Get more info and instructions on the statsOmeter page here. You can download it here as well.

BusnHours – A Business Hours Plugin for WordPress

Just about every business displays an open and close hours notice in their store front or on their website. Since this is a common task for me and many web developers to create for clients, a few years back I created a JavaScript/jQuery app that not only displayed the hours, but highlighted the current day of the week and showed an animated “open” notice appended next to that particular day based on the current time the page was visited. This gave a polished and professional look to the site and made it easier for customers to acknowledge if your business was currently open or closed.

Business Hours

Since I’ve had an increase in request over the past few years for WordPress websites, I decided it would be beneficial to create a WordPress plugin version that would not only be super easy to add to the site during development, but would allow my clients to easily change and edit their business hours through accessing its settings page.

busnHours works by retrieving your server time and with your location setting configured, displaying an accurate time that your business is opened. If a visitor to your website is viewing the business hours section of your web page minutes before your open or just before your closed, the notice will change immediately when your business hours time matches the current time your opened or closed. I refrained from using multiple Ajax calls every second to the server to constantly update the app since that can weigh in on your servers CPU or even give issues to WordPress. This gets the server time once and runs a JavaScript clock to power the notification. busnHours can be placed on any page or blog with a simple shortcode.

busnHours only supports businesses hours of operation from 6:00am to 10:00pm. Future updates will support Holidays settings and more customizations. This plugin for a limited time is available as a free download. Eventually it will only be available by either a paid one time fee or annual subscription with support and free updates. For details, info and to download, please visit the busnHours plugin page.

Cool Features

  • Non-live server polling powered by a JavaScript clock using first and only server poll to keep track of time, reduces server load
  • Animated Notice when Open
  • 6 Messages, 3 when your open, 3 when closed. Messages are when open = “Almost Open”, “Just Opened” and “Open Now” Messages when Closed = “Almost Closed”, “Just Closed” and “Closed Now”.
    These messages are shown in a frequency of 15 minutes, at 15 to prior/exact time/15 after time

Business Hours Demo Below

6
06
32
AM
44
#005a7b
  • SUN Closed
  • MON 9:00 AM - 5:00 PM
  • TUE 9:00 AM - 5:00 PM
  • WED 9:00 AM - 5:00 PM
  • THU 9:00 AM - 5:00 PM
  • FRI 9:00 AM - 5:00 PM
  • SAT Closed

Getting and setting image width with jQuery based on their original size

You may be developing a website where a gallery or portfolio application of photos that will be uploaded in various sizes. Creating responsive CSS for images we typically set a width of 100% and then add a max-width of a specific size such as 1900 pixels to allow scaling for mobile devices. However if your image is below 1900 pixels wide, lets say at 1000 pixels wide, you’ll get an upscale to 1900 pixels wide creating a non-pixel perfect blurry image. A solution if needed with jQuery is to use JavaScript’s ability to get the original images size and auto apply it to the image with a max-width of whatever that image size is. Below is an example of code on how to do so within a a container with a class name of “photos”.

HTML


jQuery

As you can see by code this will get all images within the container using jQuery’s “each” loop and apply their max-width size as an inline style on each image. Of course you’ll need your CSS setup like below as example max-width 1900 pixels. I chose this size since I only develop websites to max fit standard HD resolution. Notice its 1900 not 1920 to allow for 10 pixels of padding on left and right sides of the container(“photos”) or your body tag for mobile:

CSS

Tip
Your image will abruptly change size after loading, that’s why its best to set an opacity on them at “0” and once the page is loaded add the opacity of “1”. You can animate a fade in with jQuery or even take it a step further and add a loader per image. Typically if your building a web photo application these are things you would do.

Rosie The Riveter Free Vector Clipart Illustration in SVG Format

Rosie the Riveter

I recently helped out a friend on a project that needed a clip-art image of the iconic Rosie the Riveter. The project needed a very large version and I requested we use a illustration I would create in vector format so it could be scaled to any size without losing any detail. For those of you who don’t know who she is, Rosie was an iconic graphic created during World War 2 for the women who where working in the factories and shipyards while the men where off fighting the war. Rosie symbolizes the power of women and what they can and have done for our country. You can read more about her in this Wiki.

My Free illustration of Rosie the Riveter is available in 2 versions(original and retro) and is a free download in 4 formats(2 SVG and 2 Illustrator files) for anyone who needs to use it in their projects. You can change and edit the colors as you like. You will need a graphic program to use these if your going to print them like Illustrator. There is a free vector program called Inkscape you can get here. Or you can also use a free raster program to open the SVG files like Gimp, which you can get here. If your going to print this to silk screen for t-shirts you’ll need to properly separate the colors on layers and most likely adjust the colors in pallette.

To download and use these files, I only ask that you give me a like/tweet/google+. This may not and should not be redistributed and sold for any amount of money. This IMO should be free to use. Enjoy!

Speed is King, Introducing AMP HTML

amp example of speedAMP HTML are web pages designed to load near instantaneously. With mobile devices as the leader in internet access today, Google and many other companies have created the AMP project. Google best explains it as quote; ” For many, reading on the mobile web is a slow, clunky and frustrating experience – but it doesn’t have to be that way. The Accelerated Mobile Pages (AMP) Project is an open source initiative that embodies the vision that publishers can create mobile optimized content once and have it load instantly everywhere.”

AMP HTML is a subset of HTML for authoring content pages such as news articles, blogs and products in a way that guarantees certain baseline performance characteristics. If you’re looking to optimize your site or client’s websites for speed. AMP is the way to go. For and introduction to AMP HTML see the video below. For more details see the ampproject.org website.

Custom Christmas eCard

Custom Christmas eCard Example
This year I wanted to create a custom eCard to send to family and friends and came up with a 3D pop-up eCard design. To make it work I relied on getting parameters from the URL link I would send out. After designing and building the eCard. I realized I had quite a few to send it too and created a small app page to create the link to make it easier and thought I’d share this with everyone , so you can also use it. Check it out here, and here is the link for customizing it to send to someone: http://markhawkinsdesigns.com/3d-popup-christmas-card/ecard-someone.html. Merry Christmas! 🙂

Free Social Media Icon Pack – 14 SVG rounded hollow-cut Icons

For graphic designers and web designers, check out my updated social media icon pack. I added “Snapchat” and “Behance”. These are 14 social media icons that are round hollow-cut, meaning the silhouette of the symbol is cut out. They are SVG vector so you can use them directly in Illustrator, Photoshop, InDesign, Gimp and other graphic programs. For web designers, this is perfect for today’s web and mobile devices since they are SVG and scalable and retina ready for iPhones and Apple devices. This is free and you can download it here. If you like it, please share it and give me a like or Google+!

Social Media Icon Pack

  • Facebook
  • Github
  • Google+
  • Instagram
  • LinkedIN
  • Picasa
  • Pinterest
  • Behance
  • Snapchat
  • Twitter
  • Vimeo
  • YouTube
  • Share
  • RSS Feeds

DOWNLOAD

(** Edited to remove Dribbble icon and replace with Behance, sorry but Dribbble has a stuck-up community which cannot compare to the talent you see at Behance! )

mobiTable jQuery Plugin, now available for WordPress!

mobiTable is my first free responsive plug-in for WordPress that automatically rearranges your HTML tables into a much easier to navigate format for mobile devices. You can read more about it here on this post. mobiTable will soon be available at the WordPress Plugin Repository. Below is an example of the mobiTable WordPress plugin adjusted for Mobile.

If you like this WordPress plugin, please give me a like or share. If you have any issues or find a bug, please send me an email to support@markhawkinsdesigns.com.

mobiTable Plugin Mobile Example

ID Name Address Phone Number Email Occupation
01 John 4311 SW 21st Street, Miami Florida, 33144 305-2112 johndrocker@gmail.com Mechanic
02 Samantha 4001 NW 63rd Street, New York NY, 774232 335-6643 smainila@gmail.com Attorney
03 Fernado 6433 NW 93rd Street, Orlando Florida, 44321 325-4883 fernadoinorlando@gmail.com Police Officer
04 Bill 2022 Oakland Street, Los Angelas California, 99321 699-5532 surferbill@gmail.com Doctor
05 Mary 2311 Sunbay Ave, Carlton North Carolina, 118653 966-2211 mbellagirl@gmail.com Executive Managment
06 Maria 1123 Collins Avenue, Miami Beach, 32211 305-3476 mroscha@gmail.com Pilot

mobiTable Plugin

mobiTable Plugin HTML Table Code

mobiTable Plugin Settings

MobiTable WordPress Plugin Features:

  • Multiple table support
  • Custom Trigger Width
  • Table Theme Color Settings
  • Color Chart
  • SVG Arrow Icons

Installation and Setup

Download
Download mobiTable for WordPress Plugin here

DemoBox – a jQuery Plugin-Application for Simple Instructions

Lets face it, instructions accompanied by photos makes it easy for us all to understand how to do something. But even then, I’ve seen instructions that are cramped or cluttered and hard to follow because of the layout. Considering today we have mobile devices that most of us use to get to information, I decided to create a mobile friendly little app that uses a jQuery plugin script I wrote. This little app is small in width and showcases instructions step by step by clicking to the next step or previous step. This removes the clutter and keeps the user focused on that specific step. This is a free to use app/script and is best used for simple instructions. If you like it, please give me a like or share.

See a demo of it here | Download it here