| Next Page Link on CSE Search Results | stambox | 12/13/09 4:45 AM | Hey Guys, I was wondering if there is a way to display a "Next >>" link next to the CSE page numbers, at the bottom of the search results. for example: 1 2 3 4 5 6 7 8 Next >> When clicking "Next >>" depending on your current page number it will |
| Re: Next Page Link on CSE Search Results | AdamCoppin | 7/19/10 9:30 AM | Seconded - is this possible with CSE? |
| Re: Next Page Link on CSE Search Results | omr | 7/19/10 7:45 PM | Find a line like this in your search box code: customSearchControl.draw('cse'); Above that line, add the experimental code given here: http://codepad.org/La9h46CV That should give you a "Next >>" page link. -- omr |
| Re: Next Page Link on CSE Search Results | omr | 7/27/10 8:01 PM | Here is an update to fix a bug in my previously posted code. The previous version displayed the "Next" link even on the last page of results. This corrected version does not display the "Next" link on the last page. http://codepad.org/Rs5jK7Jw -- |
| Re: Next Page Link on CSE Search Results | AdamCoppin | 8/24/10 10:13 AM | Code works great! Do you have any updates for including the previous link too, or should I take a look at further customizing your code? Thanks! |
| Re: Next Page Link on CSE Search Results | AdamCoppin | 8/24/10 11:11 AM | Actually - figured it out myself from your code! customSearchControl.setSearchCompleteCallback( this, function(control, searcher) { currentSearcher = searcher; var divs = document.getElementsByTagName('div'); var div, div2, div3; for (var i=0; div |
| Re: Next Page Link on CSE Search Results | ARFF | 8/28/11 3:21 PM | I can get the "Prev" and "Next" links to display but when these links are selected, the page loads in place and doesn't scroll to the top. Is there a way to have the page scroll to the top? |
| Re: Next Page Link on CSE Search Results | bucketofsquid | 8/30/11 8:48 AM | Too bad that Google doesn't just build this into the CSE/GSS. Most people consider this standard functionality and the lack appears more as a flaw than anything. |