Announcement

Collapse
No announcement yet.

Actinic Section Tree > What does it stand for ?

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

    Actinic Section Tree > What does it stand for ?

    Please can someone explain what this is and what it is used for ? I can see it is some sort of javascript file.
    Is it loaded each time someone visits the site ?
    http://www.irwebonline.com

    #2
    It looks like your store is based on the 'Slimline' theme. That theme has a drop-down list at the top showing the sections in your store, which is controlled with JavaScript.

    The code is still in the <HEAD> section of the store pages to support this drop-down list, but you have removed the JavaScript from the main body of the page to display it.

    Comment


      #3
      Thanks, does that mean that the file is being loaded each time a user visits the site but it is not being displayed ?
      If so id like to remove the code from the page altogether as it has developed into quite a large file with all the sections that i have and it may be the reason my pages are taking forever to load.
      http://www.irwebonline.com

      Comment


        #4
        OK

        Go to 'Design | Options | Layouts' and click 'Edit' next to the 'Default Overall Layout' field.

        Remove the code that looks like:
        Code:
        <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
        <!--
        /***********************************************************************
        *
        * ACT_DropListBox -	returns a string containing the HTML for the SELECT listbox
        *
        ************************************************************************/
        
        function ACT_DropListBox(ar)
        	{
        	var strIDs = '<SELECT SIZE="1" NAME="ACT_droplstbox" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">'
          	var sel = " SELECTED"
          	strIDs += '<OPTION ' + sel + ' VALUE="">Select a Section</OPTION>'
          	for (var i=1;i<=ar.length;i++)
          		{
        		if (ar[i].sURL !=null)
        			{
        			strIDs += '<OPTION VALUE="' + ar[i].sURL + '&ACTINIC_REFERRER=' + escape(location.href) + '&NOCLEARFRAMES=1">' + ar[i].sName + '</OPTION>'
        			}
          		}
        	strIDs+='</SELECT>'
          	return strIDs
          	}
        //-->
        </SCRIPT>
        
        <!--@act NETQUOTEVAR:TOPLEVELSECTIONS_RAW -->
        from the <HEAD> section.

        Comment


          #5
          Thanks very much
          http://www.irwebonline.com

          Comment

          Working...
          X