Welcome to the jKit community. This is the place to discuss everything on and around jKit. Be friendly and I’m sure other members will be friendly with you, too.
Add fade option to ajax
  • Hi, I use the ajax jkit effect on my page. Everything works fine but I would like to know how could I add the fade option to ajax? I don’t know how I should write the option for fade (instead of the default slide).

    Thank you

  • Something like this should work:

    <a 
        href="../stuff/ajax_sample_content_1.html" 
        data-jkit="[ ajax: animation=fade; speed=500; element=#ajaxdiv ]"
    >Link 1</a>
    <div id="ajaxdiv">
        Initial text ...
    </div>
    
    Creator of jKit – www.fredibach.ch
  • Yes it works. Thank you. Problem solved