Reputation: 1
I know, this question has already been asked and answered, but it didn't help me.
When you visit my site, you will get the error:
XMLHttpRequest cannot load http://www.criminalwar.nl/gangster/Avicii. Origin http://martijng.webklik.nl is not allowed by Access-Control-Allow-Origin.
(BTW Avicii is my playername on that game, so i changes every time)
How do I fix this? I had some bugs (around 10-20) and this is the last one but i dont know how to fix it..
It is a CSS based script.
Upvotes: 0
Views: 885
Reputation: 43810
IF i understand correctly you are trying to do an ajax request on criminalwar.nl,
It is not working because the website is on a different domain. Try to add the request on your own domain or you can read more about cross domain ajax here
And this is not a css problem it is a javascript and security feature
Upvotes: 1