Change navigation/paging behaviour in search results pages
Just throwing in some ideas on the search result navigation.
Can't we use some filters on the search form / search result page
Reason for this is that I don't want to click the forum tab each time I navigate to a different page (that is in case there's results found in multiple sections). If you've got a large result set - which is not uncommon - it's really annoying to have to click the 'Forum' tab to get to the forum posts and find a relevant post.
So, how about adding filter options to the search box on top?
Another option is to remember the last clicked tab using a cookie like:
function setCurrent(tabstrip,tab) { createCookie(tabstrip.id,tab.id,7) }
function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; }
function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; }
Change navigation/paging behaviour in search results pages
Just throwing in some ideas on the search result navigation.
Can't we use some filters on the search form / search result page
Reason for this is that I don't want to click the forum tab each time I navigate to a different page (that is in case there's results found in multiple sections). If you've got a large result set - which is not uncommon - it's really annoying to have to click the 'Forum' tab to get to the forum posts and find a relevant post.
So, how about adding filter options to the search box on top?
Let us know your thoughts on this!
Cheers,
Dirk
I totally agree!
Another option is to remember the last clicked tab using a cookie like:
function setCurrent(tabstrip,tab) {
createCookie(tabstrip.id,tab.id,7)
}
function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
Hope this helps.
Ron
is working on a reply...