Course curriculum on sales page

Home Forums Legacy Support Support queries Setup issues Course curriculum on sales page

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #11093
    Anshuman Sahu
    Keymaster
    Add the html in the text mode of wp-editor : refer :  http://prntscr.com/97u8v1 And then just add the script given in the tip in your wplms -> footer -> google analaytics code :     jQuery(document).ready(function(){ jQuery('.ajax_unit').magnificPopup({ type: 'ajax', alignTop: true, fixedContentPos: true, fixedBgPos: true, overflowY: 'auto', closeBtnInside: true, preloader: false, midClick: true, removalDelay: 300, mainClass: 'my-mfp-zoom-in', callbacks: { parseAjax: function(mfpResponse) { mfpResponse.data = jQuery(mfpResponse.data).find('.unit_wrap'); }, ajaxContentAdded: function() { // jQuery('video,audio').mediaelementplayer(); jQuery('.fitvids').fitVids(); jQuery('.tip').tooltip(); jQuery('.nav-tabs li:first a').tab('show'); jQuery('.nav-tabs li a').click(function(event){ event.preventDefault(); jQuery(this).tab('show'); }); } } }); });      
    #11615
    Kupka
    Spectator
    Please see result: http://tinyurl.com/py3kbsd and http://tinyurl.com/olqawkw   Would appreciate help! thanks
    #11759
    Anshuman Sahu
    Keymaster
    You just need to add this script in your google anaylitics code in wplms -> footer : <script> jQuery(document).ready(function(){ jQuery('.ajax_unit').magnificPopup({ type: 'ajax', alignTop: true, fixedContentPos: true, fixedBgPos: true, overflowY: 'auto', closeBtnInside: true, preloader: false, midClick: true, removalDelay: 300, mainClass: 'my-mfp-zoom-in', callbacks: { parseAjax: function(mfpResponse) { mfpResponse.data = jQuery(mfpResponse.data).find('.unit_wrap'); }, ajaxContentAdded: function() { // jQuery('video,audio').mediaelementplayer(); jQuery('.fitvids').fitVids(); jQuery('.tip').tooltip(); jQuery('.nav-tabs li:first a').tab('show'); jQuery('.nav-tabs li a').click(function(event){ event.preventDefault(); jQuery(this).tab('show'); }); } } }); }); </script> And then just need to put this link like : <a href="link to your unit" class="ajax_unit"><button>open unit </button></a>  
Viewing 3 posts - 16 through 18 (of 18 total)
  • The topic ‘Course curriculum on sales page’ is closed to new replies.