Jump to content

how to enable jquery effects on my custom cms pages..


siddaramesh

Recommended Posts

hi,

    i want to add fade in and fade out effect's on my cms pages, i added code in the page content but code does not effecting in front end...

i added this code

 

<script>
$(document).ready(function(){
    $("#div1").fadeIn();
    $("#div2").fadeIn(2000);
    $("#div3").fadeIn(3000);
  });
</script>
 
here, div1, div2 and div3 are id's of <div> tag..
please tell me how to enable this effect in cms pages...
 
thank you...
Edited by siddaramesh (see edit history)
Link to comment
Share on other sites

Ok, it's possible that the JavaScript code is deleted once you have saved the changes, back to the TinyMCE editor in the CMS content and check if the JavaScript code is there, if code was deleted you will need disable the HTMLPurifier Library on: BO > Preferences > General > Use HTMLPurifier Library

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...