Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Demo</title>
<link rel="stylesheet" href="teststyle.css">
<script src="external.js"></script>
</head>
<body>
<div id="container">
<div class="header">
<img class="logo" src="/image/Logo1.jpg" width="80px">
<h1 class="name"><b><i> Molly Malones</i></b></h1>
<h1 class="click">
<b class="pointer" onclick="show('home')" target = "1">Home</b>
<b class="pointer" onclick="show('menu')" target = "2">Menu</b>
<b class="pointer" onclick="show('introduction')" target = "3">Introduction</b>
<!-- <b class="pointer" onclick="show('category')" target = "4">Category</b>
<b class="pointer" onclick="show('order')" target = "5">Order</b> -->
<b class="pointer" onclick="show('events')" target = "6">Events</b>
<b class="pointer" onclick="show('contact')" target = "7">Contact</b>
</h1>
<!-- <div id="sidebar" onclick="togglemenu()">
<div class="toggle-btn">
<span></span>
<span></span>
<span></span>
</div>
<ul class="nav">
<li class="pointer" onclick="home()">Home</li>
<li>Menu</li>
<li>Phone</li>
<li>Contact</li>
</ul>
</div> -->
</div>
<div id="contain" class="background">
<div id="home" class="home">
<div class="home"><img src="/image/Background1.jpg" width="100%" height="100%"></div>
</div>
<div id = "menu"class="menu">
<div id="menubox1"><img src="/image/beef cheese soup.jpg" width="100%" height="100%"></div>
<div id="menubox2"><img src="/image/chicken variation.jpg" width="100%" height="100%"></div>
<div id="menubox3"><img src="/image/creamy chicken casserole.jpg" width="100%" height="100%"></div>
<div id="menubox4"><img src="/image/crispy chicken nuggets.jpg" width="100%" height="100%"></div>
<div id="menubox5"><img src="/image/mixed grill.jpg" width="100%" height="100%"></div>
<div id="menubox6"><img src="/image/rib eye steak.jpg" width="100%" height="100%"></div>
<div id="menubox7"><img src="/image/Steak salad.jpg" width="100%" height="100%"></div>
<div id="menubox8"><img src="/image/side dish.jpg" width="100%" height="100%"></div>
</div>
<div id="introduction" >
<div class="introduction-box"><img src="/image/intro.jpg" width="100%" height="100%">
<div id="introduction-text"><b><i>Хүн бүхний сайн мэдэх манай байгууллага нь анхны салбараа Монголд 2013 онд 35 ажилтантай нээж байсан бол өнөөдөр 800 гаруй
ажилтантай болжээ. Мөн оюутан залуусыг уян хатан нөхцөлтэй, цагийн ажлаар хангаж байгаа нь тэдэнд ажлын туршлага хуримтлуулж, өөрсдийн орлогын эх
үүсвэртэй болох боломжийг олгож байна.</i></b></div>
</div>
</div>
<div id="events">
<div class="events"><img src="/image/event1.png" width="100%" height="100%"></div>
<div class="events1"><img src="/image/event.jpg" width="100%" height="100%"></div>
<div class="events2"><img src="/image/event2.jpg" width="100%" height="100%"></div>
<div class="events3"><img src="/image/event3.jpg" width="100%" height="100%"></div>
</div>
<div id="contact"><img src="/image/Background.jpg" width="100%" height="100%">
<h2>Утас: 99887766</h2>
<div id="contact-phone">
<div class="insta"><a href="http://instagram.com"><img src="/image/insta.png" width="100%" height="100%"></a></div>
<div class="fb"><a href="http://fb.com"><img src="/image/fb.png" width="100%" height="100%"></a></div>
<div class="twitter"><a href="https://twitter.com"><img src="/image/twitter.png" width="100%" height="100%"></a></div>
</div>
</div>
</div>
</div>
</div>
<!-- <div class="header">
<div class="logo"></div>
<div class="name"></div>
</div>
<div class="background"></div>
<div class="click"></div> -->
</body>
<script type="text/javascript">
var divs = ["home", "menu", "introduction", "events", "contact"];
var visibleId = null;
function show(id) {
if(visibleId !== id) {
visibleId = id;
}
hide();
}
function hide() {
var div, i, id;
for(i = 0; i < divs.length; i++) {
id = divs[i];
div = document.getElementById(id);
if(visibleId === id) {
div.style.display = "block";
} else {
div.style.display = "none";
}
}
}
</script>
</html>
-----------novshiin css------------------
* {
margin: 0;
padding: 0;
}
/* body{
margin:0; height: 100%; overflow: hidden;
} */
.header{
/* width: 98.98%; */
/* height: 90px; */
padding: 10px;
background-color: black;
position: relative;
display: flex;
align-items: center;
background-attachment: fixed;
}
/* .background{
position: relative;
width: 100%;
height: 100%;
padding: 0;
/*background-color: rgb(73, 69, 69);
} */
.name{
width: 30%;
height: 60px;
margin-left: 0%;
background-color: transparent;
text-align: center;
padding-top: 1%;
color: white;
}
.click{
width: 40%;
height: 50px;
background-color: transparent;
margin-left: 19%;
padding-left: 1%;
text-align: center;
padding-top: 1.5%;
font-size: 22px;
word-spacing: 30px;
color: white;
}
@media (max-width: 1150px){
.click{
display: none;
}
#sidebar{
position: fixed;
}
#sidebar li{
color: white;
}
.toggle-btn{
position: absolute;
}
.toggle-btn span{
display: flex;
}
#sidebar.active{
right: 0;
}
}
.logo{
background-color: transparent;
border-radius: 100%;
margin-left: 5%;
color: white;
font-size: 32px;
}
#container{
position: relative;
width: 100%;
height: 100%;
padding: 0;
margin-bottom: 0;
}
.pointer {
cursor: pointer;
}
#sidebar{
position: fixed;
width: 10%;
height: 100%;
right: -10%;
background-color: red ;
margin-top: -2%;
margin-bottom: 0%;
}
#sidebar li{
color: white;
font-size: 30px;
padding: 30px;
border-bottom: 1px solid gray;
text-align: center;
list-style-type: none;
}
.toggle-btn {
position: absolute;
right: 90%;
top: -95%;
}
.toggle-btn span {
display: flex;
background-color: gray;
width: 30px;
height: 5px;
margin: 3px;
}
#sidebar.active{
right: 0;
}
#home{
width: 100%;
height: 879px;
background-image: url('../Front-End/image/Background1.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
.home{
width: 100%;
height: 879px;
background-image: url('../Front-End/image/Background1.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
#menu{
/* visibility: hidden; */
display: none;
width: 100%;
height: 879px;
background-image: url('../Front-End/image/Background1.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
background-image: linear-gradient(rgb(255, 255, 255), rgb(70, 70, 70));
}
#menubox1{
margin: 1%;
width: 23%;
height: 40%;
float: left;
}
#menubox2{
margin: 1%;
width: 23%;
height: 40%;
float: left;
}
#menubox3{
margin: 1%;
width: 23%;
height: 40%;
float: left;
}
#menubox4{
margin: 1%;
width: 23%;
height: 40%;
float: left;
}
#menubox5{
margin: 1%;
margin-top: 24%;
margin-left: -99%;
width: 23%;
height: 40%;
float: left;
}
#menubox6{
margin: 1%;
margin-top: 24%;
margin-left: -74%;
width: 23%;
height: 40%;
float: left;
}
#menubox7{
margin: 1%;
margin-left: -49%;
margin-top: 24%;
width: 23%;
height: 40%;
float: left;
}
#menubox8{
margin: 1%;
margin-left: -24%;
margin-top: 24%;
width: 23%;
height: 40%;
float: left;
}
@media screen and (max-width: 1450px) {
#menubox1{
width: 15%;
height: 15%;
}
#menubox2{
width: 15%;
height: 15%;
}
#menubox3{
width: 15%;
height: 15%;
}
#menubox4{
width: 15%;
height: 15%;
}
#menubox5{
margin-left: -67%;
width: 15%;
height: 15%;
}
#menubox6{
margin-left: -50%;
width: 15%;
height: 15%;
}
#menubox7{
margin-left: -33%;
width: 15%;
height: 15%;
}
#menubox8{
margin-left: -16%;
width: 15%;
height: 15%;
}
}
@media (max-height:815px) {
#menubox1{
width: 15%;
height: 15%;
}
#menubox2{
width: 15%;
height: 15%;
}
#menubox3{
width: 15%;
height: 15%;
}
#menubox4{
width: 15%;
height: 15%;
}
#menubox5{
margin-left: -67%;
width: 15%;
height: 15%;
}
#menubox6{
margin-left: -50%;
width: 15%;
height: 15%;
}
#menubox7{
margin-left: -33%;
width: 15%;
height: 15%;
}
#menubox8{
margin-left: -16%;
width: 15%;
height: 15%;
}
}
#introduction{
/* visibility: hidden; */
display: none;
width: 100%;
height: 879px;
background-image: url('../Front-End/image/intro.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
.introduction{
/* visibility: hidden; */
width: 100%;
height: 879px;
background-image: url('../Front-End/image/intro.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
.introduction-box{
position: relative;
width: 100%;
height: 879px;
}
#introduction-text{
position: absolute;
width: 100%;
height: 78.5%;
background-color: rgba(0, 128, 0, 0.384);
text-align: center;
margin-top: -46.4%;
padding-top: 10%;
font-size: 48px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color:rgb(241, 87, 60)
}
/* #category{
visibility: hidden;
}
#order{
visibility: hidden;
}*/
#events{
display: none;
width: 100%;
height: 879px;
background-image: url('../Front-End/image/Background.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
.events1{
/* visibility: hidden; */
width: 100%;
height: 879px;
background-image: url('../Front-End/image1/.events1.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
.events2{
/* visibility: hidden; */
width: 100%;
height: 879px;
background-image: url('../Front-End/image1/.events2.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
.events3{
/* visibility: hidden; */
width: 100%;
height: 879px;
background-image: url('../Front-End/image1/.events3.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
#contact{
/* visibility: hidden; */
display: none;
position: relative;
width: 100%;
height: 879px;
background-image: url('../Front-End/image/Background.jpg');
background-repeat: no-repeat;
background-attachment:fixed;
background-size: 100% 100%;
background-position: center;
}
#contact-phone{
position: absolute;
width: 100%;
height: 100%;
margin-top: -46.3%;
background-color: rgba(0, 0, 255, 0.219);
}
h2{
position: absolute;
margin-top: -5%;
margin-left: 72%;
color: rgb(255, 255, 255);
}
.fb{
width: 60px;
height: 60px;
background-image: url('../Front-End/image/fb.png');
border-radius: 20%;
float: right;
margin-top: 40%;
margin-right: -8%;
}
.insta{
width: 60px;
height: 60px;
background-image: url('../Front-End/image/insta.png');
border-radius: 20%;
float: right;
margin-top: 40%;
margin-right: 10%;
}
.twitter{
width: 60px;
height: 60px;
background-image: url('../Front-End/image/twitter.png');
border-radius: 20%;
float: right;
margin-top: 40%;
margin-right: -13%;
}
-----------FUCK JS----------------
var contain = document.getElementById('contain').innerHTML
var home = document.getElementById('home').appendChild(home);
var dhome = document.getElementById('home');
var menu = document.getElementById('menu').innerHTML
var introduction = document.getElementById('introduction').innerHTML
var category = document.getElementById('category').innerHTML
var order = document.getElementById('order').innerHTML
var events = document.getElementById('events').innerHTML
var contact = document.getElementById('contact').innerHTML
function menu(){
location.replace("menu.html");
contain.innerHTML = menu.innerHTML;
if(contain.innerHTML == menu){
menu.style.display= none;
}
}
/* var home = document.getElementById('home').innerHTML
// if(contain.innerHTML==home.innerHTML){
// dhome.style.visibility = 'visible'
}*/
function home(){
// var home = document.getElementById('home').innerHTM
const home = document.querySelector('.home');
const dhome = document.getElementById('home')
contain.appendChild(home)
if(contain.appendChild==home){
dhome.style.visibility = 'visible'
}
// = home.innerHTML;
// // var contain = document.getElementById('contain').innerHTML = "hi"
// if(contain.innerHTML==home.innerHTML){
// dhome.style.visibility = 'visible'
// }
// location.replace("home.html");
}
function home1(){
location.replace("indextest.html");
}
function introduction(){
location.replace("introduction.html");
}
function category(){
location.replace("category.html");
}
function order(){
location.replace("order.html");
}
function events(){
location.replace("events.html");
}
function contact(){
location.replace("contact.html");
}
function showmenu(){
navLinks.style.right = "0";
}
function togglemenu(){
document.getElementById('sidebar').classList.toggle('active');
}
![]() |
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: hello@notes.io
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team