parent
							
								
									1399e0c822
								
							
						
					
					
						commit
						784e1db4b7
					
				@ -1,48 +1,47 @@ | 
				
			|||||||
/* For licensing terms, see /license.txt */ | 
					/* For licensing terms, see /license.txt */ | 
				
			||||||
/* | 
					 | 
				
			||||||
 Learning Path minipanel - Chamilo 1.8.8 | 
					 | 
				
			||||||
 Adding mini panel to browse Learning Paths | 
					 | 
				
			||||||
 Requirements: JQuery 1.4.4, JQuery UI 1.8.7 | 
					 | 
				
			||||||
 @author Alberto Torreblanca @albert1t0 | 
					 | 
				
			||||||
 @author Julio Montoya Cleaning/fixing some code | 
					 | 
				
			||||||
 @author Alex Aragon Cleaning/fixing code update | 
					 | 
				
			||||||
 **/ | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(document).ready(function(){ | 
					/** | 
				
			||||||
 | 
					    Learning Path minipanel - Chamilo 1.8.8 | 
				
			||||||
 | 
					    Adding mini panel to browse Learning Paths | 
				
			||||||
 | 
					    Requirements: JQuery 1.4.4, JQuery UI 1.8.7 | 
				
			||||||
 | 
					    @author Alberto Torreblanca @albert1t0 | 
				
			||||||
 | 
					    @author Julio Montoya Cleaning/fixing code | 
				
			||||||
 | 
					    @author Alex Aragon Cleaning/fixing code update | 
				
			||||||
 | 
					**/ | 
				
			||||||
 | 
					
 | 
				
			||||||
   $('#touch-button').click(function(){ | 
					$(document).ready(function() { | 
				
			||||||
 | 
					
 | 
				
			||||||
        $('#learning_path_left_zone').toggle("slow",function(){ | 
					    $('#touch-button').click(function() { | 
				
			||||||
                $('#learning_path_right_zone').toggleClass('total'); | 
					        $('#learning_path_left_zone').toggle("slow", function(){ | 
				
			||||||
                $(function(){ | 
					            $('#learning_path_right_zone').toggleClass('total'); | 
				
			||||||
                    $('#learning_path_right_zone').slideToggle(300); | 
					            $(function(){ | 
				
			||||||
                    $('#control-bottom').toggle("slow"); | 
					                $('#learning_path_right_zone').slideToggle(300); | 
				
			||||||
                }); | 
					                $('#control-bottom').toggle("slow"); | 
				
			||||||
        } | 
					            }); | 
				
			||||||
        ); | 
					        }); | 
				
			||||||
       $(this).toggleClass('show-touch'); | 
					        $(this).toggleClass('show-touch'); | 
				
			||||||
       $('#learning_path_right_zone').slideToggle(300); | 
					        $('#learning_path_right_zone').slideToggle(300); | 
				
			||||||
   }); | 
					    }); | 
				
			||||||
    //effects items scorm content
 | 
					
 | 
				
			||||||
    $('.scorm_item_normal').click(function(){ | 
					    // effects items scorm content
 | 
				
			||||||
 | 
					    $('.scorm_item_normal').click(function() { | 
				
			||||||
        $('#learning_path_right_zone').fadeOut(300); | 
					        $('#learning_path_right_zone').fadeOut(300); | 
				
			||||||
        setTimeout(function(){ | 
					        setTimeout(function(){ | 
				
			||||||
            $('#learning_path_right_zone').fadeIn(300); | 
					            $('#learning_path_right_zone').fadeIn(300); | 
				
			||||||
        },300); | 
					        },300); | 
				
			||||||
 | 
					 | 
				
			||||||
    }); | 
					    }); | 
				
			||||||
    $('.scorm-previous').click(function(){ | 
					
 | 
				
			||||||
 | 
					    $('.scorm-previous').click(function() { | 
				
			||||||
        $('#learning_path_right_zone').fadeOut(300); | 
					        $('#learning_path_right_zone').fadeOut(300); | 
				
			||||||
        setTimeout(function(){ | 
					        setTimeout(function(){ | 
				
			||||||
            $('#learning_path_right_zone').fadeIn(300); | 
					            $('#learning_path_right_zone').fadeIn(300); | 
				
			||||||
        },300); | 
					        },300); | 
				
			||||||
 | 
					 | 
				
			||||||
    }); | 
					    }); | 
				
			||||||
    $('.scorm-next').click(function(){ | 
					
 | 
				
			||||||
 | 
					    $('.scorm-next').click(function() { | 
				
			||||||
        $('#learning_path_right_zone').fadeOut(300); | 
					        $('#learning_path_right_zone').fadeOut(300); | 
				
			||||||
        setTimeout(function(){ | 
					        setTimeout(function(){ | 
				
			||||||
            $('#learning_path_right_zone').fadeIn(300); | 
					            $('#learning_path_right_zone').fadeIn(300); | 
				
			||||||
        },300); | 
					        },300); | 
				
			||||||
 | 
					 | 
				
			||||||
    }); | 
					    }); | 
				
			||||||
}); | 
					}); | 
				
			||||||
 | 
				
			|||||||
					Loading…
					
					
				
		Reference in new issue