Blog Category: Development

Noetyx: Creating a Modern Horizontal One-Pager

November 10, 2013 Case Studies, CSS, Development, jQuery, WordPress

Noetyx: Creating a Modern Horizontal One-Pager

Noetyx is a pharmaceutical company located in New Jersey run by a great team that creates innovative products and services. Noetyx was designed by a good friend while I did …

Read More

The Swell Shell: My First One-Pager

November 9, 2013 Case Studies, CSS, Development, jQuery, WordPress

The Swell Shell: My First One-Pager

A good friend of mine asked if I wanted to work with him on an upcoming project. I agreed and that project became Noetyx, but before we started work on …

Read More

Select the Child Element Inside jQuery’s $(this)

August 4, 2013 Development, HTML, jQuery

For a jQuery script, I needed to select the child element of an item. This can be accomplished using the children() method for immediate children and the find() method for …

Read More

Solution for Deprecated jQuery live() Method

July 31, 2013 Development, jQuery

In a theme I downloaded recently from ThemeForest, I received an error with the .live() method. It turns out that .live() has been deprecated since version 1.7 of jQuery but …

Read More

Using mysqli_data_seek() Function to Grab Random Row

July 31, 2013 Development, MySQL, PHP

Using mysqli_data_seek() Function to Grab Random Row

I wanted to use a set of database results twice on a page but didn’t want to run the database query again. Using the mysqli_data_seek() function, we can reset the …

Read More

Change the href Value for a Group of Links

July 31, 2013 Development, jQuery

Change the href Value for a Group of Links

For a recent project, the client asked that all contact links be set to their email address. Using the mailto: attribute, this was easily accomplished. However, the client changed their …

Read More

How to Tell if a Variable is Odd or Even

July 17, 2013 Development, HTML, PHP

How to Tell if a Variable is Odd or Even

While creating divs for a recent project, I wanted to assign a class to the even containers so they would float right. Container #1 would float left, #2 would float …

Read More

Creating a Custom Excerpt with Two Paragraphs

July 17, 2013 Development, HTML, PHP

Creating a Custom Excerpt with Two Paragraphs

For my website, I have written a lot of news articles over the years and I wanted to print out an excerpt for each one. Instead of writing an excerpt …

Read More

How to Check if a Variable Includes a Number

July 17, 2013 Development, PHP

How to Check if a Variable Includes a Number

For spam checking in an email script, I wanted to see if the name field had any numbers in it. Spammers write code that automatically fills out contact forms and …

Read More

PHP Function to Grab WordPress Theme Location

June 25, 2013 Development, HTML, PHP, WordPress

PHP Function to Grab WordPress Theme Location

Sometimes when I look at WordPress code, especially on older sites, I’ll notice the following line of code: HTML <img src=”/wp-content/themes/my-theme/images/my-image.jpg” alt=”My Image” /> There are a couple reasons to …

Read More

Let's Talk About Your New Website

View Portfolio Contact Today