Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Commit

Permalink
Complete reorganisation of the directory so that making new demos app…
Browse files Browse the repository at this point in the history
…ears, visually, more consistent. I'd like a better way to credit other people if they start contributing demos - but for now, no one has ;-)
  • Loading branch information
remy committed Mar 4, 2010
1 parent a3b1847 commit ad614ee
Show file tree
Hide file tree
Showing 40 changed files with 696 additions and 1,739 deletions.
4 changes: 3 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .* - [L]

RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule (.*) $1.html [L]
RewriteRule (.*) $1.html [QSA,L]

RewriteRule ^(.*)$ page.php [QSA,L]

</IfModule>
11 changes: 11 additions & 0 deletions canvas-grad.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,16 @@
};
}
</script>
<a href="https://github.com/remy/html5demos"><img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub" /></a>
<script>
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script>
try {
var pageTracker = _gat._getTracker("UA-1656750-18");
pageTracker._trackPageview();
} catch(err) {}</script>

</body>
</html>
143 changes: 0 additions & 143 deletions canvas.html

This file was deleted.

130 changes: 0 additions & 130 deletions contenteditable.html

This file was deleted.

Loading

1 comment on commit ad614ee

@yiqiejieyoukeneng
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<style> #div1 {width:350px;height:70px;padding:10px;border:1px solid #aaaaaa;} </style> <script> function allowDrop(ev) { ev.preventDefault(); } function drag(ev) { ev.dataTransfer.setData("text", ev.target.id); } function drop(ev) { ev.preventDefault(); var data = ev.dataTransfer.getData("text"); ev.target.appendChild(document.getElementById(data)); } </script>

Drag the W3Schools image into the rectangle:


Please sign in to comment.