: : I want to create a popup window on the position of the mouse. I want to use this for a popup menu. Something like:
: :
: :
: : <img onMouseOver="Popup(this)">
: :
: : <script Language="JavaScript">
: : <!--
: : function Popup(obj) {
: : win = window.open('','','left:'+obj.left+';top:'+obj.top+';dependent;');
: : }
: : //-->
: : </script>
: :
: :
: : Do You get what I mean ?
: : (ofcourse the code above does not work!)
: : I'd also like to get rid of the titlebar of the popup window, so that the users won't see it as the popupwindow but as a popupmenu...
: :
: : can anyone help me with that ?
: :
: :
: :

: : -mac-
: : mailto:programmersheaven@mac-doggie.nl
: : the Netherlands...
: :
: :
:
: Hi there,
:
: Yep I understand what you're trying to do.
:
: There's no way to actually remove the pop-up's Title bar. The only time the title bar is not present is during full screen mode in IE. NS still retains the title bar.
:
: So your only other way to do it is to use <DIV>'s.
:
: It also depends upon which browser you're trying to develop for.
:
: window.event.x and window.event.y give you the precise mouse coordinates. In your popup code, you can use these two to get where the mouse is when the function is fired.
:
: HTH
: Bradley q:)
:
Thanks for your reply. I thought that I did see explorerwindows without titelbar, but I guess I'm wrong then. I thought of <DIV>'s too, but if I am using frames De popup menu won't appear over the other frame, it just creates a scrollbar in it's own frame (know what I mean?) If anyone can figure out a way to get rid of the titelbar please let me know... (I could allways create my own browser in VB hihi)

-mac-
mailto:programmersheaven@mac-doggie.nl
the Netherlands...