Archive for Quick Tips

Debugging Javascript using the Browser’s Console

Avoid using alert() to debug your Javascript, and instead use the browser’s built in console. It is an unobtrusive way to view the status of variables and events throughout your code. For example: Please visit “How to debug Javascript” for more information

Read more

Generate Random 10 Digit Number in PHP

The application I’m developing requires a random 10 digit number as a bar code on season pass. A simple way to create a unique number is to use the following code: Here’s whats happening with the code: The outer portion “substr” is used to chop down the random number we create to 10 characters. You [...]

Read more

jQuery Performance and Coding Tips

This is a great article that showcases 50 jQuery Snippets to help you program scripts for your website. It covers basic jQuery functionality and methods, all the way to how to fine-tune your code for increasing website performance. 50 jQuery Snippets That Will Help You Become A Better JavaScript Developer

Read more

Convert a PNG to ICO (favicon)

A great tool for easily creating high quality favicon’s is ConvertICO.com. All you have to do is create a transparent PNG of your favicon (which is always 16 pixels by 16 pixels), then run it through the ConvertICO tool. Once you have the .ico version of your PNG, upload it to your website. On your [...]

Read more

Facebook Page Requires Login

If your company’s Facebook page is requiring users to login when viewing it, the issue is with the “Age Restriction” setting. To prevent kids from viewing age inappropriate content in groups, Facebook checks their profile whenever the “Age Restriction” setting is anything other than “Anyone”. To fix this, go into the “Edit” area of your Facebook page. [...]

Read more

Save Videos from Youtube

Looking for an easy way to save your favorite videos from Youtube? Check out www.keepvid.com. Simply paste in the URL of the video you want, and it will generate links for you to download.

Read more

Best way to hide text: Go up

With a larger monitor I’ve noticed many websites hiding text by sending it to the left or right. This works great on smaller monitors, but on higher resolution you all of a sudden see that text way off the side. Simply send the text up instead. No matter how high of a screen resolution your [...]

Read more

The Square HTML Special Character

Displaying a simple square in HTML can be done by using the code: Example: ☐

Read more

Pre-Selecting Form Elements

Checkboxes: Radio Buttons Dropdowns (<select>)

Read more

Image ALT Tags

Easily avoid one of the most common mistakes in website accessibilty and SEO optimization by including an ALT tag on all images. Read more about ALT tags.

Read more