Link to home
Start Free TrialLog in
Avatar of kdschool
kdschool

asked on

help solave ajavascript error

I am using likno accordion builder to build a jquery menu.  It has a feature that allows the menu to appear relative to an image.  I am getting this error in the code when I view in Chrome.  The menu builder says to just use the file name not the path.

\"img[src$=\'LoadingAircraft3.gif\']\"elementCorner:0,   (line with error)

Chrome Browser says there is a syntax error on line 13 above

The file is in a directory called images/LoadingAircraft3.gif I tried using the full path in the code above and also moving the image to the root and get the same error.

Does someone know how to modify this line of code so it will work?  Not working in any browser.
Avatar of kdschool
kdschool

ASKER

Chrome also has a pop up that says uncaught syntax error: unexpected identifier
Avatar of Julian Hansen
You are going to need to give us a little more info than that - can you post a link to the site?
I can't it inside the firewall.    Let me create a page with just the image and the code and attach that to simplify it.
Or paste the html from the page (view source).
Here is a test page with just a triangle on it.  I attached the .js file and the html file and also the chrome error that points to that one line of code.
Test.html
testjsfile.js
Line-13-Chrome-same-error.docx
Can you post a link to the documentation where it describes how to do this.

That property name does not look legal - what is the basis for constructing it like that.
likno.com accordion menu.  allows you to build menu using interface, compile js and store locally.  Has free trail membership.
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
http://www.likno.com/jquery-accordion/index.php

You see at bottom it says postion float to any corner of an image.
Julian  I found another way to do this.  I know it's asking to much without being able to see all the code and the site.  I am rewarding you the point for your efforts.
Thank you - good luck with it.