problem about curvycorners-Collection of common programming errors


  • Zozo
    jquery internet-explorer fullcalendar curvycorners
    Which fragment of code bellow can not work in MSIE?$(document).ready(function() {var minId;var fadeTime = ’25’;$.ajax({url: ‘JsonFileWrite.php’,type: “POST”,data: “idRequest=true”,success: function(data) {minId = data;}});$(“.close”).click(function(){$(“.showable”).fadeOut(fadeTime);});$(“#selected”).bind(‘keypress’, function(e){var code = (e.keyCode ? e.keyCode : e.which);if(code == 13) {$(“#selected-ok”).click();}}).corner();$(“#clicked”).bind(‘keypress’, function(e){var code = (e.keyCode ? e.keyCode : e.which);if(code == 13) {$(“#clicked-ok”).click();}}).corner();$(“#shadow”).corner();$(“#shadow2”).corner();$(“#selected-ok”).click(function(){$(“.close”).click();var $inputs = $(‘#selectForm :input’);var values = {};$inputs.each(function() {values[this.name] = $(this).val();});values[‘allDay’] = $(“#allDayT:checked”).val();if(values[‘allDay’] == ‘caly’){values[‘allDay’] = true;}else{values[‘allDay’] = false;}minId++;calendar.fullCalendar(‘renderEvent’,{id: minId,title: values[‘name’],start: values[‘start’],end: values[‘end’],allDay: values[‘allDay’]},true);$.ajax({url: ‘JsonFileWrite.php’,type: “POST”,data: ‘id=’+minId+’&title=’+values[‘name’]+’&start=’+values[‘start’]+’&end=’+values[‘end’]+’&allDay=’+values[‘allDay’]+”,success: function(data) {}});calendar.fullCalendar(‘unselect’);return false;});$(“#clicked-ok”).click(function(){$(“.close”).click();var $inputs = $(‘#clickForm :input’);var values = {};$inputs.each(function() {values[this.name] = $(this).val();});values[‘allDay’] = $(“#allDayCT:checked”).val();if(values[‘allDay’] == ‘caly’){values[‘allDay’] = true;}else{values[‘allDay’] = false;}$.ajax({url: ‘JsonFileWrite.php’,type: “POST”,data: ‘id=’+values[‘id’]+’&title=’+values[‘name’]+’&start=’+values[‘start’]+’&end=’+values[‘end’]+’&allDay=’+values[‘allDay’]+”,success: function(data) {}});calendar.fullCalendar( ‘removeEvents’, values[‘id’]);calendar.fullCalendar(‘renderEvent’,{id: values[‘id’],title: values[‘name’],start: values[‘start’],end: values[‘end’],allDay: values[‘allDay’]},true);return false;});$(“#clicked-delete”).click(function(){if(confirm(“Czy na pewno usunąć wydarzenie?”)){$(“.close”).click();var $inputs = $(‘#clickForm :input’);var values = {};$inputs.each(function() {values[this.name] = $(this).val();});}calendar.fullCalendar( ‘removeEvents’, values[‘id’]);$.ajax({url: ‘JsonFileWrite.php’,type: “POST”,data: ‘delId=’+values[‘id’],success: function(data) {}});});function addEvent(title, start, end, allDay){if (title) {calendar.fullCalendar(‘renderEvent’,{title: title,start: start,end: end,allDay: allDay},true // make the event “

  • Binyamin
    jquery css-border-radius curvycorners
    IE9, Firefox 4, Opera 10.5, Safari 5, Chrome 4, WebKit 532.5 supports CSS3 border-radius.Latest jquerycurvycorners 2.1.1 uses -moz-border-radius and not border-radius to create corners to old browsers. How to replace it to border-radius, border-top-left-radius, border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius?The bug you can see on IE6-8 in:demo http://fiddle.jshell.net/laukstein/nJRV2/show/light/#intro code http://jsfiddle.net/laukstein/nJRV2/Briefly jquerycurvycorners must apply to border-radius-curvycorners.html!//full JS in http://jsfiddle.net/laukstein/nJRV2/if (allR) {var t = allR.split(‘/’); // ignore elliptical spec.t = t[0].split(/\s+/);if (t[t.length – 1] === ”) t.pop();switch (t.length) {case 3:tL = t[0];tR = bL = t[1];bR = t[2];allR = false;brea

Originally posted 2013-11-06 03:12:13.