Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 07-31-2002 00:12:01

Guest
Guest

Cart Nested in table

Sorry to bug you all again!

I'm trying to nest the cart and function within table. When I place the code into the HTML header section, and view the store, the shopping portion displays below the main table. I've seen this done on other sites.

Is there a reference call that I place in the HTML header to let the script know that is where I want it placed?

 

#2 07-31-2002 06:28:14

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Cart Nested in table

No - you just need to open the table in the header and close it in the footer.


Nick Hendler

Offline

 

#3 08-01-2002 17:48:18

Guest
Guest

Re: Cart Nested in table

Sorry to be a pain when your tyring to get 5 out the door but,

Could you be a little more specific.

Here is the code I'm using in the head area. When viewed it basically is a bordered area all the way around and I'm trying to get the cart in the boarded area. The bottom of the table also dissapears on me.

I've tried all type of variations but I'm confused as how to close this table to make the cart show up inside the area like on this site:
http://64.70.219.195/cp/cgi-bin/cp-app. … amp;ref=98

Link to site in progress: http://www.brownieconnection.com/clickc … _pg=splash

Any help would be greatly appreciated!!!!!!!!!!!!!!!!!!!!

Here is my code:
<TABLE WIDTH="750" BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR><TD WIDTH="750"> 
<TABLE WIDTH="750" bordercolor="#294E7A" BORDER="1" CELLPADDING="0" CELLSPACING="0">  <!-- this is where the table you are talking about begins -->
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="527" HEIGHT="700" align="center">
  <TR>
    <TD ROWSPAN="3" COLSPAN="1" WIDTH="41" HEIGHT="105"> <IMG NAME="Image31" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_2x1.gif" WIDTH="41" HEIGHT="105" BORDER="0"></TD>
    <TD ROWSPAN="3" COLSPAN="2" HEIGHT="105"> <IMG NAME="Image32" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_2x2.gif" WIDTH="24" HEIGHT="105" BORDER="0"></TD>
    <TD ROWSPAN="2" COLSPAN="1" WIDTH="28" HEIGHT="15"> <IMG NAME="Image33" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_2x3.gif" WIDTH="28" HEIGHT="15" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="4" HEIGHT="3"> <IMG NAME="Image34" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_2x4.gif" WIDTH="533" HEIGHT="3" BORDER="0"></TD>
    <TD ROWSPAN="2" COLSPAN="3" HEIGHT="15"> <IMG NAME="site/Image35" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_2x5.gif" WIDTH="47" HEIGHT="15" BORDER="0"></TD>
    <TD ROWSPAN="3" COLSPAN="1" WIDTH="3" HEIGHT="105"> <IMG NAME="Image36" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_2x6.gif" WIDTH="3" HEIGHT="105" BORDER="0"></TD>
    <TD ROWSPAN="3" COLSPAN="1" WIDTH="24" HEIGHT="105"> <IMG NAME="Image37" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_2x7.gif" WIDTH="24" HEIGHT="105" BORDER="0"></TD>
    <TD WIDTH="10" HEIGHT="3"> <IMG NAME="site/blank" SRC="%%SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="1" HEIGHT="3" BORDER="0"></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="4" HEIGHT="12"> <IMG NAME="Image38" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_3x1.gif" WIDTH="533" HEIGHT="12" BORDER="0"></TD>
    <TD WIDTH="10" HEIGHT="12"> <IMG NAME="blank" SRC="%%SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="1" HEIGHT="12" BORDER="0"></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="7" HEIGHT="90" bgcolor="#FFC8D0">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="62%"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="371" height="86">
              <param name=movie value="%%SCRIPT_IMAGES_PATH%%/site/Movie2.swf">
              <param name=quality value=high><param name="LOOP" value="false">
              <embed src="%%SCRIPT_IMAGES_PATH%%/site/Movie2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="371" height="86" loop="false">
              </embed>
            </object></td>
          <td width="38%" valign="bottom" bgcolor="#FFC8D0">
            <div align="center"><img src="%%SCRIPT_IMAGES_PATH%%/site/brownietop.gif" width="117" height="86">
            </div>
          </td>
        </tr>
      </table>
    </TD>
    <TD ROWSPAN="1" COLSPAN="1" WIDTH="22" HEIGHT="90"> <IMG NAME="Image310" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_4x2.gif" WIDTH="22" HEIGHT="90" BORDER="0"></TD>
    <TD WIDTH="10" HEIGHT="90"> <IMG NAME="blank" SRC="%%SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="1" HEIGHT="90" BORDER="0"></TD>
  </TR>
  <TR>
    <TD ROWSPAN="6" COLSPAN="1" WIDTH="41" HEIGHT="560"> <IMG NAME="Image311" SRC="%%SCRIPT_IMAGES_PATH%%/site/Image3_5x1.gif" WIDTH="41" HEIGHT="560" BORDER="0"></TD>
    <TD ROWSPAN="3" COLSPAN="1" WIDTH="4" HEIGHT="466" background="%%SCRIPT_IMAGES_PATH%%/site/Image3_5x2.gif">
      <IMG NAME="Image312" WIDTH="3" HEIGHT="1" BORDER="0" SRC="%%SCRIPT_IMAGES_PATH%%/site/spacer.gif"></TD>
    <TD ROWSPAN="3" COLSPAN="3" bgcolor="#FFC8D0" HEIGHT="466" valign="top">
      <p><a href="http://www.brownieconnection.com/clickcartpro/cgi-bin/cp-app.cgi?pg=store&sub_pg=splash" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','%%SCRIPT_IMAGES_PATH%%/site/button1h.gif',1)"><br>
        <br>
        <img src="%%SCRIPT_IMAGES_PATH%%/site/button1.gif" width="136" height="40" border="0" name="Image1"><br>
        </a> </p>
      <p><a href="story.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','%%SCRIPT_IMAGES_PATH%%/site/button6h.gif',1)"><img src="%%SCRIPT_IMAGES_PATH%%/site/button6.gif" width="136" height="40" border="0" name="Image6"></a></p>
      <p><a href="service.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','%%SCRIPT_IMAGES_PATH%%/site/button7h.gif',1)"><img src="%%SCRIPT_IMAGES_PATH%%/site/button7.gif" width="136" height="40" border="0" name="Image7"><br>
        </a><a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','%%SCRIPT_IMAGES_PATH%%/site/button6h.gif',1)"><br>
        </a><a href="privacy.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','%%SCRIPT_IMAGES_PATH%%/site/button8h.gif',1)"><img src="%%SCRIPT_IMAGES_PATH%%/site/button8.gif" width="136" height="40" border="0" name="Image8"><br>
        </a></p>
      <p align="center"><a href="contact.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','%%SCRIPT_IMAGES_PATH%%/site/button10h.gif',1)"><img src="%%SCRIPT_IMAGES_PATH%%/site/button10.gif" width="136" height="40" border="0" name="Image3"></a><br>
        <br>
        <a href="http://www.brownieconnection.com/clickcartpro/cgi-bin/cp-app.cgi?pg=store&sub_pg=splash" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','%%SCRIPT_IMAGES_PATH%%/site/carth.gif',1)"><img src="%%SCRIPT_IMAGES_PATH%%/site/cart.gif" width="90" height="30" border="0" name="Image2"></a>
      </p>
      <p align="center"><a href="http://www.brownieconnection.com/clickcartpro/cgi-bin/cp-app.cgi?pg=store&sub_pg=splash" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','%%SCRIPT_IMAGES_PATH%%/site/shoppingh.gif',1)"><img src="%%SCRIPT_IMAGES_PATH%%/site/shopping.gif" width="100" height="30" border="0" name="Image4"></a><br>
        <br>
        <br>
        <br>
        <br>
        <a href="javascript:;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nose','','%%SCRIPT_IMAGES_PATH%%/site/images/noseh.gif','click','','%%SCRIPT_IMAGES_PATH%%/site/clickh.gif',1)"><img src="%%SCRIPT_IMAGES_PATH%%/site/click.gif" width="100" height="30" border="0" name="click"></a></p>
      <p align="center"> </p>
      <p align="center"><a href="http://www.brownieconnection.com/clickcartpro/cgi-bin/cp-app.cgi?pg=login"><img src="%%SCRIPT_IMAGES_PATH%%/site/login.gif" width="50" height="15" border="0"></a></p>
      </TD>
    <TD ROWSPAN="2" COLSPAN="1" WIDTH="3" HEIGHT="51" valign="top" background="%%SCRIPT_IMAGES_PATH%%
/site/Image3_7x1.gif">
      <IMG NAME="Image314" SRC="%%SCRIPT_IMAGES_PATH%%/site
/Image3_5x4.gif" WIDTH="3" HEIGHT="51" BORDER="0"></TD>
    <TD ROWSPAN="2" COLSPAN="1" WIDTH="49" HEIGHT="51" valign="top"> <IMG NAME="Image315" SRC="%%SCRIPT_IMAGES_PATH%%/site
Image3_5x5.gif" WIDTH="49" HEIGHT="51" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="4" HEIGHT="3" valign="top"> <IMG NAME="Image316" SRC="%%SCRIPT_IMAGES_PATH%%/site
Image3_5x6.gif" WIDTH="441" HEIGHT="3" BORDER="0"></TD>
    <TD ROWSPAN="3" COLSPAN="1" WIDTH="3" HEIGHT="466" background="%%SCRIPT_IMAGES_PATH%%/site
Image3_5x7.gif">
      <IMG NAME="Image317" WIDTH="3" HEIGHT="1" BORDER="0" SRC="%%SCRIPT_IMAGES_PATH%%/
site/spacer.gif"></TD>
    <TD ROWSPAN="6" COLSPAN="1" WIDTH="24" HEIGHT="560"> <IMG NAME="Image318" SRC="%%SCRIPT_IMAGES_PATH%%/site
Image3_5x8.gif" WIDTH="24" HEIGHT="560" BORDER="0"></TD>
    <TD WIDTH="10" HEIGHT="3"> <IMG NAME="blank" SRC="%%SCRIPT_IMAGES_PATH%%/site
blank.gif" WIDTH="1" HEIGHT="3" BORDER="0"></TD>
  </TR>
  <TR>
    <TD ROWSPAN="2" COLSPAN="4" HEIGHT="48" valign="top">     </TD>
    <TD WIDTH="10" HEIGHT="48"> <IMG NAME="blank" SRC="%%SCRIPT_IMAGES_PATH%%/site
blank.gif" WIDTH="1" HEIGHT="48" BORDER="0"></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1" WIDTH="3" HEIGHT="415" background="%%SCRIPT_IMAGES_PATH%%/
Image3_7x1.gif">
      <IMG NAME="Image320" WIDTH="3" HEIGHT="1" BORDER="0" SRC="%%SCRIPT_IMAGES_PATH%%/
site/spacer.gif"></TD>
    <TD ROWSPAN="1" HEIGHT="415" valign="top">
      <div align="center"> </div>
    </TD>
    <TD WIDTH="10" HEIGHT="415"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="1" HEIGHT="415" BORDER="0"></TD>
  </TR>
  <TR>
    <TD ROWSPAN="3" COLSPAN="1" WIDTH="4" HEIGHT="94"> <IMG NAME="Image322" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_8x1.gif" WIDTH="3" HEIGHT="94" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="2" HEIGHT="49"> <IMG NAME="Image323" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_8x2.gif" WIDTH="49" HEIGHT="49" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="1" WIDTH="88" HEIGHT="49" bgcolor="#FFC8D0" valign="top">
      <div align="left"></div>
    </TD>
    <TD ROWSPAN="2" COLSPAN="1" WIDTH="3" HEIGHT="52" background="SCRIPT_IMAGES_PATH%%/site/Image3_7x1.gif">
      <IMG NAME="Image325" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_8x4.gif" WIDTH="3" HEIGHT="52" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="3" HEIGHT="49">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="9%"> </td>
          <td width="91%">
            <div align="center">
              <p> </p>
            </div>
          </td>
        </tr>
      </table>
    </TD>
    <TD ROWSPAN="1" COLSPAN="2" HEIGHT="49"> <IMG NAME="Image327" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_8x6.gif" WIDTH="42" HEIGHT="49" BORDER="0"></TD>
    <TD ROWSPAN="3" COLSPAN="1" WIDTH="3" HEIGHT="94"> <IMG NAME="Image328" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_8x7.gif" WIDTH="3" HEIGHT="94" BORDER="0"></TD>
    <TD WIDTH="10" HEIGHT="49"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="1" HEIGHT="49" BORDER="0"></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="3" HEIGHT="3"> <IMG NAME="Image329" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_9x1.gif" WIDTH="136" HEIGHT="3" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="3" HEIGHT="3"> <IMG NAME="Image330" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_9x2.gif" WIDTH="448" HEIGHT="3" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="2" HEIGHT="3"> <IMG NAME="Image331" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_9x3.gif" WIDTH="42" HEIGHT="3" BORDER="0"></TD>
    <TD WIDTH="10" HEIGHT="3"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="1" HEIGHT="3" BORDER="0"></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="3" HEIGHT="42"> <IMG NAME="Image332" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_10x1.gif" WIDTH="136" HEIGHT="42" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="1" WIDTH="3" HEIGHT="42"> <IMG NAME="Image333" SRC="SCRIPT_IMAGES_PATH%%/site/Image3_10x2.gif" WIDTH="3" HEIGHT="42" BORDER="0"></TD>
    <TD ROWSPAN="1" COLSPAN="5" HEIGHT="42">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="10%"> </td>
          <td width="56%">
            <div align="center"></div>
          </td>
          <td width="34%">
            <div align="center"></div>
          </td>
        </tr>
      </table>
    </TD>
    <TD WIDTH="10" HEIGHT="42"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="1" HEIGHT="42" BORDER="0"></TD>
  </TR>
  <TR>
    <TD WIDTH="41" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="41" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="4" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="3" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="21" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="21" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="28" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="28" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="88" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="87" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="3" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="3" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="49" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="49" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="394" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="394" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="5" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="5" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="20" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="20" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="22" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="22" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="3" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="3" HEIGHT="1" BORDER="0"></TD>
    <TD WIDTH="24" HEIGHT="1"> <IMG NAME="blank" SRC="SCRIPT_IMAGES_PATH%%/site/blank.gif" WIDTH="24" HEIGHT="1" BORDER="0"></TD>
  </TR>
</TABLE>

 

#4 08-02-2002 17:08:59

Guest
Guest

Re: Cart Nested in table

Thanks anyway!

I figured it out.

Just took a while.

 

#5 08-02-2002 20:55:45

Guest
Guest

Re: Cart Nested in table

Hello there,
May I ask you how you're building your tables? I was just looking at your code and it got my interest.

 

#6 08-02-2002 23:19:27

Guest
Guest

Re: Cart Nested in table

Hello,

I am getting hungry just looking at all those brownie..smile.

 

#7 08-02-2002 23:38:36

Guest
Guest

Re: Cart Nested in table

I created the table in Dreamweaver and then pasted the whole code into the HTML header section. The table is nest upon nest of tables.

I changed all the paths and then it was trial and error cutting parts of the code and pasting it into the footer section and then viewing. It took a while to get it right.

I've still got excess room on the bottom that I can't seem to get rid of but they just may have to live it!!!

 

#8 08-03-2002 09:03:04

Guest
Guest

Re: Cart Nested in table

Just looking at the code I see several tables that have height set. I would take the height out. This is why it has so much empty space. The program will give it what it needs for the data. Also, now that you know what you want it to look like you could build that with just a couple tables. That would clean up your html and make it much more search engine friendly.
Just a couple thoughts.

 

#9 08-03-2002 11:17:18

Guest
Guest

Re: Cart Nested in table

I tried changing the height and no effect. I think it has to do with the way the cart is placed. Here is why,

At this link, which is the main splash page that I bypassed, the tables display perfectly.
http://www.brownieconnection.com/clickc … cp-app.cgi

Once your in the store and it drops the cart into the tables, it expands them out.

Oh yeh, also I misinformed you when I said I created the table in Dreamweaver, they were originally created in PSP 7.0 when I exported a sliced image. PSP created a page with the tables. I then cut and pasted the tables into the page and made the changes that I needed.

 

#10 08-03-2002 11:35:17

Guest
Guest

Re: Cart Nested in table

Bingo!! You were right, I was changing the height in the header and having no effect. Once I changed it in the footer it worked.

Thanks for tip!! You saved me hours of agravation!!

 

#11 08-03-2002 12:24:04

Guest
Guest

Re: Cart Nested in table

I figured it was one or the other. Glad it worked!

 

Board footer