Wireframing
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 - 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
// });
//});
Developer | Angelina |
Username | Angelina_Lapteva |
Uploaded | December 01, 2022 |
Rating | 3 |
Size | 2,708 Kb |
Views | 14,168 |
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!
Name | Size |
Menu_2 | 4,070 Kb |
SVG Animation diagramm | 2,317 Kb |
Smooth scroll | 3,246 Kb |
Progress bar multiple | 2,179 Kb |
Beautiful PersonaL Page | 3,500 Kb |
Transition Menu and Video Background | 4,971 Kb |
Week_3_session | 3,267 Kb |
Animated | 3,336 Kb |
3d looking button | 1,551 Kb |
Tooltip | 2,244 Kb |
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!
Name | Username | Size |
Alter bg opacity on hover... | Chrisboon27 | 2,054 Kb |
Improve | Gavra | 1,652 Kb |
Clock Face Idea | Chrisburnell | 3,196 Kb |
Tumblr API | Juanv911 | 2,436 Kb |
A Pen by tugce | Ecgutcnkr | 4,197 Kb |
Pomodoro Timer | Sdas13 | 2,900 Kb |
Image grid with captions | Mchernin34 | 2,222 Kb |
Atom | Bhlaird | 1,932 Kb |
Google Maps API Ground Overlay | Boycetrus | 2,961 Kb |
Rows with image hover effect | Amit-webdesigner | 12,875 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!