Announcement

Collapse
No announcement yet.

Image Table Headers

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

    Image Table Headers

    A copy of Act_productline.html can be found here

    Please view the source code in the page.

    A screenshot of the outcome of the above webpage can be foundhere

    I am using Actinic 6 and editing the Act_productline.html page so that there are 2 image headers for the top of the table saying product image and product information.
    However, I do not want the images to be included every time Actinic cycles through the table in the page for each product. I only want the images as headers. Please could you give me any information or suggestions regarding how to do this?

    Additionally, why is there a huge gap separating the top from the start of the table. I have checked both Act_productline.html and Act_pimary.html and there are no <br>’s or anything.

    Thank you for your time and consideration.

    Paul Carruthers
    Paul.carruthers@inkjetdirect.net
    Paul Carruthers
    Inkjet Direct (Europe) Limited
    www.ink4trade.co.uk
    paul.carruthers@inkjetdirect.net
    Actinic V6 Developer

    #2
    Rather than making them part of every ProductLine, make the top product have that productline template and then all following products use a different ProductLine that doesnt display the head graphics.
    Matt
    Actinic User since v.3

    Custom Actinic Site Specialist:
    <a href="http://www.glowsticksdirect.co.uk/">GlowSticksDirect.co.uk</a>
    <a href="http://www.digishopdirect.co.uk/">DigiShopDirect.co.uk</a>
    <a href="http://www.calibreshopping.co.uk/">CalibreShopping.co.uk</a>

    Comment


      #3
      Sorry mate - though of that already

      Even though that would be the solution - I have in total over 500 sections & Sub-sections. So that would mean in every sub section - I would have to allocate the top of each one. If this is the only way - then I'll do this Monday hopefully with a Macro program. But has anyone else got a simpler idea please.

      Yours

      Paul Carruhters
      Paul Carruthers
      Inkjet Direct (Europe) Limited
      www.ink4trade.co.uk
      paul.carruthers@inkjetdirect.net
      Actinic V6 Developer

      Comment


        #4
        off the top of my head

        I would try to place the code in

        Act_ProductBody.html


        Code:
        NETQUOTEVAR:TOPSECTIONSEPARATOR
        NETQUOTEVAR:CARTERRORLISTXML
        </A>
        NETQUOTEVAR:HIDDENINPUT
        
        <BR>
        <! -- Orig TABLE WIDTH="500" COLS="3" BORDER="0" CELLPADDING="10" CELLSPACING="0" ALIGN="CENTER" -->
        <TABLE WIDTH="600" COLS="3" BORDER="0" CELLPADDING="5" CELLSPACING="0" ALIGN="CENTER">
        
        	NETQUOTEVAR:PRODUCTBULK
        
        </TABLE>
        I would have thought that just before NETQUOTEVAR:PRODUCTBULK would do

        Worth a try?

        Niall
        Niall
        www.highlandclans.co.uk

        Comment


          #5
          Conditional code via JavaScript would do it.


          Put the following in the HEAD section of Act_Primary.html

          <script language=javascript>var topofpage = true;</script>


          Now in your product template(s), where you want the heading put:-

          <script language=javascript>
          <!--
          if ( topofpage )
          {
          document.write('<tr><td>Heading1</td><td>Heading2</td>etc</tr>');
          var topofpage = false;
          }
          // -->
          </script>

          Norman

          PS above isn't tested - I just typed it straight in. There may be buglets and you will probably want to change the bit of quoted HTML.
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            You could code something into Act_ProductBody.html assuming that all of your products in every section ever are going to be displayed with the two column headers.
            Matt
            Actinic User since v.3

            Custom Actinic Site Specialist:
            <a href="http://www.glowsticksdirect.co.uk/">GlowSticksDirect.co.uk</a>
            <a href="http://www.digishopdirect.co.uk/">DigiShopDirect.co.uk</a>
            <a href="http://www.calibreshopping.co.uk/">CalibreShopping.co.uk</a>

            Comment

            Working...
            X