我无法在div中显示可分类项目的占位符.
<script type="text/javascript">
$(function() {
$("#userContent").sortable({
handle: '.close_button',
connectWith: '#userContent',
placeholder: 'placeholder',
forcePlaceholderSize: true,
tolerance: 'pointer',
revert: true,
});
});
</script>
<style type="text/css">
.webtitle_paragraphs {
width:98%;
float:left;
border:1px solid #0099CC;
margin:5px;
}
.close_button {
display:block;
overflow:visible;
visibility:visible;
height:20px;
background:#0099CC;
width:100%;
}
.placeholder {
background: #f0f0f0;
border:1px dashed #ddd;
visibility: visible !important;
}
.webtitle input {
width:98%;
font: bold 20px verdana;
border:0px;
}
.paragraph_txt textarea {
width:98%;
height:auto;
border:0px;
}
</style>
<div id="userContent">
<div class="webtitle_paragraphs" id="div4463_text">
<div class="close_button" id="close_4463"><a onclick="removeDiv('div4463_text');"><img src="images/close_button.png" …Run Code Online (Sandbox Code Playgroud)