A Pen by boilzzz

Developer
Size
2,761 Kb
Views
12,144

How do I make an a pen by boilzzz?

What is a a pen by boilzzz? How do you make a a pen by boilzzz? This script and codes were developed by Boilzzz on 07 December 2022, Wednesday.

A Pen by boilzzz Previews

A Pen by boilzzz - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by boilzzz</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <?php
require_once("database.php");
$link=db_connect();
$query = "select * from teachers,subject,group_ptk";
$result = mysqli_query($link,$query);
$row=mysqli_fetch_array($result);
?>
<!DOCTYPE html>
<html lang="en">
<head>	<meta charset="UTF-8">	<title>Raspisanie</title>	<link rel="stylesheet" type="text/css" href="style.css">	<script src="script.js"></script>
</head>
<body >
<div class="wrapper">
<div>
Номер группы
<p><?php print $row['Number_Group']; ?></p>
</div>
<div class="wrapper-day">
<div class="day">
Понедельник	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>
</div>
<div class="day">
Вторник	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>
</div>
<div class="day">
Среда	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>
</div>
</div>
<div class="wrapper-day">
<div class="day">
Четверг10	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>
</div>
<div class="day">
Пятница	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>
</div>
<div class="day">
Суббота	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>	<div class="number" ></div>
</div>
</div>
<div class="wrapper-right">
Название предмета
<div ondrop="dropImg(event)" ondragover="makeDroppable(event)"; id="start">	<span class="item"><?php print $row['brief_name']; ?></span>	<span class="item">123</span>	<span class="item"> 123</span>
</div>
<div>
Количество пар
</div>
<div >
ФИО преподователя
<p><?php print $row['FIO']; ?></p>
</div>
</div>
</div>
</body>
</html> <script src="js/index.js"></script>
</body>
</html>

A Pen by boilzzz - Script Codes CSS Codes

body,html{	margin: 0;	padding: 0;
}
div{	display:inline-block;	margin-left: 20px;	vertical-align: top;
}
div p{	display: block;
}
.wrapper-right{	float:right;	vertical-align: top;
}
.wrapper{	display: block;	margin:0 auto;
}
.wrapper-day{	display: inline-block;
}
.day{	display: block;	width:200px;	height:200px;	margin: 0;	padding: 0;
}
.number{	margin: 0;	padding: 0;	height:19%;	width:90%;	float:right;	border:1px solid black;
}
#start{	width:40px;	min-height:100px;	border:1px solid black;	position: relative;
}

A Pen by boilzzz - Script Codes JS Codes

window.onload = function() { var cels = document.querySelectorAll('.number'), items = document.querySelectorAll('.item'), cloneItem = document.querySelectorAll('.cloneItem'); [].forEach.call(cels, function(e) { e.ondrop = function() { dropImg(event) }; e.ondragover = function() { makeDroppable(event) }; e.onchange = function() { console.log(e.innerHTML) if (e.innerHTML == 'ТРПО') { e.innerHTML = 'Технология раззработки программного обспечения Карпинский' } } }); [].forEach.call(items, function(e, i) { e.ondragstart = function() { dragImg(event) }; e.setAttribute('id', 'id' + i); e.setAttribute('draggable', 'true'); e.onclick = function() { console.log(1); e.parentNode.removeChild(e); } });
}
function makeDroppable(e) { e.preventDefault();
}
function dragImg(e) { e.dataTransfer.setData("text/plain", e.target.id);
}
function dropImg(e) { e.preventDefault(); var rdata = e.dataTransfer.getData("text/plain"); rdata = document.getElementById(rdata).cloneNode(true); e.target.appendChild(rdata); rdata.setAttribute('id','');
}
A Pen by boilzzz - Script Codes
A Pen by boilzzz - Script Codes
Home Page Home
Developer Boilzzz
Username boilzzz
Uploaded December 07, 2022
Rating 3
Size 2,761 Kb
Views 12,144
Do you need developer help for A Pen by boilzzz?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Boilzzz (boilzzz) Script Codes
Name
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!