• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Problem with External site border or JQuery

SauliusZ

Basic Pleskian
We have Parallels Presence Builder 11.5.11 on CentOS.
There is a problem with External site border. When we add a border in builder it shows ok, but on published website the border shows only on top. It seems that .watermark-content does not get height from javascript. It might be the problem with JQuery, because in DOM we see:
jQuery undefined
also $ undefined
But the file jquery.min.js loads ok.

So how to fix it?
The website would be http://www.vizsla-eu.lt/en/. Tried with other website, the same problem.
 
Hi there.

Your site looks very nice :)

Currently I see there another JS-error: Uncaught ReferenceError: getCookie is not defined.
As I can see this issue caused by incorrect order of included js-files.

It should be:
Code:
	<script src="{baseUrl}js/helpers.js"></script>
	<script src="{baseUrl}js/style-fix.js"></script>

But on your site I see:
Code:
	<script src="{baseUrl}js/style-fix.js"></script>
	<script src="{baseUrl}js/helpers.js"></script>

Did you changed files yourself after publishing?
 
No, I didn`t change files. I have also tried with another website and I`ve got the same problem.

I have tried to change file order after publishing, but it did not help.

So I`ve changed helpers.js file by adding $(document).ready() script. Other way the default script does not get elements
 
Back
Top