0
Welcome Guest! Login
0 items Join Now

Sporticus template javascript error - help greatly appreciated!

    • minerva's Avatar
    • minerva
    • Newbie
    • Posts: 8
    • Thanks: 0

    Sporticus template javascript error - help greatly appreciated!

    Posted 15 years 11 months ago
    • I've been getting a javascript error for quite some time on a site I set up a few months ago and have finally tracked it down to a file called slimbox.js from the sporticus template the design was based off of.

      This is my error:

      Line: 2
      Char: 1
      Error: 'Window' is undefined
      Code: 0

      Then when you look at it with Firebug it says:

      Lightbox.init.bind is not a function
      [Break on this error] eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a...


      Does anyone have ideas as to how to resolve this error?
  • Re: Sporticus template javascript error - help greatly appreciated!

    Posted 15 years 11 months ago
    • It could be a js conflict with another extension you may have installed. Can we get a link to your site to check it out?
    • minerva's Avatar
    • minerva
    • Newbie
    • Posts: 8
    • Thanks: 0

    Re: Sporticus template javascript error - help greatly appreciated!

    Posted 15 years 11 months ago
  • Re: Sporticus template javascript error - help greatly appreciated!

    Posted 15 years 11 months ago
    • In the index.php, find:
      <script type="text/javascript" src="http://www.illinoisasa.org/templates/illinoisasa/js/slimbox.js"></script>

      and comment it out like so:
      <!--<script type="text/javascript" src="http://www.illinoisasa.org/templates/illinoisasa/js/slimbox.js"></script>-->
    • minerva's Avatar
    • minerva
    • Newbie
    • Posts: 8
    • Thanks: 0

    Re: Sporticus template javascript error - help greatly appreciated!

    Posted 15 years 10 months ago
    • That seems to have done the trick - thanks so much!

Time to create page: 0.051 seconds