A Pen by Shayne Trosdahl

Size
1,947 Kb
Views
12,144

How do I make an a pen by shayne trosdahl?

What is a a pen by shayne trosdahl? How do you make a a pen by shayne trosdahl? This script and codes were developed by Shayne Trosdahl on 18 November 2022, Friday.

A Pen by Shayne Trosdahl Previews

A Pen by Shayne Trosdahl - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Shayne Trosdahl</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <button id="button" style="position:absolute;">Button</button> <script src="js/index.js"></script>
</body>
</html>

A Pen by Shayne Trosdahl - Script Codes CSS Codes

@import "compass/css3";

A Pen by Shayne Trosdahl - Script Codes JS Codes

/*var body	=	document.querySelector('body');
var btn	=	document.querySelector('#button');
var showClick =	addEventListener('click', function(e) { alert('You clicked ' + e); setTimeout(showClick, 2000); showClick(); hideClick();
});*/
clickPosition = (function() { var clickX = ''; var clickY = ''; var tClick = ''; function showClick(e) { tClick = document.querySelector('#button'); clickX = e.offsetX; clickY = e.offsetY; alert('Show Click'); } function setLocation(e) { tClick.style.left = e.pageX - clickX + 'px'; tClick.style.top	= e.pageY - clickY + 'px'; alert('Set Location'); } document.querySelector('body').addEventSelector('click', showClick, false); document.querySelector('body').addEventSelector('click', setLocation, false);
});
A Pen by Shayne Trosdahl - Script Codes
A Pen by Shayne Trosdahl - Script Codes
Home Page Home
Developer Shayne Trosdahl
Username Trozdol
Uploaded November 18, 2022
Rating 3
Size 1,947 Kb
Views 12,144
Do you need developer help for A Pen by Shayne Trosdahl?

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!

Shayne Trosdahl (Trozdol) Script Codes
Create amazing Facebook ads 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!