Monthly Archive
for: ‘May, 2011’

Allow iframe in WordPress Posts

If you’ve ever tried adding an iframe to your WordPress post, and then switched the TinyMCE editor to Visual mode, you’ve found that the editor strips out your iframe code. This can be annoying. Just add this snippet to the functions.php file in your theme folder to prevent TinyMCE from killing your iframe.   function [...]

Read More

Launch Fancybox automatically

Fancybox currently does not directly support a way to automatically launch. The work around I was able to get working is creating a hidden anchor tag and triggering it’s onclick event. Make sure your call to trigger the onclick event is included after the jquery and fancybox js files are included. The code I used [...]

Read More

Decode HTML entities with jQuery

Decoding HTML entities can be so easy with jQuery. The following code snippet converts all HTML entities to their applicable characters:

Read More
 
© 2010 onYou GmbH. All Rights Reserved