We just finished the updated layout programming for Sam Moore. They wanted the site to look more like the existing www.hookerfurniture.com parent site while adding updated meta data, social networking, fabrics, and product information. The site was originally in ASP/HTML and didn't match their new marketing. It's been completely redone with Coldfusion, mySQL, jQuery, and YUI grids.
Entries Tagged as 'jQuery'
Sam Moore's New Website
Posted by Jeffrey Roberson
Defaulting cursor to the first input box with jQuery
Posted by Jeffrey Roberson
Here's a short and simple javascript using Jquery to put the cursor in the first text box on a web page. I added this to one of our sites to make sure the cursor starts in the different forms / search boxes on all the pages of our site.
<script type="text/javascript"><!--
$document.ready(function()){
$("input[type='text']:first").select();
};}
// --></script>
It's using Jquery to find the FIRST : INPUT tag with a TYPE="TEXT" on the page. Then it selects it to move the cursor.
