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

New Message on BDOTNET

-----------------------------------------------------------
From: manojpro
Message 1 in Discussion

Hi Guys,

I am using some sample code to display tooltip.
its works fine when i used there sample application, but when i am
trying to use in my application it says object required?
what may be the problem? can any body help me to get solution for his.

function showfloatie(thetext,optbgColor, optWidth, optHeight)
                                {
                                        var dsocx=(window.pageXOffset)? 
pageXOffset: ietruebody().scrollLeft;
                                        var dsocy=(window.pageYOffset)? 
pageYOffset : ietruebody().scrollTop;
                                        var 
floatobj=document.getElementById("dhtmlfloatie")
                                        floatobj.style.left="-900px"
                                        floatobj.style.display="block"
                                        
floatobj.style.backgroundColor=paramexists(optbgColor)?
optbgColor : floatiebgcolor
                                        
floatobj.style.width=paramexists(optWidth)? optWidth+"px" : floatiewidth
                                        
floatobj.style.height=paramexists(optHeight)? optHeight+"px" :
floatieheight!=""? floatieheight : ""
                                        floatobj.innerHTML=thetext
                                        var floatWidth=floatobj.offsetWidth>0? 
floatobj.offsetWidth :
floatobj.style.width
                                        var 
floatHeight=floatobj.offsetHeight>0? floatobj.offsetHeight :
floatobj.style.width
                                        var 
winWidth=document.all&&!window.opera?
ietruebody().clientWidth : window.innerWidth-20
                                        var 
winHeight=document.all&&!window.opera?
ietruebody().clientHeight : window.innerHeight
                                        e=window.event? window.event : e
                                        
floatobj.style.left=dsocx+winWidth-floatWidth-5+"px"
                                        if (e.clientX>winWidth-floatWidth && 
e.clientY+20>winHeight-floatHeight)
                                        floatobj.style.top=dsocy+5+"px"
                                        else
                                        
floatobj.style.top=dsocy+winHeight-floatHeight-5+"px"
                                        slowhigh(floatobj)



-- 
Regards,
Manoj Kulkarni
9448644188


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

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