Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wrap php in a box


John Doswell

Recommended Posts

Posted

hi i am trying to add a file in to my checkout payment.

untill now it works the way i want but i cant get the standard oscommer box arround that :(

my code looks like

   <!-- checkout_conditions //-->
<tr>
  <td>
          <iframe name="conditions" id="conditions" align="center" valign="top" marginwidth="0" marginheight="0"
          SRC="checkout_conditions.php"  frameborder=0 height=200 width=100% scrolling=yes>
          Sorry, you browser does not support iframes.</iframe>
     </td>
             </tr>
<!-- checkout_conditions //-->

 

i have checked the Collaborative Documentation Effort where it states the the code needs to be wraped like

 <tr>
  <td>
code
  </td>
        </tr>

 

but i dont work, can anybody help me on that please!!!???

 

john

Posted

ok, forget it...

everybody looking for a solution to include a php file via iframe in the same infobox style like all other boxes (ie. checkout_payment) try

 ? <!-- checkout_conditions //-->
? ? ?<tr class="infoBoxContents">
? ? ? ?<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
? ? ? ? ? <iframe name="conditions" id="conditions" align="center" valign="top" marginwidth="0" marginheight="0"
? ? ? ? ? SRC="checkout_conditions.php" ?frameborder=0 height=200 width=100% scrolling=yes>
? ? ? ? ? Sorry, you browser does not support iframes.</iframe>
? ? ? ? ?</td>
? ? ? ? </tr>
? ? ?</table></td>
<!-- checkout_conditions //-->

 

john

Archived

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

×
×
  • Create New...