PDA

View Full Version : Image Table Headers


PaulC_Inkjet
30-Jul-2004, 02:32 PM
A copy of Act_productline.html can be found here (http://www.ink4trade.co.uk/temp/Act_ProductLine.html)

Please view the source code in the page.

A screenshot of the outcome of the above webpage can be foundhere (http://www.ink4trade.co.uk/temp/temp.jpg)

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

Pneumatus
30-Jul-2004, 02:46 PM
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.

PaulC_Inkjet
30-Jul-2004, 03:19 PM
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

Highlander
30-Jul-2004, 03:56 PM
I would try to place the code in

Act_ProductBody.html



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

NormanRouxel
30-Jul-2004, 04:05 PM
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.

Pneumatus
30-Jul-2004, 04:09 PM
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.