-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (53 loc) · 1.34 KB
/
index.html
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>
<html lang="ar">
<meta charset="UTF-8">
<link rel="icon"href="Picsart_24-11-10_17-04-49-067.png"type="image/png">
<head>
<title>library</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 0;
}
header {
background-color: #f8f8f8;
padding: 20px;
}
header img {
max-width: 20%;
height: 20%;
}
section {
margin: 20px;
}
button {
padding: 10px 20px;
margin: 10px;
cursor: pointer;
}
iframe {
width: 90%;
height: 1400px;
border: 2 px solid #00f;
}
</style>
</head>
<body>
<header>
<h1>مرحبا بك في مكتبة المدرسة</h1>
<img src="cover.jpeg" alt="library">
</header>
<section>
<button onclick="loadPage('page1.html')">تاسع</button>
<button onclick="loadPage('page2.html')">بكلوريا</button>
</section>
<iframe id="contentFrame" src=""></iframe>
<script>
function loadPage(page) {
document.getElementById('contentFrame').src = page;
}
</script>
</body>
</html>