Gravatar login window close parent
-
Hi,
I’ve made a popup link to gravatar in the simpliest way :
`
<!DOCTYPE html>
<html>
<head>
<title>Test gratavar</title>
</head>
<body>
<a href=”http://gravatar.com”>plop</a>
<script>
document.getElementsByTagName(‘a’)[0].addEventListener(‘click’, function (e) {
e.preventDefault();
window.open(this.getAttribute(‘href’));
});
</script>
</body>
</html>
`When I click the link, gravatar home page popup, then, I click on the sign-in link, I submit the form, and, the window close and the parent window (the one with the popup link) load the gravatar home.
The link is in a webapp so it’s disturbing that gravatar take its place.Cordially,
Hadrien
- The topic ‘Gravatar login window close parent’ is closed to new replies.