PhotoDune

IE8 Stack Overflow at Line:0

3374 posts
  • Australia
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Sold between 1 000 and 5 000 dollars
Australia says

Personally, I would invoke separate gallerys using ajax. If the client MUST have that many images..

20+ images ranging in the 50-100kb each range is asking a lot

11 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
BSim says

I am not familair with ajax. Will to investigate, though.

Is this an issue because the page sends a request? The client has 4 galleries: 1- 8 images 2- 19 images 3- 2 images 4- 20 images

If I limit each slide show to 14 images, is it per page, or total/cumulative “requests”? Thank you, once again.

3374 posts
  • Australia
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Sold between 1 000 and 5 000 dollars
Australia says

Ajax requests are client side, so all libraries get loaded on page load. In whatever order you set .

If you split the images up, by means of tabs you could request gallerys using ajax, but I dont think thats the issue here. I think perhaps its just a bit of tweaking thats needed, either to the images, number of phycial requests or whatever .. thats why lazy loading became and is so popular, but Im no expert on image sliders.

Ajax example. http://coolcarousels.frebsite.nl/c/12/

11 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
BSim says

In search on another slide show only to find this very one I am wrestling with – stating: •Able to load unlimited number of images, each with customizable text description, tooltip, and hyperlink.

Hope someone from the company will reply to email.

5007 posts The Dude Abides
  • United States
  • Elite Author
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Contributed a Tutorial to a Tuts+ Site
  • Author had a Free File of the Month
+4 more
CodingJack says

Run the code through this:

http://closure-compiler.appspot.com/home

and it might tell you a few warnings specific to IE. IE8 also has problems with memory leaks and you might need to use a debug tool inside IE8 to try and get more details. But I’d start with testing the download source as is outside of your website to see if you get the same result. Because the error could be unrelated to the banner, and instead just halting the execution of the banner script.

11 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
BSim says

This is new to me, please pardon my ignorance. Below is my action. If this was written by CodeCanyon, wouldn’t they address the warnings (below)? Since I don’t write javascript this is overwhelming to find the error in the time frame I have.

I ran this js file http://184.173.230.60/~masterwo/js/jquery-1.7.1.min.js and returned these results: Number of warnings: 6

JSC _SUSPICIOUS_SEMICOLON: If this if/for/while really shouldnt have a body, use {} at line 2 beyond character 4095 in jquery-1.7.1.min.jsJSC_USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 2 beyond character 4095 in jquery-1.7.1.min.jsJSC_USELESS_CODE: Suspicious code. This code lacks side-effects. Is there a bug? at line 2 beyond character 4095 in jquery-1.7.1.min.jsJSC_SUSPICIOUS_SEMICOLON: If this if/for/while really shouldnt have a body, use {} at line 3 beyond character 4095 in jquery-1.7.1.min.jsJSC_USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 3 beyond character 4095 in jquery-1.7.1.min.jsJSC_USELESS_CODE: Suspicious code. This code lacks side-effects. Is there a bug? at line 3 beyond character 4095 in jquery-1.7.1.min.js

second js http://184.173.230.60/~masterwo/js/jquery.wt-rotator.min.js: JSC _USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 1 character 1066 in jquery.wt-rotator.min.js…updatelist”;var A=a(7);function c(G){this.$stripes;this._arr;this._total;... JSC _USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 1 character 1081 in jquery.wt-rotator.min.js… A=a(7);function c(G){this.$stripes;this.arr;this._total;this._intervalI… JSC _USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 1 character 1091 in jquery.wt-rotator.min.js…nction c(G){this.$stripes;this.arr;this._total;this._intervalId=null;thi… JSC _USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 1 character 3750 in jquery.wt-rotator.min.js…d=null}},this._delay)};function v(G){this.$stripes;this.arr;this._total;... JSC _USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 1 character 3765 in jquery.wt-rotator.min.js…delay)};function v(G){this.$stripes;this.arr;this._total;this._intervalI… JSC _USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 1 character 3775 in jquery.wt-rotator.min.js…nction v(G){this.$stripes;this._arr;this._total;this._intervalId=null;thi… JSC _WRONG_ARGUMENT_COUNT: Function parseInt: called with 1 argument(s). Function requires at least 2 argument(s) and no more than 2 argument(s). at line 1 beyond character 4095 in jquery.wt-rotator.min.jsJSC_INEXISTENT_PROPERTY: Property mousedown never defined on ? at line 1 beyond character 4095 in jquery.wt-rotator.min.jsJSC_USELESS_CODE: Suspicious code. The result of the ‘getprop’ operator is not being used. at line 1 beyond character 4095 in jquery.wt-rotator.min.jsJSC_NOT_A_CONSTRUCTOR: cannot instantiate non-constructor at line 1 beyond character 4095 in jquery.wt-rotator.min.js

5007 posts The Dude Abides
  • United States
  • Elite Author
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Contributed a Tutorial to a Tuts+ Site
  • Author had a Free File of the Month
+4 more
CodingJack says

Don’t worry about the jQuery file, but change the banner script to the non-minified version for better debugging. Also, you should confirm that the same behaviour can be produced when testing the original source files (i.e. not added to your web page yet).

3374 posts
  • Australia
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Sold between 1 000 and 5 000 dollars
Australia says
I just ran your non minified js thru jslint. http://184.173.230.60/~masterwo/js/jquery.wt-rotator.js http://www.jslint.com/

Seems theres a lot of errors .. or bugs that may need fixing

11 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
BSim says

I am seeing a lot of errors, too. running the wt-rotator js file.

Just tested the original downloaded tests file – switched to NON minified as suggested – increased the images to 20+ and immediately get the Stack Overflow on IE8 .

5007 posts The Dude Abides
  • United States
  • Elite Author
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Contributed a Tutorial to a Tuts+ Site
  • Author had a Free File of the Month
+4 more
CodingJack says

Just tested the original downloaded tests file – switched to NON minified as suggested – increased the images to 20+ and immediately get the Stack Overflow on IE8 .

so you only get the error when the image count is increased? How are the images added/declared? If in a JavaScript Array, my first guess would be that the last Array item ends with a comma, which IE8 doesn’t like.

by
by
by
by
by