4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

dotinstall を見て

4
Posted at

はじめに

dotinstall見ていて、構成を図で説明している以下のような場面がありますが↓

スクリーンショット 2015-08-14 10.40.48.png

個人でちょろっとした説明に使う用に^^;

似たようなしっかりしたサービスは以下のサイトもあります。
http://blog.mb.cloud.nifty.com/?p=2869

今回のちょろっとしたHTMLソースは以下

sample

<!DOCTYPE html>
<html lang="ja">
<head>
	<meta charset="UTF-8">
	<title>draggable</title>
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js"></script>
</head>
<body>
	<style type="text/css">
	body {
		display: table;
		border-collapse: separate;
		border-spacing: 10px 0;
		background: #99ccff;
	}
	div{
		display: table-cell;
		vertical-align: middle;
		text-align: center;
		width: 100px;
		height: 100px;
		background: coral;
		border-radius: 10px;
	}
	div.text{
		background: none;
	}
	</style>
	<div>サーバー1</div>
	<div>サーバー2</div>
	<div class="text">ファイル</div>

	<script type="text/javascript">
	$(function() {
		$('div').draggable();
	});
	</script>
</body>
</html>
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?