popup - Javascript Pop-Up when Mouse Hovers toward Browser BarBack Button - Stack Overflow

I would like to imitate this exact feature on this page. (Move mouse toward the top browser bar)I gues

I would like to imitate this exact feature on this page. (Move mouse toward the top browser bar)

I guess all i need to know is how to create the hovering mouse action, the rest I should be able to handle myself.

Any tutorials? I don't know js.

Thanks Everyone.

I would like to imitate this exact feature on this page. (Move mouse toward the top browser bar)

http://my-personal-growth./personal-growth/what-anthony-robbins-teaches-about-emotions-and-meaning

I guess all i need to know is how to create the hovering mouse action, the rest I should be able to handle myself.

Any tutorials? I don't know js.

Thanks Everyone.

Share Improve this question asked Oct 29, 2010 at 18:42 VaraziVarazi 5932 gold badges10 silver badges27 bronze badges 3
  • 7 This is one of the most f**ing annoying JavaScript functions I have ever seen. – Pekka Commented Oct 29, 2010 at 18:45
  • To answer your question though, I strongly doubt whether there are tutorials out there for this specific purpose. You may need to implement this for yourself. It's not difficult, but it's a really bad idea. – Pekka Commented Oct 29, 2010 at 18:46
  • 1 I'm with @Pekka, don't do this, I'd be ready to hunt you down with torches and pitchforks. – Nick Craver Commented Oct 29, 2010 at 18:47
Add a ment  | 

3 Answers 3

Reset to default 3

You might notice the wee little text at the bottom of the (f&!ing) popup:

Powered by ActionPopup

That's how it's done.

Don't do it.

(And don't you just love the voice that starts talking at you when you open the ActionPopup page?)

You could use window.onmouseout event or use onmouseout on the elements on the page you are using.

Something like this:

<html>
<head>

<title>onmouseout test</title>

<style type="text/css">
.my_box { border: 1px solid red; }
</style>

<script type="text/javascript">

window.onmouseout = mouseout;

function mouseout()
{
 alert("mouseout event detected!");
}
</script>
</head>

<body>
<div class="my_box">
<p>move the mouse pointer away from the element it is on<br />
to fire the mouseout event.</p>
</div>
</body>
</html>

As Matt Ball said, it's made by ActionPopup.

If you want to see how it's done, you can have a look at the code here :

http://my-personal-growth./wp-content/plugins/action-popup/actionpopup.php

(not sure why it has a php extension...)

But as the others said, it is a very annoying function. I can't really see how it would ever be useful.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745132002a4613016.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信