Новое игровое окно.
This commit is contained in:
parent
bff129f7b7
commit
aa48325b3e
19
game.php
19
game.php
@ -50,6 +50,21 @@ if ($msg) db::c()->query('INSERT INTO `chat` (`cid`, `uid`, `msg`) VALUES (?i, ?
|
|||||||
width: 15%;
|
width: 15%;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
.mainwrap {
|
||||||
|
position: relative;
|
||||||
|
padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
|
||||||
|
padding-top: 30px;
|
||||||
|
height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mainwrap iframe {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -65,7 +80,9 @@ if ($msg) db::c()->query('INSERT INTO `chat` (`cid`, `uid`, `msg`) VALUES (?i, ?
|
|||||||
<a href="/moderators.php" title="Модераторы" target="main"><img src="http://placehold.it/32x32/33ff33?text=M"/></a>
|
<a href="/moderators.php" title="Модераторы" target="main"><img src="http://placehold.it/32x32/33ff33?text=M"/></a>
|
||||||
<a href="/forum.php" title="Форум" target="main"><img src="http://placehold.it/32x32?text=F"/></a>
|
<a href="/forum.php" title="Форум" target="main"><img src="http://placehold.it/32x32?text=F"/></a>
|
||||||
</header>
|
</header>
|
||||||
<iframe name="main" src="main.php" width=100%></iframe>
|
<div class="mainwrap">
|
||||||
|
<iframe name="main" src="main.php" width=100%></iframe>
|
||||||
|
</div>
|
||||||
<iframe name="chat" src="chat.php" width=100%></iframe>
|
<iframe name="chat" src="chat.php" width=100%></iframe>
|
||||||
<footer>
|
<footer>
|
||||||
<form action="chat.php" method="post">
|
<form action="chat.php" method="post">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user