Thread: button graphics
View Single Post
  #27  
Old 12-21-2007, 04:12 AM
 
retrtrtrytrutru retrtrtrytrutru is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 101
 

Default Re: button graphics

Another option you could use is to replace the graphics with the default form buttons... This way you don't have to create any new graphics and I personally feel that the default buttons are much more clear to unexperienced users.

How to do this; go to buttons\button.tpl and replace:

Code:
<table cellspacing="0" cellpadding="0" onclick="{$js_link}" class="ButtonTable"{if $title ne ''} title="{$title|escape}"{/if}> {strip} <tr> <td> <{$img_type} src="{$ImagesDir}/but1.gif" class="ButtonSide" alt="{$title|escape}" /> </td> <td class="Button"{$reading_direction_tag}> <font class="Button">{$button_title}</font> </td> <td> <img src="{$ImagesDir}/but2.gif" class="ButtonSide" alt="{$title|escape}" /> </td> </tr> {/strip} </table>
With this:

Code:
<input type="button" onclick="{$js_link}" value="{$button_title}">
__________________
www.qualitylamps.eu
X-Cart Gold 4.1.8, PHP 5.2.6, MySQL 5.0.51a, Apache 2.2.9

www.vervangjelamp.nl
X-Cart Gold 4.2.0, PHP 5.2.6, MySQL 5.0.37-standard, Apache/2

Sorry for the weird user name, I registered it by mistake
Reply With Quote