Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

BTS Help!


saadahmed

Recommended Posts

well i am working on the information box...

and i want all the links to appear on top of this...

 

<TABLE WIDTH=115 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
 <TD>
	 <IMG SRC="images/box_01.jpg" WIDTH=21 HEIGHT=16 ALT=""></TD>
 <TD>
	 <IMG SRC="images/box_02.jpg" WIDTH=94 HEIGHT=16 ALT=""></TD>
</TR>
<TR>
 <TD COLSPAN=2>
	 <IMG SRC="images/box_03.jpg" WIDTH=115 HEIGHT=21 ALT=""></TD>
</TR>
<TR>
 <TD COLSPAN=2>
	 <IMG SRC="images/box_04.jpg" WIDTH=115 HEIGHT=23 ALT=""></TD>
</TR>
<TR>
 <TD COLSPAN=2>
	 <IMG SRC="images/box_05.jpg" WIDTH=115 HEIGHT=39 ALT=""></TD>
</TR>
<TR>
 <TD COLSPAN=2>
	 <IMG SRC="images/box_06.jpg" WIDTH=115 HEIGHT=43 ALT=""></TD>
</TR>
</TABLE>

 

That is the HTML code of the slices in photoshop.

 

Here is the original code the was in box.tpl.php

 

<?php /* infobox template  */ ?>
         <tr>
           <td>
             <table border="0" width="100%" cellspacing="0" cellpadding="0">
               <tr>
                 <td height="14" class="infoBoxHeading"><img src="images/infobox/<?php switch ($corner_left) { case 'square': echo 'corner_right_left.gif';	break; case 'rounded': echo 'corner_left.gif'; break;} ?>" border="0" alt="" width="11" height="14"></td>
                 <td width="100%" height="14" class="infoBoxHeading"><?php echo $boxHeading; ?></td>
                 <td height="14" class="infoBoxHeading" nowrap><?php echo $boxLink; ?><img src="images/<?php switch ($corner_right) { case 'square': echo 'pixel_trans.gif';	break; case 'rounded': echo 'infobox/corner_right.gif'; break;} ?>" border="0" alt="" width="11" height="14"></td>
               </tr>
             </table>
             <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
             <tr>
               <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
             <tr>
               <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
             </tr>
             <tr>
               <td class="boxText"<?php echo $boxContent_attributes; ?>><?php echo $boxContent; ?></td>
             </tr>
             <tr>
               <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
             </tr>
           </table>
           </td>
             </tr>
           </table>
           </td>
         </tr>

 

When i put that HTML code(the one on top) into the new_box.tpl.php, the the box appeared... that had the photoshop slices, but the links didnt show up inside the box. and the whole page got messed up.. Click here to see what i am talking about

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...