Wireframing

Developer
Size
2,708 Kb
Views
14,168

How do I make an wireframing?

What is a wireframing? How do you make a wireframing? This script and codes were developed by Angelina on 01 December 2022, Thursday.

Wireframing Previews

Wireframing - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Wireframing</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <html>
<head>
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script> </head> <body data-role="page" id="pageone"> <div class="topnav"> </div> <div id="rows"> <div class="country" ondrop="drop(event)" id="CAD" onclick="setTimeout(myFunction, 1000);" draggable="true"> CAD</div> <div class="country" ondrop="drop(event)" id="EUR" onclick="setTimeout(myFunction, 1000);" draggable="true"> EUR </div> <div class="country" ondrop="drop(event)" onclick="setTimeout(myFunction, 1000);" draggable="true"> GBP</div> </div> <div> <ul class="popup" id="pop"> <li> Chart </li> <li> Alarm </li> <li> Rate Advisor </li> </ul> </div> </body>
</html> <script src="js/index.js"></script>
</body>
</html>

Wireframing - Script Codes CSS Codes

body { width:400px; height: 600px; border:solid grey 1px;
}
.topnav { width:100%; height: 40px; background-color:#015B9D;
}
.country { height:100px; border:solid grey 1px;
background-color:#f8f8f8;
/* Prevent the text contents of draggable elements from being selectable. */ -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; user-select: none; /* Required to make elements draggable in old WebKit */ -khtml-user-drag: element; -webkit-user-drag: element;
}
.country.over { background-color:#00AE00; }
.popup { position:absolute; left:-200px;
}

Wireframing - Script Codes JS Codes


//$(document).on("pagecreate","#pageone",function(){ // $('.countryCAD').on("taphold",function(){ //TAPHOLD START ACTION function handleDragStart2(e) { this.style.opacity= '0.4';// this / e.target is the source node.
}
function handleDragOver(e) { if (e.preventDefault) { e.preventDefault(); // Necessary. Allows us to drop. } e.dataTransfer.dropEffect = 'move'; // See the section on the DataTransfer object. return false;
}
function handleDragEnter(e) { // this / e.target is the current hover target. this.classList.add('over');
}
function handleDragLeave(e) { this.classList.remove('over'); // this / e.target is previous target element. this.style.opacity= '1';
}
var cols = document.querySelectorAll('#rows .country');
[].forEach.call(cols, function(col) { col.addEventListener('dragstart', handleDragStart2, false); col.addEventListener('dragenter', handleDragEnter, false); col.addEventListener('dragover', handleDragOver, false); col.addEventListener('dragleave', handleDragLeave, false);
}); function handleDrop(e) { // this / e.target is current target element. if (e.stopPropagation) { e.stopPropagation(); // stops the browser from redirecting. } // See the section on the DataTransfer object. return false;
}
function handleDragEnd(e) { // this/e.target is the source node. [].forEach.call(cols, function (col) { col.classList.remove('over'); });
}
// var cols2 = document.querySelectorAll('.popup');
// [].forEach.call(cols2, function(col2) {
// col2.addEventListener('drop', handleDrop2, false);
// });
var cols = document.querySelectorAll('#rows .country');
[].forEach.call(cols, function(col) { col.addEventListener('dragstart', handleDragStart2, false); col.addEventListener('dragenter', handleDragEnter, false) col.addEventListener('dragover', handleDragOver, false); col.addEventListener('dragleave', handleDragLeave, false); col.addEventListener('drop', handleDrop, false); col.addEventListener('dragend', handleDragEnd, false);
});
function drop(event) { document.getElementById("pop").setAttribute("style", "left: 200px; color:blue;");
}
//end of TAPHOLD action
// });
//});
Wireframing - Script Codes
Wireframing - Script Codes
Home Page Home
Developer Angelina
Username Angelina_Lapteva
Uploaded December 01, 2022
Rating 3
Size 2,708 Kb
Views 14,168
Do you need developer help for Wireframing?

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!

Angelina (Angelina_Lapteva) Script Codes
Create amazing video scripts 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!