Global Post-2-Post Navigation Needed (3 posts)

  1. pezastic
    Posted 11 years ago #

    The solution from someone in-the-know on these forums:

    src="http://www.bbiverson.com/images/buttons/previous.jpg" alt="Read Previous Entry" align="middle" /> Previous Entry', 'no', 'no', 1, '');
    if (!((basename (__FILE__) == 'index.php') && ($_SERVER['QUERY_STRING'] ==
    ''))) {
    &nbsp; ">Latest Entry &nbsp;
    next_post('%','Next Entry<img
    src="http://www.bbiverson.com/images/buttons/next.jpg" alt="Read Next Entry"
    align="middle" />', 'no', 'no', 1, '');

    I'm grateful that people here are so helpful!

  2. chiensavant
    Posted 11 years ago #

    Just my 2 cents... I like the method, but I'd rather have images defined in the CSS.
    So basically, I would keep the same piece of code, only defining a specific class (for example : "after" and "before") instead of those links to images.
    The result is the same, I'm just a CSS freak. The only serious advantage I can think of, is that it makes your code more easy to read since it only contains the structure.
    You leave it to the CSS to manage the styling.

  3. pezastic
    Posted 11 years ago #

    I don't know anything about CSS. I really don't have the time to learn the intracacies of it. But, I would like to know how to create a class, like you suggested. That isn't too hard, is it? Not only am I interested in placing the images refs in CSS, but the text styling as well.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.