Announcement

Collapse
No announcement yet.

Moving a column

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Moving a column

    Hi Guys and Gals,

    I am busy sorting a site and would like to move the left column that holds the javascript store sections etc from the left to the right. I think that it was a site based on the smart template to begin with, not sure.

    The attached image shows where I want the column to go. Basically we have the header, then the nav, then the content colums, then a footer I have put in.

    I have played and played with changing and cutting about the table in design view. I can grab the left hand tables and put them into the right column fine. But when I copy the main table out of the big right column to the little left column, then change the column widths to accommodate all this it breaks the thing.

    There must be some extra coding going on in the variables.

    The code is below if it helps

    Thanks for any light that can be shed on this

    Code:
    <table width="820" border="0" cellspacing="0" cellpadding="0" background="images/mainbackground.gif" align="center">
      <tr>
    
        <td width="200" valign="top" class="actxxxsmall">
          
    
    <br>
    <table width="175" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr> 
              <td height="33" background="images/boxtop.gif" class="actxxbox"><b>&nbsp;&nbsp;Search</b></td>
            </tr>
            <tr> 
              <td background="images/boxmid.gif" align="center"> 
               <actinic:variable name="QuickSearchBar"/> 
    </td>
    </tr>
    <tr>
    <td height="20" background="images/boxbot.gif">&nbsp;</td>
    </tr>
    </table>
    
     
         
    
    
    
    <!--
    <table width="150" border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>
              <td height="22" bgcolor="<actinic:variable name="Palette2"/>" background="tab_pal2.gif" class="actsmallheading"><b>&nbsp;&nbsp;CART DETAILS</b></td>
            </tr>
            <tr>
              <td class="thinred2"><br>
                  <table width="100" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                      <td>
                        <div align="left"><span class="actxxxsmall">
                          <script language="JavaScript">
    						document.write("<actinic:variable name="CookieCartItemsLabel"/>&nbsp;" + getCartItem(3)+"&nbsp;<BR>");
    						document.write("<actinic:variable name="CookieCartValueLabel"/>&nbsp;" + getCartItem(1));
    					</script>
    </span> </div></td>
                    </tr>
                  </table>
                  <br>
              </td>
            </tr>
          </table>  
    
    --> 
          <br>
          <table width="175" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr> 
              <td height="33" background="images/boxtop.gif" class="actxxbox"><b>&nbsp;&nbsp;Houses</b></td>
            </tr>
            <tr> 
              <td background="images/boxmid.gif"> 
                <table width="160" cellspacing="2" cellpadding="2" align="center">
                  <tr>
                    <td class="actxxzsmall">
    				<div align="left">
                      <script language=Javascript1.2>
    			document.write(YahooSections(section_tree)) 
    		  </script>
     </div> </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="20" background="images/boxbot.gif">&nbsp;</td>
    </tr>
    </table>
    
          <br>
          
          <table width="175" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr> 
              <td height="33" background="images/boxtop.gif" class="actxxbox"><b>&nbsp;&nbsp;Security</b></td>
            </tr>
            <tr> 
              <td background="images/boxmid.gif"> 
                <table width="160" cellspacing="2" cellpadding="2" align="center">
                  <tr>
                    <td class="actxxzsmall">
    				<div align="left">
                 Our Secure Shopping Basket system uses an SSL Server and leading Actinic technology for secure credit card processing, approved by the leading banks.     
     </div> </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="20" background="images/boxbot.gif">&nbsp;</td>
    </tr>
    </table>
          
          
          
    
          
    
    
          <!-- credit card logo table start -->
          <!-- <table width="150" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td height="22" bgcolor="<actinic:variable name="Palette2"/>" background="tab_pal2.gif" class="actsmallheading"><b>&nbsp;&nbsp;CARDS ACCEPTED </b></td>
            </tr>
            <tr align="center" valign="middle"> 
              <td class="thinred2"> 
                <table width="100%" cellspacing="2" cellpadding="2">
                  <tr align="center" valign="middle"> 
                    <td><img src="visa.gif" width="34" height="22"></td>
                    <td><img src="master.gif" width="34" height="22"></td>
                    <td><img src="elec.gif" width="32" height="22"></td>
                  </tr>
                  <tr align="center" valign="middle"> 
                    <td><img src="swi.gif" width="29" height="22"></td>
                    <td><img src="solo.gif" width="30" height="19"></td>
                    <td><img src="delta.gif" width="32" height="21"></td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>-->
          <!-- credit card logo table end -->
    
      <p>&nbsp;</p>    </td>
        <td width="600" valign="top">
    
          <table width="600" border="0" cellspacing="0" cellpadding="0">
            <tr> 
              <td width="2%" valign="top">&nbsp;</td>
              <td width="92%" height="22" class="actsmallheading"><b><actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Section%22"><actinic:variable name="PageType" /></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22"><actinic:variable name="SectionName" /></actinic:block></b></td>
              <td width="6%" align="right" valign="top">&nbsp;</td>
            </tr>
            <tr valign="top" align="left"> 
              <td colspan="3">
                <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="5" ALIGN="CENTER">
                  <tr>
                     <td width="194"><img src="shim.gif" width="<actinic:variable name="ACTSTDWIDTH"/>" height="1"></td>
                  </tr>
                  <TR>
                    <TD ALIGN="LEFT" VALIGN="MIDDLE"> 
                      <A NAME="top"> 
                      
                      </A> 
                        <!-- If customer accounts are in operation following two lines allow displaying -->
                        <!-- User name and customer account name on every page -->
                        <!-- <a href="<actinic:variable name="LoginPageURL" />" target="_self"><actinic:variable name="LoginText" /></a> --><Actinic:NOWSERVING/><Actinic:CURRACCOUNT/><Actinic:LOGOUT_SIMPLE/>
                        <!-- <actinic:variable name="HeaderArea"/> -->
                        <div align="center"><span class="actxsmall"><actinic:variable name="HeaderFooter" value="Header Text"/></span></div>
                        <actinic:variable name="INNERLAYOUT" />
                        <div align="center"><span class="actxsmall"><actinic:variable name="HeaderFooter" value="Footer Text"/></span></div>
                        <!-- <actinic:variable name="FooterArea"/> -->
                      <br>
                    </TD>
                  </TR>
                </TABLE>
              </td>
            </tr>
          </table>
          
          <p><actinic:block if="%3cactinic%3avariable%20name%3d%22CaptureCoupon%22%20%2f%3e" />
            <!-- coupon entry begins -->
    </p>
          <table width="125" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="22" bgcolor="<actinic:variable name="Palette2"/>" class="actsmallheading" background="tab_pal2.gif"><b>&nbsp;&nbsp;<actinic:variable name="CouponTitle"/></b></td>
            </tr>
            <tr valign="top">
              <td class="thinred2">
                <table width="100%" border="0" cellpadding="2" cellspacing="2" class="actxxsmall">
                  <tr>
                    <td valign="top"><br>
                        <table width="100%" border="0" cellspacing="0" cellpadding="2">
                          <form method="<actinic:variable name="CGIMethod"/>" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL"/>">
                            <tr>
                              <td valign="top" colspan="2"><actinic:variable name="CouponMessage"/> </td>
                            </tr>
                            <tr>
                              <td valign="top"><input type="TEXT" name="COUPONCODE" size="10" maxlength="255" value="<actinic:variable name="CouponCaption"/>" onFocus="this.value='';this.style.background='#FFFFFF'"></td>
                              <td><input type="SUBMIT" name="ACTION" value="<actinic:variable name="CouponAction"/>"></td>
                            </tr>
                          </form>
                      </table></td>
                  </tr>
              </table></td>
            </tr>
          </table>
          <!-- coupon entry ends -->
    </actinic:block>
     </td>
      </tr>
    </table>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsWorkingLikeFrames%22%20%2f%3e">
          </td>
          
          
       </tr>
    </table>
    </actinic:block>
    Attached Files

    #2
    You need to copy the left TD underneath the right TD which is easier than copying tables and changing widths.
    Peblaco

    Comment


      #3
      Wonderful Peblaco

      Thank you very much

      Comment


        #4
        Similar, but different.

        Hi there

        I'm trying to get rid of whitespace and move my search and left hand menu item up the page. I've tried cutting and pasting into layers, deleting paragraph spaces in act primary and P_index, but I'm sure I'm missing something (!).

        Also I deleted my home page and just went with a catalog page http://www.dailygrooming.co.uk/acatalog/index.html This is the one I want to show.

        But the home page still exists in the search engine.
        http://www.dailygrooming.co.uk/

        Will I have to wait until the search engines remove it from the index?

        Any help would be greatly appreciated.

        Thanks

        David

        Comment


          #5
          This is a V8 thread you would be better posting on the V7 forum

          Comment


            #6
            Whoops, sorry guys. I'm as new to this as I am v7!

            Comment

            Working...
            X