beshoo
Posts: 68
|
| Posted: 07/17/2009, 2:52 AM |
|
Dear Flock ,
all we know that CCS is using prototype in the Ajax update panel .
the problem appear when i start using jquery .
i do fix the conflect between to lib by using noconflect order in the jquery .
now :
i have a UpdatePanel - when the user hit sort ! or any thing (like inserting an new record ) to active the ajax function the loding tip is appear , and disappear .
that is fine !
but if i put some thing like :
function do_hide(){
jQuery(function() {
jQuery('#effect_hide').hide("blind","",1000);
});
}
function do_show(){
jQuery(function() {
jQuery("#effect_hide").css("visibility", "visible");
jQuery('#effect_hide').show("blind","",1000,setTimeout("do_hide()",4000));
});
}
setTimeout(do_show(),300);
the effect is appear , with no problem , but the loading tip is not hide and wehn you press the button to insert a new record "if you are in the record mode" the page will refresh .
BTW i did load the jquery before prototype as following :
<script src="{RelativePath}/js/jq/jquery.js" type="text/javascript"></script>
<script type="text/javascript" src="{RelativePath}/js/jq/ui/ui.core.js"></script>
<script>
jQuery.noConflict();
</script>
please advice
_________________
beshoo Love PHP and CC 4.2 |