|
http://www.mxdgf.com/bbs/forum.php这是我的论坛
DISCUZ X2.5 我想装下面这个插件代码,应该怎么操作??
<!-- phpdisk upload plugin -->
<script type="text/javascript" src="http://www.nyhx.com/includes/js/jquery.js"></script>
<script type="text/javascript">var jq = jQuery.noConflict();</script>
<script type="text/javascript" src="http://www.nyhx.com/includes/js/jquery.mybox2.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" />
<script type="text/javascript">
var upload_url = 'http://c2.nyhx.com:11036/plugin_upload.php?uid=19910&folder_id=4204&plugin_type=dx2&hash=5f2ecd6833b1f56f0e416c6cdee3f074';
function get_my_last(){
if(document.getElementById('pd_fl_box').style.display==''){
document.getElementById('pd_fl_box').style.display='none';
}else{
jQuery.getScript('http://c2.nyhx.com:11036/callback.php?uid=19910&folder_id=4204&plugin_type=dx2&hash=5f2ecd6833b1f56f0e416c6cdee3f074&t='+ Math.random(),
function(){
document.getElementById('pd_fl_box').innerHTML = lang_upload_tips;
document.getElementById('pd_fl_box').innerHTML += callback;
document.getElementById('pd_fl_box').style.display = '';
}
);
}
}
jq(document).ready(function(){
jq('<div class="pd_b_box"><a href="'+upload_url+'" id="a_phpdisk_upload"></a> <a href="javascript:;" id="a_phpdisk_fl"></a></div><div class="clear"></div><div id=\'pd_fl_box\' style="display:none"></div><br>').insertBefore('#attachnotice_attach');
show_box('a_phpdisk_upload',lang_btn_txt,upload_url,500,350);
});
</script>
<!-- end -->
|
|