Thursday, May 19, 2005

[OT] A Next Button for Blogger

Since i started blogging with Blogger i have looked for a way to navigate with "Previous" and "Next" links on the item pages. There seems to be no built in support for this but i found the snippet below on the Blogger-Templates blog on a template named Kubrik.

Although only solving half of the problem, Previous seems to involve to much manual labour and java-scripts, I'm pretty satisfied with only the next-button.

</Blogger><div class="center">&laquo; <a href="<$BlogURL$>">Home</a><BloggerPreviousItems> | <a href="<$BlogItemPermalinkURL$>">Next</a> &raquo;</div><div style="display:none"></BloggerPreviousItems></div><Blogger>

If you want to try this on your own Blog, be warned that some browsers might render this in a way that was not your intention. A key feature is the CSS attribute "display:none". If your browser doesn't support this your post will turn out pretty ugly.

I have tested it on IE 6 and FireFox 1.0.3 and it looks alright there.

« Home | Next »

1 Comments:

Blogger gwadzilla said...

okay....
SLF, Sham69...
the Jam may not be as "hard"
but
you may like to get a sense of their refined style

"Private Hell" may hook ya
or "That's Entertainment"
or the wonderful saga "Down in the Tubestation"


if nothing else
that poster may be a sign of something

8:43 pm  

Post a Comment

Links to this post:

Create a Link

<< Home