Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6253097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:55:41+00:00 2026-05-24T13:55:41+00:00

I’m restructuring a page for a client, and I’m having some issues with the

  • 0

I’m restructuring a page for a client, and I’m having some issues with the jQuery code I implemented on the page.
There’s a pop-up lightbox that uses Prototype which appears when the page loads, and then there’s marquee/scrollers on the top and right that I put there that use jQuery. I’m really unsure about what’s causing the error.
I’m familiar with jQuery’s noConflict, but I’ve tried pretty much every variation of it on this page and I still get an error – after a few seconds the marquees stop – and IE displays that “Errors on page” dialog, referencing line 464 (“Array length must be assigned a finite positive number”).
Here is the page: -link removed by author-
Here is prototype.js: -link removed by author-

I have absolutely no idea what is causing this error and JavaScript isn’t my strongest side.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:55:42+00:00Added an answer on May 24, 2026 at 1:55 pm

    When I first started seeing this error, I was Googling around for more general “Prototype + jQuery” errors, when I should have been looking for a solution specific to the exact problem I was dealing with.
    Adding the terms “array length” and “line 464” actually led me to the solution to this specific problem, and here it is:

    1. Updated from prototype v1.4 to v1.5.1.2 (v1.7, the latest release,
      didn’t work right and even produced a stack overflow error).
    2. Changed around the order of the scripts, and changed noConflict:

      <script src="/scripts/jquery-1.5.2.js" type="text/javascript"></script> 
      <script src="/scripts/jquery.Scroller-1.0.src_4.js" type="text/javascript"></script><!-- all _$_'s replaced with _jQuery_ -->
      <script type="text/javascript">
      <!--
      // more jquery, all $'s replaced with jQuery
      -->
      </script>
      <script type="text/javascript"> 
      <!--
      jQuery.noConflict();
      -->
      </script>       
      <script src="scripts/prototype-1.5.1.2.js" type="text/javascript"></script> 
      <script type="text/javascript">
      <!--
      // everything else, including prototype scripts
      -->
      </script>
      

    And that’s it! Now I don’t get the “Line 464” error and all scripts work fine.
    Thank you @Ken and @Diodeus for leading me to the solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I am reading a book about Javascript and jQuery and using one of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.