*** SOLVED *** Show with effect problem

Issues related to previewing and publishing your web site.
Post Reply
PhilG
 
 
Posts: 21
Joined: Mon Dec 15, 2014 1:37 pm
Location: Wiltshire, UK

*** SOLVED *** Show with effect problem

Post by PhilG »

I have just updated to 18.4.0 and have found the "show with effect" event doesn't work.
It functions without the effect.
I have tried creating a new project with just one object on a page (Layer, Text..) and added a show with effect in the page onload event to no effect (just show)
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Show with effect problem

Post by Pablo »

Version 18.4 uses a new version of jQuery, so maybe you did not publish all files?
If you need further assistance then please provide a demo.
PhilG
 
 
Posts: 21
Joined: Mon Dec 15, 2014 1:37 pm
Location: Wiltshire, UK

Re: Show with effect problem

Post by PhilG »

User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Show with effect problem

Post by Pablo »

The layer is already visible, so what did you expect to happen?
For 'show with effect' to work, you will need to hide the layer first.

Also, 'onload' is not the right way to trigger jQuery scripts, because not all scripts may have been loaded yet.
It is better to use 'ondocumentready' instead.
PhilG
 
 
Posts: 21
Joined: Mon Dec 15, 2014 1:37 pm
Location: Wiltshire, UK

Re: Show with effect problem

Post by PhilG »

your right sorry.. however this is not the case in the website i have been developing for sometime.
All was ok when I was using 18.3
I need to find a way of replicating the problem within a cut down version of my website.
As an aside I first thought it might be a jquery problem and updated to the latest version but it didnt help.
I will be in touch when I get closer to finding a solution.
Thanks
PhilG
 
 
Posts: 21
Joined: Mon Dec 15, 2014 1:37 pm
Location: Wiltshire, UK

Re: Show with effect problem

Post by PhilG »

Problem solved...
You were right..
I thought I had published all files, which I normally do after an update, but on investigation I dont think I did.
Thanks for your help.
Post Reply