0
이 내 페이지 크기 조정 기능이 폭 :크기 조정 신청 만 개 이상의가 1024px
$(function() {
$("#droppable").droppable({
create: function(event, ui) {$(this).hide(0)}
});
$("#droppable").on("dropover", function(event, ui) { $(this)
$(this).text('¿Eliminar?')});
$(".panel").draggable();
$("#droppable").droppable({
activeClass: "ui-state-default",
hoverClass: "ui-state-hover",
drop: function(event, ui) {
$(ui.draggable).toggle("scale");
$(this).show(0).delay(700).toggle("clip");
$(this).addClass("ui-state-highlight")
.text('¡Eliminado!')
}
});
$("#droppable").on("dropout", function(event, ui) { $(this)
$(this).text('Arrastrar y soltar para eliminar')});
$(".panel").resizable({
minHeight: 119,
minWidth: 352,
maxHeight: 219,
maxWidth: 452
});
});
을하지만 해상도가 내가 그것을 적용 이상 1024 인 경우에만 적용하고 싶지만이 작동하지 않습니다, 그것이 나) 토큰 오류가 발생입니다 :
FULL 오류 : catch되지 않은 구문 에러 : 예기치 않은 토큰)이
$(function() {
$("#droppable").droppable({
create: function(event, ui) {$(this).hide(0)}
});
$("#droppable").on("dropover", function(event, ui) { $(this)
$(this).text('¿Eliminar?')});
$(".panel").draggable();
$("#droppable").droppable({
activeClass: "ui-state-default",
hoverClass: "ui-state-hover",
drop: function(event, ui) {
$(ui.draggable).toggle("scale");
$(this).show(0).delay(700).toggle("clip");
$(this).addClass("ui-state-highlight")
.text('¡Eliminado!')
}
});
$("#droppable").on("dropout", function(event, ui) { $(this)
$(this).text('Arrastrar y soltar para eliminar')});
if ($(window).width() > 1024) {
$(".panel").resizable({
minHeight: 119,
minWidth: 352,
maxHeight: 219,
maxWidth: 452
});
});
}
전체 오류로 붙여 넣을 수 있습니까? – Aboca
예, 수정 사항을 확인하십시오 –
2 명이 표시됩니다}); 그게 하나가되어서는 안되니? – Aboca