You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"name":"Dragndrop","tagline":"Simple drag N drop prototype.","body":"### Simple Drag 'N Drop Prototype\r\nDesigned to use the html5 API to drag or move elements from the uh, repository of hubs/buttons to their proper locations.\r\n\r\n```\r\nfunction allowDrop(ev) {\r\n ev.preventDefault();\r\n}\r\n\r\nfunction drag(ev) {\r\n ev.dataTransfer.setData(\"text\", ev.target.id);\r\n}\r\n\r\nfunction drop(ev) {\r\n ev.preventDefault();\r\n var data = ev.dataTransfer.getData(\"text\");\r\n ev.target.appendChild(document.getElementById(data));\r\n}\r\n```\r\n\r\nJust some example dirty code off the net.\r\n\r\n### Full page design\r\nObviously, this system will be visually non-slick in the prototype form.","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}