Archive for Quick Tips
To avoid having to change any PATH variables in your windows installation, you can run yiic.php commands by defining the exact path to your php.exe file in your PHP installation.
A simple way to adjust the position of the browser window to an element of interest is by using the jQuery animate function. Adjust the selector (#focus_element) in the following code to an element you want the screen to scroll to.
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 […]
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 […]
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. […]
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.
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 […]
Displaying a simple square in HTML can be done by using the code: Example: ☐