Developing for IE, Firefox, Safari, and Chrome is a pain! But now we have mobile devices like the iPhone and iPad. This website demonstrates a nice way to handle these:
Slow Javascript in IE
Problem:
The menu on this website: http://www.sohtanaka.com/web-design/side-navigation-tooltip-popup-bubble/ ran fine in IE. It was quick and worked fine. On my website however, it ran slooow.
Solution:
Look for large images that may be loaded. IE doesn’t seem to handle them very well. The background image for my project was 1196×1150. Pretty large… Gotta adjust for the weakest browsers.
wordpress mod_rewrite exception url
Problem:
I added a wordpress blog to a website, but I still needed to get to a url that was on the same website and not part of wordpress.
Search terms:
wordpress mod_rewrite exception url
Solution Found:
http://stackoverflow.com/questions/6428448/rewriterule-exception-for-static-page-outside-wordpress
Use:
RewriteRule ^test.htm$ - [PT,L]
Custom WordPress Comments
This guy explains how to customize WordPress comments pretty well:
http://devpress.com/blog/using-the-wordpress-comment-form/
Disable HTML in Comments
You can try this plugin found on : http://www.theblog.ca/literal-comments
// This will occur when the comment is posted function plc_comment_post( $incoming_comment ) { // convert everything in a comment to display literally $incoming_comment['comment_content'] = htmlspecialchars($incoming_comment['comment_content']); // the one exception is single quotes, which cannot be #039; because WordPress marks it as spam $incoming_comment['comment_content'] = str_replace( "'", ''', $incoming_comment['comment_content'] ); return( $incoming_comment ); } // This will occur before a comment is displayed function plc_comment_display( $comment_to_display ) { // Put the single quotes back in $comment_to_display = str_replace( ''', "'", $comment_to_display ); return $comment_to_display; } add_filter( 'preprocess_comment', 'plc_comment_post', '', 1); add_filter( 'comment_text', 'plc_comment_display', '', 1); add_filter( 'comment_text_rss', 'plc_comment_display', '', 1); add_filter( 'comment_excerpt', 'plc_comment_display', '', 1);
Google Spreadsheet Adding Hyperlink
To add a hyperlink to a google spreadsheet enter the following into a cell:
=HYPERLINK(“www.mymonkeydo.com”, “My Monkey Do”)
Do not put in the “http://” part otherwise it may not work.
See the Example Spreadsheet.
IIS 7 PHP Write Permissions
Problem:
PHP is throwing errors saying it cannot find a directory when trying to upload a file. This usually means PHP does not have permissions to create or modify files in that directory.
Solution:
I’m not sure why, but adding Modify and Write permissions for COMPUTERUsers group solves the problem. Found the solution here: http://forums.iis.net/t/1153990.aspx