javascript

Collapsable Categories in Post Editor

1313379998_view_tree

So you have a ton of categories and there are a lot of child categories at the list and the post editor has become unruly? In order to change a posts’ category or to add it to a new one the list is unmanageable. Here is a jQuery code snippet that you can use to make the categories collapsable. It removes the label functionality. You cannot click on the name to select the item’s checkbox, but it now allows you to click on the name to expand the categories.

Read More

Jquery Tabs Without Jquery UI

Here is a compact way to replicate jQuery UI tabs without the UI. I wrote this code to account for unlimited tabs and to create dynamic “selected” class on the clicked item and removes the class when you click on another tab. This lends itself to easier styling of the tabs as well.

Read More

Simple Javascript Timer

1301273427_history

This is a simple way to implement a countdown timer with jQuery. I will be working on a feature that says something when the countdown is completed. But for now it just countdowns.

This is counting down until September 1, 2020

Read More

Calculating HTML Forms

This is a topic that I find people are looking to do all the time. Here is a solution that works and is fairly simple. This even takes into account that you might want to maintain the text value of the field option to place into your database.

Read More

Quick Jump Menu Without a Go Button

This is a nice and clean quick tip to create a jump menu without a “go” button. Say for example you have a list of items in a database that need to have a details page based upon their “id”. This will create a dropdown menu that is auto populated with the most up to date list.

Read More