Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //NEW FOLDER
- $('#lfd').live('click', function(e) {//form button
- $.post( $("#frm1").attr("action"),//form
- $("#frm1 :input").serializeArray(),//form input
- function(info){
- $("#ui_info_anim_s").html(info);//popup
- $("#afolder").css("display","none");
- $("#fn_nameid").val('New Folder');
- //a lot of animation stuff for popup
- $("#ui_info_anim_s").animate({top: '40px'}, 'slow', function() {
- $('#load_anim_privf').fadeIn( 500);
- $('#load_anim_pubf').fadeIn( 500);
- $('#load_anim_privf').fadeOut(1000,function(){});
- $('#load_anim_pubf').fadeOut( 500);
- $(this).delay(3000).animate({top: '+=40px',opacity:'0','filter':'alpha(opacity=0)'},'slow',function(){
- $(this).css({"top": "-42px","margin-top": "-42px", "opacity": "1","filter":"alpha(opacity=0)" });
- });});
- });
- loadUp(1,'.ui_treetype','');// Reloading func
- });
- $("#frm1").submit( function() {
- return false;
- });
- function loadUp($type,$classid,$args){//RELOADING
- $($classid).load('/refresh.php?type='+$type+'&args='+$args).fadeIn("fast");
- }
- // It returns echo of php file that should be reloaded..and after that i added $.getScript(../../late.js) lines..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement