Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to add link to GIF at left column


cutiesweetie

Recommended Posts

Posted

Hi All,

 

i would like to add 2 gif files as below. But i have try many times to add in the codes but every time bump into error...

i want to add in the mb2u.gif (already added but donno how to add a link to it), and pbb.gif just below the mb2u.gif and create a link to it too.

 

http://img258.imageshack.us/img258/9016/ywastejc6.png

 

here is my code at column_left.php

 

<?php

/*

$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

?>

 

<tr>

<td>

<?php

echo tep_image(DIR_WS_IMAGES . 'mb2u.gif');

 

?>

 

</td>

 

</tr>

Posted
Hi All,

 

i would like to add 2 gif files as below. But i have try many times to add in the codes but every time bump into error...

i want to add in the mb2u.gif (already added but donno how to add a link to it), and pbb.gif just below the mb2u.gif and create a link to it too.

 

http://img258.imageshack.us/img258/9016/ywastejc6.png

 

here is my code at column_left.php

 

<?php

/*

$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

?>

 

<tr>

<td>

<?php

echo tep_image(DIR_WS_IMAGES . 'mb2u.gif');

 

?>

 

</td>

 

</tr>

 

hello,

why not use HTML Tags

<img src="mb2u.gif" width="" height="" border="0" alt="">

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
hello,

why not use HTML Tags

<img src="mb2u.gif" width="" height="" border="0" alt="">

 

 

hi, how to i actually use this and create a link for this .gif??

 

sorry, i am really new

Archived

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

×
×
  • Create New...