View Single Post
  #1  
Old 12-11-2006, 09:41 AM
 
gravel gravel is offline
 

Senior Member
  
Join Date: Mar 2004
Posts: 156
 

Default Cursor starting in Search form?

When an X-Cart page is loaded, I want the cursor to automatically appear in the Search box. In search.tpl (skin1/customer/), I tried adding
tabindex="0"
or
tabindex="1"
to the text input form code, but it doesn't help.

The first "tab" I hit highlights the URL in the address bar (this is in IE7), the 2nd the Refresh button, 3rd browser Google search field, 4th-7th other browser buttons, finally the 8th tab shows a cursor in the Search field.

Many other web sites I use open a new page with the cursor in either their Login field or their Search field. Anybody solved this problem?

Thanks,
Dan
__________________
X-Cart version 4.0.17
X-Cart version 4.0.18
Web servers = Apache
OS = Linux
Reply With Quote