GsuiPopup

Size
2,641 Kb
Views
10,120

How do I make an gsuipopup?

What is a gsuipopup? How do you make a gsuipopup? This script and codes were developed by Thomas Tortorini on 01 January 2023, Sunday.

GsuiPopup Previews

GsuiPopup - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>gsuiPopup</title> <link rel='stylesheet prefetch' href='css/gwjoje.css'>
<link rel='stylesheet prefetch' href='https://gridsound.github.io/gs-ui-components/gsuiPopup/gsuiPopup.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="main">	<div id="desc">	<div id="title">gsuiPopup</div>	<a id="main-link" href="https://github.com/gridsound/gs-ui-components/tree/master/gsuiPopup">gs-ui-components / <b>gsuiPopup</b></a>	</div>	<div id="cmp-wrapper">	<button>gsuiPopup.<b>alert</b>( <i>"Welcome"</i>, <i>"Lorem ipsum etc."</i> )</button>	<button>gsuiPopup.<b>confirm</b>( <i>"A question"</i>, <i>"Are you sure etc. ?"</i> )</button>	<button>gsuiPopup.<b>prompt</b>( <i>"Yooo"</i>, <i>"What's your name ?"</i>, <i>"..."</i> )</button>	</div>
</div>
<div id="gsuiPopup">	<div id="gsuiPopup-window">	<header></header>	<div class="gsui-msg"></div>	<form>	<input type="text" class="gsui-text"	/><input type="button" class="gsui-btn gsui-cancel" value="Cancel"	/><input type="submit" class="gsui-btn gsui-ok" value="Ok"/>	</form>	</div>
</div> <script src='https://gridsound.github.io/gs-ui-components/gsuiPopup/gsuiPopup.js'></script> <script src="js/index.js"></script>
</body>
</html>

GsuiPopup - Script Codes CSS Codes

#cmp-wrapper {	background: none;
}
button {	display: block;	width: 100%;	padding: 1.5em 1em;	font-weight: bold;	border: 0;	border-radius: 4px;	background: #888;
}
button + button { margin-top: 1em; }
button b { font: 16px consolas; }
button i { color: #c4d486; }
button:hover { background: #999; }

GsuiPopup - Script Codes JS Codes

Array.from( document.querySelectorAll( "#cmp-wrapper button" ) )	.forEach( btn => btn.onclick = evalText );
function evalText() {	eval( this.textContent );
};
GsuiPopup - Script Codes
GsuiPopup - Script Codes
Home Page Home
Developer Thomas Tortorini
Username mr21
Uploaded January 01, 2023
Rating 3
Size 2,641 Kb
Views 10,120
Do you need developer help for GsuiPopup?

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!

Thomas Tortorini (mr21) Script Codes
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!