New Java Script in Header

Hi.

I need to insert a JS in the head section but it cause a clash with other JS function in Dolphin. Is there a way I can still run my JS to get my JS Blocks to work on my Home Page..

JS I need to enter is...

 

<script type='text/javascript' src='//samcloudmedia.spacial.com/webwidgets/widget/v5/spacialwidget.js?lib=5&his=5&queue=10&hours=8&art=true&hideComments=true&themeType=defined&theme=metallic&showBuyButton=populated'></script>

Quote · 4 Nov 2020

Hello Rusty!

 

Please specify about this part: "but it cause a clash with other JS function in Dolphin"? Because it may cause the troubles with another way to insert too.

Quote · 4 Nov 2020

Hi Leonid,

 

Yes the JS is for my Radio Station Widgets that I've loaded to the Home Page See www.stereo1.co.za with the assistance of Anton, Tx Anton :-)  It does seize a lot of functions like the login for example... I guess it is not an easy thing to resolve but I'll try my best to solve it.. 

Regards

Rusty

Quote · 5 Nov 2020

So if you insert it to your Header section, what error do you have?

Quote · 5 Nov 2020

Things like the Login top right seize to work for example. I guess there are much more that will fail but I need to overcome this first obstacle first..

Quote · 5 Nov 2020

From what i can see, that script your using pulls another script from their site which appears to include a copy of jquery and various jquery scripts. Dolphin already has and uses jquery. That script is loading another copy of jquery which is the cause of all your issues.

You will need to contact them to see if they have a version of the script for sites that already have jquery, or you could try it in a page block with a iframe which may not provide the proper affect.

In any case, it appears that script is not compatible with sites that already include and use the jquery library.

https://www.deanbassett.com
Quote · 6 Nov 2020

Thanks Dean...

God Bless

Rusty

Quote · 9 Nov 2020
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.