CINXE.COM
<style> body { font-family: Arial; font-size: 11px; color: #292929; margin: 0; background: #fff; /*background: #fff url("/media/img/bg8.png?173") repeat scroll 0 0;*/ /*padding: 0 0 0 100px */; } /* RIBBON & PAGE HEADING STYLES */ h1 { padding-top: 0px; font-size: 34px; color: #95B3D7; text-shadow: 15px 15px 60px #9ff; font-weight: bold; margin-top: 0; /* latest */ font-size: 34px; line-height: 1; color: #95B3D7; text-shadow: 1px 1px 3px rgba(80, 100, 150, 0.3); font-weight: normal; font-family: Tahoma; } #about { line-height: 150%; font-size: 120%; background: #fff; } #about td { /*border-top: 2px solid #D6D6D6;*/ padding-bottom: 10px; } #about h3 { font-size: 100%; margin: 0; margin-bottom: 15px; margin-top: 25px; padding: 5px 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -moz-box-shadow: 3px 3px 3px #DDDDDD; -webkit-box-shadow: 3px 3px 3px #DDDDDD; } textarea { font-size: 120%; width: 97.5%; background-color: #FFFFEE; border: 2px solid #8A7E5F; -moz-border-radius: 5px; -webkit-border-radius: 5px; font-family: inherit; line-height: 120%; padding: 5px; } input#captcha_response { font-size: 200%; padding: 8px 5px; width: 100px; background-color: #FFFFEE; border: 2px solid #8A7E5F; -moz-border-radius: 5px; -webkit-border-radius: 5px; } input[type="submit"] { height: 50px; width: 100px; } .limit { font-size: 80%; font-style: italic; color: #ccc; text-align: right; } .red { color: red; } </style> <div id="about" style="padding: 20px"> <div style="width: 95%"> <h1>Feedback</h1> <span style="width: 95%; display: inline-block; font-style: italic;"> Input from our users has already resulted in features, bug-fixes and usability improvements. <br/>Join in by contributing ideas, thoughts, bugs-reports and suggestions! </span> <br/> <br/> <form action="https://www.worldtimebuddy.com/feedback" method="post" onsubmit="return checkQs()"> <textarea id="txt" name="message" rows="10" cols="50" ></textarea><div class="limit"></div><div style="line-height: 120%"><div style="float: left; margin-bottom: 10px; margin-right: 15px;"><img alt="Captcha" src="https://www.worldtimebuddy.com/captcha/default" width="150" height="50" /></div><div style="float: left; margin-bottom: 10px; margin-right: 15px;"><input type="text" id="captcha_response" name="captcha_response" value="" /></div><div style="float: left; margin-bottom: 10px; margin-right: 15px;"><input type="submit" id="bttn-submit" value="Submit" /></div><div style="float: left; margin-bottom: 10px; margin-right: 15px; width: 100%; clear: both"> <span style="width: 100%; display: inline-block; font-style: italic;"> If you'd like to hear back from us, please <u>include your email</u> in the feedback. We don't spam. </span> </div><br style="clear:both; height:1px;" /></div></form> <script type="text/javascript" src="https://www.worldtimebuddy.com/media/js/jquery-1.4.2.min.js"></script> <script> var $limit = $('.limit'); var max = 1000; var editedTxt = $('#txt').text(); $('#txt').focus().keydown(checkLength).keyup(checkLength); function checkLength(e) { if (e.target.value.length > max) { $limit.html('The message is over the ' + max + ' character limit. Please adjust.'); $limit.addClass('red'); } else { var left = Math.min(max, max - e.target.value.length); $limit.html((max - left) + ' of ' + max); $limit.removeClass('red'); } editedTxt = e.target.value; } checkLength({ target: $('#txt')[0]}); function checkQs() { if (editedTxt.indexOf('?') < 0) return proceed(true); if (editedTxt.indexOf('@') >= 0) return proceed(true); return proceed(confirm('Looks like you have a question but may not have provided your email (if you\'d like a response). \n\nSubmit feedback as is?')); function proceed(result) { if (result) { $('#bttn-submit') .attr('value', 'Submitting...') .attr('disabled', 1) ; } return result; } } </script> </div> </div>