Announcement

Collapse
No announcement yet.

section dropdown

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

    section dropdown

    Hi

    The Advanced Guide States that it is possible to put the sections drop down on pages outside of the catalogue.

    I have followed the instructions to the letter but I keep getting errors.

    on the webpage
    NETQUOTEVAR:TOPLEVELSECTIONS_RAW
    appears above all the content.

    And I get an javascript error

    "sections" is not defined
    if I declare the variable I then get

    "length" is not on object

    Any ideas?

    C

    #2
    Con

    This thread might help. Worked for me!

    Cheers
    Jon

    Comment


      #3
      I've got the same problem.
      I have managed to get the store drop list working fine.
      I have followed the a-u-g and read the thread as mentioned above but on my home page still get the errors.!!!!

      probably something simple...help?

      Comment


        #4
        If you follow the thread to the letter, it does work - at least it did for me. When I looked at the code I had put in from the AUG, I found that one of the .js filenames was different. Act_section_tree.js is in the code in Chris Dicken's thread, but I had something different from my previous attempt - don't know if that was me, but i think I just pasted it in from the AUG.

        Hope that helps

        Good luck

        Cheers
        Jon

        Comment


          #5
          I started again from scratch but instead of putting the new line direct into my home page I tested it on a blank page first.
          This worked 1st time and I then transfered the same into my home page. Not sure what the problem was the first time then!

          My question now is how do you have a different type of list on your home page and catalog?
          I.E I want my section and sub section drop down list in my catalog but require the yahoo style or even bulleted list on my home page.

          Do you need to put the code for these list types into your catalog pages but then do not put a placement line?

          Many thanks

          Simon

          Comment


            #6
            The NETQUOTEVAR:SECTIONTREE_RAW variable simply creates the array (make sure it is always under the <script> line that references actiniccore.js).

            The other bits of script you put into the headers then lay out the information in that array in a variety of ways. They do not clash because each one should have a different function name e.g. Act_DropListBox.

            Then, in the main body of the page, you just simply call whatever function you want to use, therefore different pages can display different js section information.

            Comment

            Working...
            X