Open a hyperlink ‘on mouse over’

Open a hyperlink ‘on mouse over’


Open a hyperlink ‘on mouse over’!

With great power comes great responsibility. If you must have a hyperlink open ‘on mouse over’, add the onmouseover HTML attribute along with the window.open JavaScript method. Code sample and demo after the jump.

continue reading JavaScript article →
PDF and Document Online Reader: Embed and View PDF’s and Documents Free

PDF and Document Online Reader: Embed and View PDF’s and Documents Free


Google’s Google Docs has a nifty iframe embed tool that allows you to embed and view documents online (pdf’s included)!

Google Docs offers an undocumented feature that lets you embed PDF files and PowerPoint presentations in a web page. The files don’t have to be uploaded to Google Docs, but they need to be available online.

Check out the code below after the jump. You simply need to supply the url of the document.

continue reading Web Development article →
How to create a ‘random posts button’ in WordPress

How to create a ‘random posts button’ in WordPress


Press a button and have WordPress serve you a random post!

The powerful & free WordPress open source blogging tool and content management system (CMS) based on PHP and MySQL, allows for various ways to output posts. One such way is by outputting a list of randomly selected posts using the MySQL RAND() function for the orderby parameter value in get_posts.

But what if you simply want to avoid displaying random posts on a page and just want to link to a random post?

Read on for a how-to after the jump.

continue reading WordPress article →
Download WordPress directly to web server using Wget

Download WordPress directly to web server using Wget


Save time by downloading and unzipping WordPress directly to your web server in less then 30 seconds using just two command lines.

You may wish to download WordPress directly to your web server using Wget (or lynx or another console-based web browser) if you want to avoid FTPing.

continue reading WordPress article →
New Haven JavaScript Meetup Lightning Talks

New Haven JavaScript Meetup Lightning Talks


This past July, I attended a JavaScript Programming meetup at the offices of this years winner of the 17th Annual Webby Awards, Digital Surgeons.

Digital Surgeons announced today that it has been named the Best Celebrity/Fan Social Campaign in the 17th Annual Webby Awards. Hailed as the “Internet’s highest honor” by The New York Times, The Webby Awards, presented by the International Academy of Digital Arts and Sciences (IADAS), is the leading international award honoring excellence on the Internet. The IADAS, which nominates and selects The Webby Awards Winners, is comprised of web industry experts, including media mogul Arianna Huffington, Skype CEO Tony Bates, Mozilla CEO and Chair Mitchell Baker, Instagram co-founder Kevin Systrom, mobile-phone inventor Martin Cooper, and StumbleUpon founder Garrett Camp.
continue reading JavaScript article →
Install multiple WordPress installations to single domain

Install multiple WordPress installations to single domain


Create multiple sites by using the multisite feature

As of WordPress 3.0 (released June 17, 2010), you now have the ability to create a network of sites by using the multisite feature. Prior versions of a single WordPress install were not capable of running multiple blogs. There was a version especially made for this, called WordPress MU, but it was more advanced than WordPress, and was intended for very large sites with lots of blogs, not just a few.

Installs of the WordPress 3.x branch and above now come with the native ability to create multiple blogs, referred to as a network of sites. This is because the codebase for WordPressMU was merged into core.

Pages: 1 2 3

continue reading WordPress article →