Custom Search

You are hereBlog / bug fixed: jCarousel width/height infinite loop popup alert error

bug fixed: jCarousel width/height infinite loop popup alert error


Posted on December 03, 2008 by Denis

Printer-friendly versionSend to friend

PROBLEM: While loading, jCarousel spits out a popup alert with this error message:

"jCarousel: No width/height set for items. This will cause an infinite loop. Aborting..."

On this website, I use jCarousel for the "Lifestream" scroller on the front page tabs block. I would always get this error message every time the front page loads, regardless of the browser I use. I have been searching for a solution for many months and have finally found one.

SOLUTION: Not sure if this is really a solution or workaround, but it does the job of stopping the nagging popup box once and for all (while permitting jCarousel functionality).

  1. Open jquery.jcarousel.pack.js in the ../jcarousel/lib/ directory.
  2. Seach for the word "alert" and you should find a snippet of code like this:
    Aborting|loop|infinite|an|cause|will|This|items|set|No|jCarousel|alert|class|
  3. Replace "alert" with "isNan":
    Aborting|loop|infinite|an|cause|will|This|items|set|No|jCarousel|isNan|class|
  4. Refresh the webpage that loads jCarousel and you should no longer get the infinite loop popup error!
Anonymous's picture

[...] mal mit Google nach Deiner Fehlermeldung gesucht und folgendes gefunden: bug fixed: jCarousel width/height infinite loop popup alert error | spiffy[d] Schau mal, ob Du damit die Meldung wegbekommst, auch wenn es nur ein W

recent comments

Anonymous's picture

It is better to take sure shot stock tips or advices from someone before investing in Stocks and Commodities market instead of losing money and then regretting.
We at Capitalstars Financial Research Pvt. Ltd. Do this for you and help you make profit in stocks and commodities market. Our technical analysis team is an experienced one and provides sure shot stock recommendation with 90-95% accuracy rate. Avail our free trial service to know more.
Stock Tips

Anonymous's picture

It is better to take sure shot stock tips or advices from someone before investing in Stocks and Commodities market instead of losing money and then regretting.
We at Capitalstars Financial Research Pvt. Ltd. Do this for you and help you make profit in stocks and commodities market. Our technical analysis team is an experienced one and provides sure shot stock recommendation with 90-95% accuracy rate. Avail our free trial service to know more.

Anonymous's picture

Hi ,

I must say thanks for sharing your blogs and articles ,they all are very useful for me.

thanks metrogyl
http://supernsetips.com

Foxkeh

View Denis Lam's profile on LinkedIn