I am trying to get a popup or popover script to put on my site but can’t seem to find it anywhere at all. Its like this the popup loads on page like a little button, then when it gets to the center it opens up to like 2/3 of the page to show my ad or what ever. My question is can it be done??
what I want is a popover or should I say a layer like popup, as the index.html loads it loads as well but instead of openen in fullsize it opens very small and when the index.html is finish loading the popover starts to bigger ontill its about 2/3 of the page. I hope you understand what I mean…
function dropin(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<100+scroll_top)
crossobj.top=parseInt(crossobj.top)+40+calunits
else{
clearInterval(dropstart)
bouncestart=setInterval(“bouncein()”,50)
}
}
function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}
function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility=“hidden”
}
function truebody(){
return (document.compatMode!=“BackCompat”)? document.documentElement : document.body
}