Announcement

Collapse
No announcement yet.

Error on Internet - CreateArray

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

    Error on Internet - CreateArray

    I've recently uploaded my web catalogue and have started trading over the internet. When I load my site via Internet Explorer 6 I get the following error :-

    CreateArray is undefined.

    Has anybody else come across this issue and if so I would be glad to hear from anyone who can let me know how to rectify this issue.

    URL is :- www.ibabyshop.co.uk

    Best Regards

    Elfyn

    #2
    I use IE6 and your site works perfectly for me.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      I see the error. You have

      Code:
      <SCRIPT LANGUAGE="JavaScript" SRC="Act_sections.js" TYPE="text/javascript"></SCRIPT>
      <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
      <!--
      
      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 + '">' +
      ar[i].sName + '</OPTION>'
      }
      }
      strIDs += '</SELECT>'
      return strIDs
      }
      //-->
      </SCRIPT>
      right at the top of Act_primary.html. This refers to code in actiniccore.js which is not loaded at this time.

      Move these lines to below

      Code:
      <SCRIPT LANGUAGE="JavaScript" SRC="actiniccore.js" TYPE="text/javascript"></SCRIPT>
      <SCRIPT LANGUAGE="JavaScript" SRC="actinicextras.js" TYPE="text/javascript"></SCRIPT>

      so that these routines are now defined before any other JavaScript is used.

      Norman
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thank You

        Norman,

        This worked fine. Thank You.

        Best Regards

        Elfyn
        iBabyShop
        'Little Prices for Little People'

        Comment

        Working...
        X