Announcement

Collapse
No announcement yet.

adding section links on home page

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

    adding section links on home page

    How do I add my javascript section links to my Acr_BrochurePrimary.html so taht they work the same as in Act_Primary.html?
    Boxhedge New Media Design
    Design and development solutions for SME's.
    Tel: 0118 966 2786
    Examples of work can be found at http://www.boxhedge.com

    #2
    If I understand what you are getting at, simply change the reference to the .js file you have written to build the section links and the file containing the array (in the head of the html document) and it should work ok.

    However I would add that you should be very wary of using these files as there is a bug that can cause them to error. A forum search on ".js" should explain this!
    Martin Smith
    <a href="http://www.cnx-solutions.com">Web Design Cornwall</a>

    Comment


      #3
      Thanks for the reply, it makes perfect sense.
      Unfortuneately I cannot work out what .js file the script links to or where this appears in the script on my page. However I think I'm right when I think that the .js file would be in the actcatalog folder.
      Any pointers?
      Boxhedge New Media Design
      Design and development solutions for SME's.
      Tel: 0118 966 2786
      Examples of work can be found at http://www.boxhedge.com

      Comment


        #4
        Look in the <HEAD> section of your generated store pages. You will see a reference to either Act_sections.js or Act_section_tree.js. Depending on which one is there, you would add the following code into your Act_BrochurePrimary.html file.

        <SCRIPT LANGUAGE="JavaScript" SRC="http://your.URL/acatalog/actiniccore.js" TYPE="text/javascript"></SCRIPT>
        <SCRIPT LANGUAGE="JavaScript" SRC="http://your.URL/acatalog/actinicextras.js" TYPE="text/javascript"></SCRIPT>
        <SCRIPT LANGUAGE="JavaScript" SRC="http://your.URL/acatalog/Act_sections.js" TYPE="text/javascript"></SCRIPT>

        Then put in the other JavaScript expressions to create the navigation as they are in your Act_Primary file.

        Comment


          #5
          cheers chris.
          everything working dandy now.
          Boxhedge New Media Design
          Design and development solutions for SME's.
          Tel: 0118 966 2786
          Examples of work can be found at http://www.boxhedge.com

          Comment

          Working...
          X