Display issues on website after selecting language [closed] - javascript

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
Our website has some display issues after selecting a language. Take This page for example. When we view the page in German, the following becomes clear:
The main slider is no longer able to slide
The language selector stops working
The middle section slider is half off the page and no longer able to slide.
I suspect a javascript issue after the language selection is made. Yet all files are loaded correctly. We do not know where to start looking for the issue.
I do not expect an immediate solution, but I hope that someone can point us in the right direction.

You should probably mention what technology you are using for the translations. Also the issue seems to be that you are using a sub-folder for each language. Ex: https://www.hollandmarineparts.nl works but https://www.hollandmarineparts.nl/nl doesn't.
It seems that the routes are broken for when you have a language other than default. (determined from the errors in the browser console)
EDIT: The route to yours plugins.js and scripts.js is breaking. It prints:
Uncaught SyntaxError: Unexpected token <
because it can't find them and it's returning index.html.

Related

java minecraft error unrecognized VM option UseConcMarkSweepGC [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
So i was trying to make my own Free Server so i watched a tutorial how to do that with Hamachi
so i tried then came this Error
i already tried to find where i can fix it or sth like that but i dont know yet.
Here is the link to the Tutorial i tried with .
https://www.youtube.com/watch?v=9RpA14YdEe0&t=154s
I´d be very happy if you can help me .
The CMS collector has been deprecated as of JDK9; you're on JDK16, and it's been entirely removed at this point. It is rather unlikely you want the CMS collector. That tutorial is rather hopelessly out of date if it is advising that you use it.
I suggest you use the Z Garbage Collector instead. It has similar properties (lots of very short collection cycles that don't freeze the entire VM), but is better. -XX:+UseZGC is how to turn it on.
It's that or downgrade to e.g. JDK8 which still has the old CMS.

not able to run modified js code in chrome dev tool [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I am not able to run the modified code, after modification still chrome is debugging older code. I can see the green color on the web page which denotes that its pointing to the local file saved in my system. But still not able to run the modified code. I am able to do so by using console to modify the js files.
I am really stuck for 3 days and now i am pretty confused whats going on. I searched on google but it seems not working.
Try the below steps-
• Clear the browser cache.
• In case you are using Visual Studio, clean and the rebuild the solution. Or do the equivalent if you are using any other IDE.

How can I determine which JavaScript file makes my website slow? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
My website is http://hoopweb.com/. It suddenly loads so slowly. I know that it is because of a JavaScript file. Can someone help find the file? I can't experiment on all files due to some reasons.
You can open the developer tools and check in the network tab exactly which script is taking the longest time to load.
And as mayersdesign said, too many scripts = too many requests = longer page load time.
http://v2.zopim.com/bin/v/widget_v2.195.js is particularly slow, but in general you simply have too many scripts and too many loading in the head and not the footer.

Page only loads CSS and JavaScript after refresh [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
The first time I load the page it's a mess and JavaScript functions don't work. The second time it looks ok and works.
Any brief idea what might be causing this behaviour? I'm using Backbone.js and jQUery Mobile if that makes a difference.
Sorry for no code, but I need to go to a meeting in a moment and the website is huge so I don't really know what part to show you.
If anybody knows why this is happening and doesn't need to see the code, please help.
UPDATE:
Here's what seems to be the answer: https://forum.jquery.com/topic/script-not-running-unless-i-refresh-page
Thank you for suggestions, I upvoted the ones that seem relevant.
It sounds like unmet dependencies: some of your functions probably run before the document is fully loaded and can't get their job done correctly (missing elements, etc..). The second time the function work beacuse the page is cached and so loaed in time before the function starts.
I'd start looking at the JavaScript console and post the errors here if you can't figure it out alone, but without proper informations what we could do is just poor absumptions.
Might be javascript source could not be fetched from the url given. You can do inspect element and see what's happening on console or network tab.

Facebook like and Tweet counter issue due to query string [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have added Facebook & Twitter likes/tweet count button on products page. But it have observed quiet strange behavior. When there is no like it appears like in fig01.
When i like, its likes added to all products likes (From 0 changed to 6), while twitter count remains to '0' as shown in below fig02.
The possible issue i think is that its ignoring query string value i.e. fig03
I will be grateful if someone tells me possible solution. thanks.
Kindly go to this URL and enter your URL to check is their any issue with your URL.
https://developers.facebook.com/tools/debug/
I was getting the same issue, because my page was session dependent, so i have made my page session independent then my Facebook like works absolutely fine.
May be you are getting that kind of page Redirect issue.

Categories

Resources