Announcement

Collapse
No announcement yet.

de-clicking section

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

    de-clicking section

    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    <!--
    function SectionList(ar)
    {
    var strIDs = '<table border=0 width=100% cols=1>';
    for (var i=1;i<=ar.length;i++)
    {
    if (ar[i].sURL !=null)
    {
    strIDs += '<tr bgcolor="#F2F3F7"><td><a href="' + ar[i].sURL + '"><span class="actxsmall"><b>' + ar[i].sName + '</b></span></a></td></tr>';
    {
    if (ar[i].pChild)
    {
    for (var j=1;j<=ar[i].pChild.length;j++)
    {
    if (j <= ar[i].pChild.length)
    {
    strIDs += '<tr><td bgcolor="#F2F3F7"><a href="' + ar[i].pChild[j].sURL + '"><span class="actxsmall">' + ar[i].pChild[j].sName + '</span></a></td></tr>';
    }
    }
    }
    }
    }
    }
    strIDs += '</table>'
    return strIDs
    }
    //-->
    </SCRIPT>
    i haven't done much design woek recently, let alone V5 coding....

    but the above is my section list navigation (already with some formatting) can someone help me to remove the href from the main sections so only the sub sections are clickable.

    <a href="' + ar[i].sURL + '"><span class="actxsmall"><b>' + ar[i].sName + '</b></span></a>
    this is the line that needs change.

    #2
    Replace
    Code:
    <a href="' + ar[i].sURL + '"><span class="actxsmall"><b>' + ar[i].sName + '</b></span></a>
    with
    Code:
    <span class="actxsmall"><b>' + ar[i].sName + '</b></span>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman, that did the trick.

      I'd appreciate it if a few of you could try to break the navigation on this site. I've removed all the section links and rely only on the left hand nav to find products.

      http://www.test.optimistonline.co.uk...log/index.html

      I've removed the breadcrumb, and removed clickable section links from the sitemap.

      Have I missed anything?

      Before anyone tells me - on the horizontal navbar the about, terms, pdf, contact links don't work, and I know there are missing product images.

      I will probably add more nav to the base of each page to keep spiders busy

      If any wants to give me the CSS to add a drop shadow to the outer table of the site design I'd be very happy

      Comment


        #4
        Whats the template that controls the search results (V5) ?

        I've uploaded the new www.optimistonline.co.uk, but if you search, the results throw the page width out..

        Comment


          #5
          oh dear.... the site is bust....

          if you search on a product, then click and go to the product all is fine...

          But if you then return to the left hand nav to go to another product it tries to find the html page within the cgi bin...

          Comment


            #6
            It has gone completely now Jo.

            Regards,
            Jan Strassen, Mole End Software - Plugins and Reports for Actinic V4 to V11, Sellerdeck V11 to V2018, Sellerdeck Cloud
            Visit our facebook page for the latest news and special offers from Mole End

            Top Quality Integrated label paper for Actinic and Sellerdeck
            A4 Paper with one or two peel off labels, free reports available for our customers
            Product Mash for Sellerdeck
            Link to Google Shopping and other channels, increase sales traffic, prices from £29.95
            Multichannel order processing
            Process Actinic, Sellerdeck, Amazon, Ebay, Playtrade orders with a single program, low cost lite version now available from £19.95

            Comment


              #7
              its there.....

              its not network settings at fault, what else causes stray behaviour into the cgi bin?

              Comment


                #8
                Quickest way to fix this is to de-select 'Highlight Located Text' in 'Search Settings | Results'.

                Comment


                  #9
                  I've fixed the problem with the navigation going via the cgi-bin by hard coding the navigation - not the ideal solution but at least its SE friendly.

                  The width of the search results was fixed by resetting ACTSTDWIDTH

                  Comment

                  Working...
                  X