Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Template design and Front-End Code (http://www.pixelpost.org/forum/forumdisplay.php?f=20)
-   -   Showing a blank when no previous image (http://www.pixelpost.org/forum/showthread.php?t=10251)

zac 03-03-2009 01:47 AM

Showing a blank when no previous image
 
Hi ,

In my template I have replaced the next and previous images with graphic links. When on the home page the next link disappears but there is no placeholder so it shifts the nav over. I want to have a blank image fill in when there is no link. Can someone please tell me how to achieve this? Right now in my lang-english.php I have this:

Code:

$lang_previous = "<img src='./../../style_images/nav/righty.gif' alt='next image' />";
$lang_next  = "<img src='./../../style_images/nav/lefty.gif' alt='previous image'/>";
$lang_no_previous  = "<img src='./../../style_images/nav/blanknav.gif' alt='no previous image'/>";
$lang_no_next  = "<img src='./../../style_images/nav/blanknav.gif' alt='no next image'/>";



All times are GMT. The time now is 03:29 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.