|
Answer» Hi,
Im having trouble with a slider animation on my homepage after updating wordpress. I have test the site USING firebug and it found two java errors.
I have TAKEN the file onto jslint to FIND more information what could be causing the error however i cannot figure out what is causing the script to break down.
link to the FULL version of the file : http://pastebin.com/PYDEByXE
Please let me know if I am missing any information
ThanksYou can't expect someone to trawl through all that code to find the error. You will need to at the very minimum post the full error that is occurring or even better provide a link to the live site.Thanks Camerongray for your reply.
the error im getting with firebug using firefox :
Code: [Select]TypeError: e.Tween is undefined blocked...r=1.1.6 (line 11, col 19573)
TypeError: window.Core is undefined test.ya...nik.com (line 422, col 4) error LIST from jslint :
Code: [Select]Missing 'use strict' statement.
str = "";
line 14 character 9 Expected 'for' at column 5, not column 9.
for (j = 0; j <= 3; j++) str += hex_chr.charAt(e >> j * 8 + 4 & 15) + hex_chr.charAt(e >> j * 8 & 15);
line 14 character 14 'j' was used before it was defined.
for (j = 0; j <= 3; j++) str += hex_chr.charAt(e >> j * 8 + 4 & 15) + hex_chr.charAt(e >> j * 8 & 15);
line 14 character 21 'j' was used before it was defined.
for (j = 0; j <= 3; j++) str += hex_chr.charAt(e >> j * 8 + 4 & 15) + hex_chr.charAt(e >> j * 8 & 15);
line 14 character 29 'j' was used before it was defined.
for (j = 0; j <= 3; j++) str += hex_chr.charAt(e >> j * 8 + 4 & 15) + hex_chr.charAt(e >> j * 8 & 15);
line 14 character 30 Unexpected '++'.
for (j = 0; j <= 3; j++) str += hex_chr.charAt(e >> j * 8 + 4 & 15) + hex_chr.charAt(e >> j * 8 & 15);
line 14 character 34 Expected '{' and instead saw 'str'.
for (j = 0; j <= 3; j++) str += hex_chr.charAt(e >> j * 8 + 4 & 15) + hex_chr.charAt(e >> j * 8 & 15);
line 14 character 34 Stopping. (0% scanned).
global rhex
line 12 rhex parameter e
link to the live site : http://test.yankrupnik.com
The slider thats not working is right at the top of the homepage there are 3 images.
Thanks again
|