Announcement

Collapse
No announcement yet.

HELP needed with Js

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

    HELP needed with Js

    Hi fellow developers

    i have this site which is up and running - www.qvtailor.com ( feel free to take a look ).

    the page loading speed is relatively slow due to the section tree Javasscript file.

    it is the Store sections at the side.
    currently i have remove the calling of the js function of the section tree so it is alright now

    is there any way i can modify or edit the JS i am realli lost

    #2
    Have a read through http://community.actinic.com/showthread.php?t=14853 especially Norman's post 7 - this will describe a couple of ways to reduce the Act_section_tree.js file size.

    Comment


      #3
      i have read that long ago
      but if i remove part of the js , it wouldnt be enough 4 me to display the sectioon

      so this comes to the 2nd method which is to hard code the links

      but is there any other ways?

      Comment


        #4
        I don't know any other way apart from hard coding or toplevelsections.

        BTW what's your connection with Yong? (He's mentioned the same site previously)

        Comment


          #5
          i have taken over his job and he is my fren
          so there is realli no way?

          Comment


            #6
            but if u take a look at hst.com.sg
            it load relatively fast

            so wat may be the reason

            Comment


              #7
              The sectiontree js file for that site is only 218Kb - much smaller than yours.
              Why? - don't know - hopefully someone else with more knowledge than me caan give you an answer....

              Comment


                #8
                Have just tried to go through your site to check it out but got 54 pages with connection refused errors. If you can put the js navigation back as it was then it may be more obvious what is wrong.

                At the moment the pages that I can see are loading ok. I would compress the images at the bottom of your home pages as they are a little large which will not help.

                Comment


                  #9
                  Your page is still loading Act_section_tree.js which is 1Mb!

                  You'd be best leaving this out and using NETQUOTEVAR:TOPLEVELSECTIONSTOP instead. There are plenty of recent posts to search for re this.

                  Alternatively, if you really need 1 or 2 section levels displayed I have an add-on that uses PHP to replace Act_section_tree.js with a much smaller alternative. This isn't free so you'd have to email me for more information.
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment

                  Working...
                  X