Jump to content


Photo
- - - - -

Turn off Propricing animation?


Best Answer Simon_P , 24 June 2014 - 04:54 PM

You were on the right sort of lines, this is what does the trick though:

<script>
jQuery(document).ready(function(){
    jQuery('.section-propricing .pl-animation').removeClass('pl-animation pl-appear');
})
</script>

Go to the full post


  • Please log in to reply
10 replies to this topic

#1 jane

jane

    Advocate

  • Members
  • 347 posts
  • Country: Country Flag

Posted 20 June 2014 - 01:06 PM

Would the following work?

 

<script>
jQuery(document).ready(function(){
    jQuery('.section-propricing').removeClass('span12  pp-plan pl-animation pl-appear pl-base pl-border fix pla-group animation-loaded');
});
</script>



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 17015 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 21 June 2014 - 08:40 AM

Hi,

 

Have you tried it ? :D



#3 jane

jane

    Advocate

  • Members
  • 347 posts
  • Country: Country Flag

Posted 21 June 2014 - 01:29 PM

No, not yet... I just wanted someone to verify that it's correct before I add it! Didn't want to break my site :-D

 

 

EDIT: OK, added it...and it didn't work :-)



#4 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 23 June 2014 - 01:34 AM

Have you tried any other versions of this? Maybe just with 'animation-loaded'



#5 jane

jane

    Advocate

  • Members
  • 347 posts
  • Country: Country Flag

Posted 23 June 2014 - 01:37 AM

HI @Martin Davies, no I haven't yet because I'm not sure how to edit it



#6 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 23 June 2014 - 01:41 AM

try adding just 

 
removeClass('pl-animation');

to your script 

 

I haven't tried this but my shift is just about to end so i will give this a try first thing monday and then update you. You could give it a try (remember to backup first) and let me know how you get on 



#7 jane

jane

    Advocate

  • Members
  • 347 posts
  • Country: Country Flag

Posted 24 June 2014 - 02:33 PM

Unfortunately it didn't work

 

try adding just 

 
removeClass('pl-animation');

to your script 

 

I haven't tried this but my shift is just about to end so i will give this a try first thing monday and then update you. You could give it a try (remember to backup first) and let me know how you get on 

Unfortunately, it didn't work @Martin Davies



#8 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 24 June 2014 - 04:45 PM

@jane

Back to the drawing board. Will update you shortly.

#9 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 24 June 2014 - 04:54 PM   Best Answer

You were on the right sort of lines, this is what does the trick though:

<script>
jQuery(document).ready(function(){
    jQuery('.section-propricing .pl-animation').removeClass('pl-animation pl-appear');
})
</script>



#10 jane

jane

    Advocate

  • Members
  • 347 posts
  • Country: Country Flag

Posted 24 June 2014 - 05:38 PM

That did it, thank you @Simon_P!



#11 GabrielHeffes

GabrielHeffes

    Newbie

  • Members

  • 2 posts
  • LocationCalgary
  • Framework Version:DMS 2
  • Country: Country Flag

Posted 21 August 2014 - 04:23 AM

Hi I am sorry if this question is a bit 'dumb'

 

but where in DMS or WordPress do I instert this  -

 

<script>
jQuery(document).ready(function(){
    jQuery('.section-propricing .pl-animation').removeClass('pl-animation pl-appear');
})
</script>

 

To remove the ProPricing Anmimation??

 

Thanks :)