VirtualSky icon indicating copy to clipboard operation
VirtualSky copied to clipboard

runing problem

Open hmovahedim opened this issue 4 years ago • 5 comments

Hello I have this problem. Can you help me ? image

hmovahedim avatar Dec 06 '21 11:12 hmovahedim

Hi @hmovahedim I'm not a core maintainer of this project. However, I suspect you're trying to invoke something too early in the lifecycle of the page.

Could you give an example of your instantiation of "S"...

You may need something like this:

S(document).ready(function(){}

michealroberts avatar Dec 06 '21 11:12 michealroberts

Hi @hmovahedim I'm not a core maintainer of this project. However, I suspect you're trying to invoke something too early in the lifecycle of the page.

Could you give an example of your instantiation of "S"...

You may need something like this:

S(document).ready(function(){}

I put this in S(document).ready(function(){}) but it isn't work. May this depend to jquery version ?

hmovahedim avatar Dec 06 '21 11:12 hmovahedim

Have you added this as well before the virtualsky.js script element?

<script src="stuquery.min.js"></script>

If yes, are both of these scripts locally available in your project root?

michealroberts avatar Dec 06 '21 11:12 michealroberts

Hello @hmovahedim, did you try to follow the instructions at https://slowe.github.io/VirtualSky/? That's a good place to start.

Your error message seems to suggest that you haven't included stuquery (which is included in this repo). Note that jQuery is not used in this project so your version of jQuery (that you are presumably including for other reasons) shouldn't matter.

slowe avatar Dec 06 '21 11:12 slowe

Thank.

hmovahedim avatar Dec 07 '21 06:12 hmovahedim