Created
May 10, 2012 14:50
-
-
Save bogdan/2653659 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="ru"> | |
<head> | |
<title>Lookz.ru</title> | |
<link href="http://localhost:3000/assets/jquery.fancybox.css?body=1" media="all" rel="stylesheet" type="text/css"> | |
<style> | |
.fancybox-wrap { | |
position: absolute; | |
top: 0; | |
left: 0; | |
z-index: 1002; | |
} | |
.fancybox-outer { | |
position: relative; | |
padding: 0; | |
margin: 0; | |
background: #f9f9f9; | |
color: #444; | |
text-shadow: none; | |
-webkit-border-radius: 4px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
} | |
.fancybox-opened { | |
z-index: 1003; | |
} | |
.fancybox-inner { | |
width: 100%; | |
height: 100%; | |
padding: 0; | |
margin: 0; | |
position: relative; | |
outline: none; | |
overflow: hidden; | |
} | |
/* Overlay helper */ | |
#fancybox-overlay { | |
position: absolute; | |
top: 0; | |
left: 0; | |
overflow: hidden; | |
display: none; | |
z-index: 1001; | |
background: #000; | |
} | |
/* Title helper */ | |
</style> | |
</head> | |
<body> | |
<div class="fancybox-wrap fancybox-desktop fancybox-default fancybox-opened" style="display: block; overflow-x: visible; overflow-y: visible; height: auto; width: 910px; position: fixed; top: 20px; left: 221px; "> | |
<div class="fancybox-outer" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; width: auto; height: auto; "> | |
<div class="fancybox-inner" style="overflow-x: hidden; overflow-y: hidden; width: 910px; height: 398px; "> | |
<div style="background-color:white;padding:20px;"> | |
<div> | |
Lorem ipsum dolor sit amet, consectetur magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum | |
</div> | |
<a id="popup-link" href="#">Link</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div id="fancybox-overlay" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: black; cursor: pointer; display: block; opacity: 0.8; width: 1351px; height: 863px; background-position: initial initial; background-repeat: initial initial; "></div> | |
<script> | |
var link = document.getElementById("popup-link"); | |
var point = document.elementFromPoint(link.offsetLeft, link.offsetTop); | |
console.log(point) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment