|
#1
|
||||
|
||||
|
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 |
| Post Reply |
| Thread Tools | |
|
|