There are situations, when you do not want to have scroll bars inside a TextArea. Main reason not to have scroll bars inside TextArea is to make your pages more mobile-friendly. For example on iPhone Safari scroll bar inside TextArea will not even show up. Another reason not to have scroll bars is to improve page readability. When you have lots of TextArea(s) on a page, it is much faster to review the information without scrolling inside each individual TextArea. Here is a solution that would allow you to set TextArea height exactly to the amount of information in it and grow its height as needed with user input. Your can use…
WordPress Error 500 – Internal server error on Empty Comment
Problem – Embarrassing Error 500 I am running latest Word Press 3.0.1 on IIS 7.0. If visitor tries to leave an empty comment or forgets to enter name or email, an ugly 500 – Internal server error will appear on the screen. This is extremely embarrassing for the host and for the site. I approximately know that I have three ways to approach this problem: – Disable error 500 on IIS side to allow WordPress to handle it; – Lower level of error generated in WordPress code (IIS will not catch it then) or – Write a local JavaScript to prevent user from posting with empty fields. Solution – One click in…
Read more »