New Article and New Codestore
I put a few hours aside yesterday and knocked out a new article - Sensible Web Navigation. Hope you find it useful. If you can add to or improve the code in any way, please let me know. We can all benefit from this.
As I mentioned last week I am going to test this code out on this site, ready for a new release of the template. Why? Well, look at the "documents by area" view. This link is to the Agents section and shows 7 documents. The view shows 10 documents at a time. In theory there should be no next or previous links, but they are both there. I am ashamed at how poor this is. Both links use JavaScript and break both rules I've been talking about. No wonder this site isn't completely indexed on Google. Click on the "previous" link and you get an alert telling you there's nothing to see. Click the "next" link and you get a No Document Found message. The shame!
For a while now I've been planning a new look and code-revision for this site. Probably something similar to the look of the sample database itself. Any objections? But I don't think I can wait until then to correct this huge problem. In fact I might do it right now...
Might be nice to add the previous/next and page x of y section to the top of the results after a feedback search rather than just at the bottom...
Great work Jake, I've always thought that the way we had to do the navigation on views was dead clumsy and often had flaws. This is wicked.
J
Jake,
Your readers shouldn't have any objections at all. The things you have done for them should make them (including myself) crawl on their knees.
Keep up the splendid work. Everybody should be thankfull! Go for it!
Greetz,
Maarten Docter
www.AnnoDomino.nl (is based on your blog template btw. Thank you for that too!)