Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to include a button in the header?


doublesam

Recommended Posts

Hi all,

 

I am customizing the header and I am having this problem.

 

I want to add 3 images, which are used as buttons in the header, with links to other parts of my website.These 3 images vary depending on the language used.

 

I managed to include the 3 images in the header, depending on the language used, with the following script:

 

<?php echo tep_image_submit('button_image_one.gif', IMAGE_BUTTON_ONE); ?>

<?php echo tep_image_submit('button_image_two.gif', IMAGE_BUTTON_TWO); ?>

<?php echo tep_image_submit('button_image_three.gif', IMAGE_BUTTON_THREE); ?>

 

But I do not know how to build the links to let?s say www.babar.com; also I would like to an ?On mouse Over, swap Image? effect, when the button is used. What would be the code?

 

Can anyone help me, taking into account that my PHP knowledge is quite poor?

 

Many thanks for help,

 

Sam :thumbsup: :thumbsup:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...