Jump to content
Shinori

No idea whats wrong here

Recommended Posts

	function create_shop_part(1,"/test/images/csgo.jpg",0.006,1,2,20,1,0.067,512,512,4096,512);
				}
			}
			function create_shop_part(1,imgsrc,input1name,input1step,input1min,input1max,input1value,input2name,input2step,input2min,input2max,input2value)
			{

Error msg: Uncaught SyntaxError: Unexpected number

Browser: Chrome latest

Any idea whats going wrong here ?

Share this post


Link to post
Share on other sites

Its expecting a parameter variable not a actual number, that should be the argument passed on the calling of function (NOTE: without the actual 'function' at beginning).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×