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
- Bought between 1 and 9 items
- Has been a member for 1-2 years
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.
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/
- Bought between 1 and 9 items
- Has been a member for 1-2 years
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.
- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
Run the code through this:
http://closure-compiler.appspot.com/homeand 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.
- Bought between 1 and 9 items
- Has been a member for 1-2 years
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: 6JSC _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
- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
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).
Seems theres a lot of errors .. or bugs that may need fixing
- Bought between 1 and 9 items
- Has been a member for 1-2 years
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 .
- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
BSim said
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.
