There seems to be a bug in the default generated Search Results page in SellerDeck 2013 (and also previous Actinic versions, incidentally) which is poor from a usability point of view. I'm surprised it hasn't been highlighted and resolved properly before now, for such an important presentation as search results.
A user arrives at your SellerDeck site and does a Quick Search on a popular search term. What happens then? On initial page rendering they're directed to a long page of search results with the most relevant links at the top. Then after a second or two when the page load has completed? The user is automatically scrolled past those most important results to the bottom of the page where the 'advanced search' term input box is focussed.
Of the eleven most recent SellerDeck 2013 Showcase Sites on offer, this happens in seven of the sites (64%). Two of the sites follow a fix suggested by Actinic in 2009 and move the search fields to the top of the page. On one of the sites, the Quick Search doesn't work at all. Only one site gets it right due to the position of the Quick Search later in the HTML code then the secondary search.
This is really what should happen:
Update for SellerDeck 2014
The actinicsearch.js script has changed so you won't find the same code block as SellerDeck 2013. In my opinion, the best way to automatically set focus on the Quick Search form input is to make these amendments to the the Standard Quick Search Bar layout:
(remove onfocus="this.value='';")
The autofocus and placeholder attributes are supported in most modern browsers other than IE9 and below.
SellerDeck 2013
The simplest solution I've found so far to always focus the Quick Search input on page load is an amendment to actinicsearch.js (DAYNO=NBLA). Line 661 of the unmodified SD2013 file, or look for:
Swap the if/else statements so this becomes:
Note that this will only work if you've retained the name="SS" and value="Quick Search" attributes in the Standard Quick Search Bar HTML layout:
The Quick Search background text will disappear immediately (onfocus="this.value='';") but you can add an HTML5 placeholder attribute value here instead to give some background text for newer browsers:
The autocomplete will still work for both search fields on the Search Results page.
A user arrives at your SellerDeck site and does a Quick Search on a popular search term. What happens then? On initial page rendering they're directed to a long page of search results with the most relevant links at the top. Then after a second or two when the page load has completed? The user is automatically scrolled past those most important results to the bottom of the page where the 'advanced search' term input box is focussed.
Of the eleven most recent SellerDeck 2013 Showcase Sites on offer, this happens in seven of the sites (64%). Two of the sites follow a fix suggested by Actinic in 2009 and move the search fields to the top of the page. On one of the sites, the Quick Search doesn't work at all. Only one site gets it right due to the position of the Quick Search later in the HTML code then the secondary search.
This is really what should happen:
- The Quick Search box is focussed on every page, ready for immediate keyboard input by the user, without having to click into the search box. Apart from the checkout fields, when the first of these should be focussed.
- After a Quick Search, the user is presented with an immediate, unobstructed, relevance-sorted list of search results, which doesn't scroll anywhere.
- After scrolling to the bottom of this list, the search can then be refined if necessary by re-searching on keywords, price, section, length, colour, carats, smell etc.
Update for SellerDeck 2014
The actinicsearch.js script has changed so you won't find the same code block as SellerDeck 2013. In my opinion, the best way to automatically set focus on the Quick Search form input is to make these amendments to the the Standard Quick Search Bar layout:
Code:
<input type="text" name="SS" size="18" value="" placeholder="Quick Search" autofocus class="quick-search-text" />
The autofocus and placeholder attributes are supported in most modern browsers other than IE9 and below.
SellerDeck 2013
The simplest solution I've found so far to always focus the Quick Search input on page load is an amendment to actinicsearch.js (DAYNO=NBLA). Line 661 of the unmodified SD2013 file, or look for:
Code:
// set focus for other than Quick Search text box // if ((document.forms[nIndex].SS.value) && (document.forms[nIndex].SS.value === 'Quick Search')) { continue; } document.forms[nIndex].SS.focus(); }
Code:
// set focus for other than Quick Search text box // if ((document.forms[nIndex].SS.value) && (document.forms[nIndex].SS.value === 'Quick Search')) { document.forms[nIndex].SS.focus(); } continue; }
Code:
<input type="text" name="SS" size="18" value="Quick Search" onfocus="this.value='';" class="quick-search-text" />
Code:
<input type="text" placeholder="your placeholder text" name="SS" size="18" value="Quick Search" onfocus="this.value='';" class="quick-search-text" />
Comment