Announcement

Collapse
No announcement yet.

javascript top sections menu not working

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

    #16
    thanks guys...well i moved these to the correct places and this stop my javascript errors popping up but my menu still doesnt show up....its just an empty space.

    i am still very poozled

    also while im here i have an urgent problem with this website.

    www.traintobealocksmith.com

    we have ssl and a worldpay acoount set up on here...and when i go through the checkout it correctly directs to https...secure site but the padlock will not show up.....if i hit refresh it says you need to re-send the info etc etc....but the padlock then shows up...but as soon as you hit ok it dissapears again.....i am in urgent need of getting this sorted out....i am not suing frames....so i just do not know what else to do to fix this.

    Comment


      #17
      hmm im sure i just posted a reply to this but itsnot showing.?

      oh well i made the changes...the script calling the function is blow the links to the js source files...but i just have a blank space where my menu should be....there are no errors but nothing is showing

      Comment


        #18
        whats goin on here...my previosu post is showing up now......well forget about the ssl padlock issue...thats sorted....just need the menu issue working

        Comment


          #19
          URL of a problem page please?
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #20
            http://www.s172585708.websitehome.co...Downloads.html

            this page uses my act_primary template.

            hope im not being too irritating with all these requests ;0)

            im sure its probably something stupidly simple...but i cant see it.

            Comment


              #21
              There's a bulleted set of section links on the left, so I presume you've fixed it.
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #22
                However I see the block
                Code:
                <script type="text/JavaScript">
                <!--
                function MM_swapImgRestore() { //v3.0
                var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
                }
                function MM_preloadImages() { //v3.0
                var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
                var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
                if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
                }
                function MM_findObj(n, d) { //v4.01
                var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
                d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
                if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
                for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
                if(!x && d.getElementById) x=d.getElementById(n); return x;
                }
                function MM_swapImage() { //v3.0
                var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
                if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
                }
                //-->
                
                </script>
                duplicated all over the place. Perhaps you've got this in a Product Template by mistake.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #23
                  Remove the FORCED=NETQUOTEVAR:BASEHREFFORCED/ from your Act_Primary template, and that will stop the programme trying to look in acatalog/acatalog for the js files and images. Forced is only used on Brochure pages.

                  http://www.s172585708.websitehome.co...log/Index.html works correctly as far as the menu goes, but there is something amiss on the first section link.
                  Last edited by wjcampbe; 31-Aug-2006, 11:17 AM. Reason: Who forgot to refresh the cached page? Guilty.
                  Bill
                  www.egyptianwonders.co.uk
                  Text directoryWorldwide Actinic(TM) shops
                  BC Ness Solutions Support services, custom software
                  Registered Microsoft™ Partner (ISV)
                  VoIP UK: 0131 208 0605
                  Located: Alexandria, EGYPT

                  Comment


                    #24
                    @_@....well it wasnt showing a few moments ago....or on the preview....but is now.

                    so thx for the help guys.

                    the extra script is linked from a file....not really needed so cant take it out....thanks again.

                    Comment

                    Working...
                    X