summaryrefslogtreecommitdiff
path: root/frontend/imgrid/colors/test.html
blob: 1912ebf3437c8872118746545775e6922b5320ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!--<link rel="stylesheet" href="css/normalize.css">-->
<head>
		<style type='text/css'>
		#master
			{
			width:400px;
			font-size:0;
			}
		.slaves
			{
			width:100px;
			background-color:gray;
			height:40px;
			display:inline-block;
			}
		</style>


</head>
<body>

<div id='master'>

<div class='slaves' style='background-color:pink'></div>
<div class='slaves' style='background-color:blue'></div>
<div class='slaves' style='background-color:dodgerblue'></div>
<div class='slaves' style='background-color:red'></div>

<div class='slaves'></div>
<div class='slaves'></div>
<div class='slaves'></div>
<div class='slaves'></div>
<div class='slaves'></div>
<div class='slaves'></div>
<div class='slaves'></div>
<div class='slaves'></div>
</div>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script>
<!--<script type='text/javascript' src='jquery.js'></script>-->
<script type='text/javascript'>
$('.slaves').mouseover(function()
	{
	$(this).css('width','120px')
	$('#master').css('width','420')
	}).mouseout(function()
	{
	$(this).css({'width':'100px'})
  $('#master').css('width','420')

	});
</script>
</body>
</html>