Announcement

Collapse
No announcement yet.

"class=" being appended

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

    "class=" being appended

    Hi

    On the test version of my site, when i click on the box heading links, i get "class=" appended to the address. However, when i click on the image below, everything works as it should. To explain, on the following page you can see the various subsections. If i click on the name of the section i.e. "Duracell", i get an error as "class=" has been appended to the address. However, if i click on the image below (both navigate to the same place), it works fine.

    I was working on Act_SectionLineBoxes last night to clear some of the code out and have obviously changed something which i cannot get my head round. I had numerous nested CSS classes and was trying to clean some of it out basically. The code for the above template is:

    <!-- SectionLine HTML begin -->
    <!-- Insert HTML for the beginning of a section title -->
    <p></p>
    <table width="210" border="0" align="center" cellpadding="5" cellspacing="0" class="thinred2">
    <tr>
    <td width="210" height="25" align="center" class="boxheader">
    <a href="<actinic:variable name="SectionPageName">class="boxlink"><actinic:variable encoding="actinic" name="SectionName" /></a></td>
    </tr>
    <tr>
    <TD width="210" align="center"><A HREF="<actinic:variable name="SectionPageName"/>"><!-- SectionNavImage HTML begin -->
    <IMG SRC="<actinic:variable name="SectionImageFileName"/>"
    border="0" ALT="<actinic:variable name="SectionName"/>"
    <!-- SectionNavImage HTML end --></A></TD></br></TABLE>
    <actinic:variable name="SectionDescription"/>

    <!-- Insert HTML for the end of a section title -->
    <!-- SectionLine HTML end -->

    I'm almost 100% sure that it is the class="boxlink" code, but i cannot see the wood for the trees. I had for some reason 4 different CSS classes, a Div and a span all in this code which have been removed to try and clean it up a little, but have got stuck on this.

    Anyone shed any light?

    Cheers

    #2
    <!-- SectionLine HTML begin -->
    <!-- Insert HTML for the beginning of a section title -->
    <p></p>
    <table width="210" border="0" align="center" cellpadding="5" cellspacing="0" class="thinred2">
    <tr>
    <td width="210" height="25" align="center" class="boxheader">
    <a href="<actinic:variable name="SectionPageName">class="boxlink"><actinic:variable encoding="actinic" name="SectionName" /></a></td>
    </tr>
    <tr>
    <TD width="210" align="center"><A HREF="<actinic:variable name="SectionPageName"/>"><!-- SectionNavImage HTML begin -->
    <IMG SRC="<actinic:variable name="SectionImageFileName"/>"
    border="0" ALT="<actinic:variable name="SectionName"/>"
    <!-- SectionNavImage HTML end --></A></TD></br></TABLE>
    <actinic:variable name="SectionDescription"/>

    <!-- Insert HTML for the end of a section title -->
    <!-- SectionLine HTML end -->
    note highlight in red is missing opening <span and subsequent closing </span>

    Comment


      #3
      GRRRR, wood - trees, head - brickwall.

      Thank you.

      Comment

      Working...
      X