Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 03-03-2009, 01:47 AM
zac's Avatar
zac Offline
pp veteran
 
Join Date: Jul 2005
Posts: 99
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'/>";
__________________
folkphotography
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 06:41 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs