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.
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.
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?
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.
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.