PDA

View Full Version : coding help part 2


Pat Chuprina
02-02-2006, 06:52 PM
I finally figured out how to move "previous Image" and "next" to the upper navigation bar. A small move but I'm happy I did it. I just can't figure out how to make "next" and it's "|" disappear at the last post or "previous" and its "|" disappear from my first post.

I asked the question here and got a reply:
http://forum.pixelpost.org/showthread.php?t=3179

I tried numerous ways of using; <IMAGE_PREVIOUS_LINK>

The first few attempts were failures, but I finally seemed to get it working. Unfortunately it seemed "next" would never be centered in its space. Then when at the last image and "next" was not there I was left with an extra "|". Is there any way of loosing that too? Then I tried to validate it in xhtml and I got a minimum of 8 errors all of which I couldn't understand. I tried to look at some source code but they seemed different from mine. Is that proper? So I finally resorted back to the original problem, and started to seek help again.

Unfortunately I did not save any of my failed attempts. So subsequently I asked for some reference sites to do it properly.

I'll be in my studio all day tomorrow(another busy week)but I will be checking my email; hopefully I'll be able to solve this puzzle this weekend. Sorry to be a bother, and thanx for any help. But I really am finding this adventure quite exciting and I love the "brain food."

Patrick Chuprina
http://www.chuprinastudios.com/blog

Joe[y]
02-02-2006, 07:10 PM
if you want the |'s to disappear with next and that remove them from your template file and add them to your language file next to the variables that say 'next'... so for example:

change $lang_next = "Next";

to $lang_next = "Next |";

and $lang_no_next = "No Next Image";

to $lang_no_next = "";