Announcement

Collapse
No announcement yet.

Code Misbehaving?

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

    Code Misbehaving?

    I'm using a two column layout (thanks Norman) and have edited the Act_productline template accordingly. However there appears to be a glitch which I'm having problems understanding.

    I've input the same text for four products just for testing purposes. They all contain extended info. However for some reason the More... link on the first cell is being forced onto the next line, whereas the remaining three cells show the link on the same line as the last line of text!

    I can't see from the code why this should be. I'm only using five cells which are coded as follows.

    <table border="1" width="100%">

    <tr>
    <td colspan="3" valign="TOP" align="CENTER" width="100%"> NETQUOTEVAR:TEMPLATEBEGINXML <a name="NETQUOTEVAR:PRODUCTANCHOR"><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
    <span class="actxsmall">NETQUOTEVAR:PRODUCTREF </span></td>
    </tr>

    <tr>
    <td> NETQUOTEVAR:PRODUCTIMAGE </td>
    <td colspan="2" valign="TOP"> NETQUOTEVAR:PRODUCTDESCRIPTION NETQUOTEVAR:EXTINFOLINK NETQUOTEVAR:EXTINFOBUTTON
    <span class="actxsmall">NETQUOTEVAR:OTHERINFOPROMPT </span>
    <span class="actxsmall">NETQUOTEVARATEPROMPT </span> </td>
    </tr>

    <tr>
    <td> NETQUOTEVAR:PRODUCTPRICE </td>
    <!-- Quantity NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY -->
    <td> <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
    NETQUOTEVAR:TEMPLATEENDXML
    </td>

    Can anyone see if I've gone wrong somewhere? Or explain why the info link is going to a different location in the first cell?

    Hope someone can advise.

    Thanks

    Myles Sinclair
    www.magicalwonders.com

    #2
    You'd really need to post the URL of a page that shows this problem.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Surely it could just be text-wrapping based on the length of the descriptions? Change the order of the products on the page to make sure.

      Comment


        #4
        Chris, It can't be text wrapping that's causing the problem as I've input duplicate text for each item.

        Norman, although I've chosen my webhost, I haven't signed up with them yet. I have some free space with Demon though. If I upload the directory site 1 to that, would that be sufficient to view the pages?

        Many thanks

        Myles
        www.magicalwonders.com

        Comment


          #5
          Afraid not. You'd need a real ISP to show your pages. I believe Actinic offer test hosting.

          Norman

          PS Could you have different sized product images that are pushing things about?
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            I seem to have sorted this problem, although I'm not too sure what the cause was. The only input I had for each cell was a product name and a description for each cell containing duplicated text, along with a "more.." link.

            I did spot a mistake in the code although this was not the culprit. When I removed one of the cells reducing the table to two columns, I had forgotten to reduce colspan="3" to colspan="2" in my first cell.

            After reshuffling the order of the products I noticed that the problem cell changed position and related to the same product each time. I deleted this product and recreated it. Now everything works as it should. (so far!)

            The only thing I can think of is that I must have hit a wrong key when creating the extended info button, causing a glitch somehow for this particular product.

            I'll look into Actinics test site facility, as this would be very useful.

            Thanks folks

            Myles
            www.magicalwonders.com

            Comment

            Working...
            X