-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Swami_SRS
Message 3 in Discussion

The type of menu which u want can be created by 2 methods.
# 1. using the createpopup method of the window object.
# 2. creating a floating div/span element.   #1 By using the popup method:
 oPopup = window.createPopup();
 oPopBody = oPopup.document.body;
// define the popup styles.
 oPopBody.style.border = "solid black 1px";
 oPopBody.style.fontFamily = "arial";
 oPopBody.style.fontSize = "8pt";
 oPopBody.innerHTML = getPopupHTML()
 nLeft = event.clientX + 150;
 nTop = event.clientY + 120;
//position the popup and display.
 oPopup.show(nLeft, nTop,130,288)   # 2: By using a floating div/span:
 pDIV = document.createElement("DIV")
 pDIV.innerHTML = getDivHTML();
 
 form1.appendChild(pDIV);   once you add the element, the div is visible.   In the 
second method the positioning can be acheived by setting the top attribute of the 
div/span dynamically created. To move the popup along with the scroll bar, u can 
handle it in "onscroll" event of the body. I have not tried the positioning the popup, 
dynamically using the first method.     Hope this helps.   Get back if u need more 
info, - Swami

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to