WebSite X5Help Center

 
Peter Hansson
Peter Hansson
User

Script don´t work after upgrade to 13  en

Автор: Peter Hansson
Просмотрено 2338, Подписчики 1, Размещенный 0  

I use images to the background that is changed by a script. It stopped working after I upgraded to version 13. I can not find the problem.

http://www.ph-design.se/ny/

Размещено
7 Ответы - 1 Полезно
Paul M.
Paul M.
Moderator

Hello Peter,

There have been some changes between versions 12 and 13.

Please read the following two documents, which should make these changes clear:

https://helpcenter.websitex5.com/ru/post/154023

http://static.incomedia.eu/websitex5.com/pdf/EN/v12tov13EN.pdf

Please also note that the slideshow in the header has been discontinued.

Unfortunately Incomedia cannot offer support for custom scripts.

Kind regards,

Paul

Читать больше
Размещено От Paul M.
Peter Hansson
Peter Hansson
User
Автор

I can find no answer to my problem. Can not run scripts in version 13? You must be able to identify where the problem is.

Читать больше
Размещено От Peter Hansson
Peter Hansson
Peter Hansson
User
Автор

and this!

Читать больше
Размещено От Peter Hansson
Paul M.
Paul M.
Moderator

Official support from Incomedia is available only for the native features in the software itself.

I would suggest contacting the author of the scripts, in the first instance.

Failing that, a member of the community may be able to assist you with your problem.

Best wishes...

Читать больше
Размещено От Paul M.
 lemonsong  
 lemonsong  
User

Hi Peter (I'm sorry for my bad English),

WebSite X5 13 use the jQuery library 3.0
This library removed deprecated event like .load therefore you need change your code:

$(window).on("load", function(){

For more info:

https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/ (Removed deprecated event aliases).

Читать больше
Размещено От  lemonsong  
Paul M.
Paul M.
Moderator

Thanks for your input, lemonsong... your English is fine!

Читать больше
Размещено От Paul M.
Peter Hansson
Peter Hansson
User
Автор

Thanks lemonsong for the help. this do the trickwink

Читать больше
Размещено От Peter Hansson