diff --git a/canvas.html b/canvas.html
index 351aacb..1bfa87b 100644
--- a/canvas.html
+++ b/canvas.html
@@ -22,6 +22,7 @@ article, section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/contenteditable.html b/contenteditable.html
index 0b8ac11..b7b8e4c 100644
--- a/contenteditable.html
+++ b/contenteditable.html
@@ -22,6 +22,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/database-rollback.html b/database-rollback.html
index 3845d28..039329c 100644
--- a/database-rollback.html
+++ b/database-rollback.html
@@ -22,6 +22,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/database.html b/database.html
index 30970fc..f56c3b5 100644
--- a/database.html
+++ b/database.html
@@ -22,6 +22,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/drag-anything.html b/drag-anything.html
index d118fe0..2b50101 100644
--- a/drag-anything.html
+++ b/drag-anything.html
@@ -22,6 +22,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
@@ -164,7 +165,12 @@ addEvent(drop, 'drop', function (e) {
/** THIS IS THE MAGIC: we read from getData based on the content type - so it grabs the item matching that format **/
if (getDataType.checked == false && e.dataTransfer.types) {
- li.innerHTML = entities(e.dataTransfer.getData(e.dataTransfer.types[0]) + ' (content-type: ' + e.dataTransfer.types[0] + ')');
+ li.innerHTML = '
';
+ [].forEach.call(e.dataTransfer.types, function (type) {
+ li.innerHTML += '- ' + entities(e.dataTransfer.getData(type) + ' (content-type: ' + type + ')') + '
';
+ });
+ li.innerHTML += '
';
+
} else {
// ... however, if we're IE, we don't have the .types property, so we'll just get the Text value
li.innerHTML = e.dataTransfer.getData('Text');
diff --git a/drag.html b/drag.html
index a75886b..341cebc 100644
--- a/drag.html
+++ b/drag.html
@@ -91,17 +91,17 @@ li.over {
var msie = /*@cc_on!@*/0;
yum.style.opacity = 1;
- var links = document.querySelectorAll('li > a'), el = null;
- for (var i = 0; i < links.length; i++) {
- el = links[i];
-
- el.setAttribute('draggable', 'true');
-
- addEvent(el, 'dragstart', function (e) {
- e.dataTransfer.effectAllowed = 'move';
- e.dataTransfer.setData('Text', this.id); // required otherwise doesn't work
- });
- }
+ // var links = document.querySelectorAll('li > a'), el = null;
+ // for (var i = 0; i < links.length; i++) {
+ // el = links[i];
+ //
+ // el.setAttribute('draggable', 'true');
+ //
+ // addEvent(el, 'dragstart', function (e) {
+ // // e.dataTransfer.effectAllowed = 'move';
+ // e.dataTransfer.setData('Text', this.id); // required otherwise doesn't work
+ // });
+ // }
var bin = document.querySelector('#bin');
@@ -123,10 +123,10 @@ li.over {
addEvent(bin, 'drop', function (e) {
if (e.stopPropagation) e.stopPropagation(); // stops the browser from redirecting...why???
-
- var el = document.getElementById(e.dataTransfer.getData('Text'));
- el.parentNode.removeChild(el);
+ // var el = document.getElementById(e.dataTransfer.getData('Text'));
+ //
+ // el.parentNode.removeChild(el);
// stupid nom text + fade effect
bin.className = '';
diff --git a/geo.html b/geo.html
index 17a3b01..dc7b0e2 100644
--- a/geo.html
+++ b/geo.html
@@ -23,6 +23,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/non-worker.html b/non-worker.html
index 53afb79..ffa7efc 100644
--- a/non-worker.html
+++ b/non-worker.html
@@ -22,6 +22,7 @@ article, section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/offline.html b/offline.html
index f7b8bcf..efe5427 100644
--- a/offline.html
+++ b/offline.html
@@ -22,6 +22,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/offlineapp.html b/offlineapp.html
index a7cfb02..346defa 100644
--- a/offlineapp.html
+++ b/offlineapp.html
@@ -23,6 +23,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/postmessage.html b/postmessage.html
index e11dbba..55fda89 100644
--- a/postmessage.html
+++ b/postmessage.html
@@ -26,6 +26,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/postmessage2.html b/postmessage2.html
index b4593ba..6d31f51 100644
--- a/postmessage2.html
+++ b/postmessage2.html
@@ -26,6 +26,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/storage.html b/storage.html
index 16f1b0b..004e8cf 100644
--- a/storage.html
+++ b/storage.html
@@ -22,6 +22,7 @@ section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/video.html b/video.html
index c1c00d2..63b9831 100644
--- a/video.html
+++ b/video.html
@@ -22,6 +22,7 @@ article, section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}
diff --git a/worker.html b/worker.html
index 36cb3e8..9356974 100644
--- a/worker.html
+++ b/worker.html
@@ -22,6 +22,7 @@ article, section, header, footer {
background: #fff url(images/shade.jpg) repeat-x center bottom;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
+ border-radius: 10px;
border-top: 1px solid #fff;
padding-bottom: 76px;
}