# Help with a strange popup or popover!

**URL:** <https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388>\
**Category:** Uncategorized\
**Created:** [August 1, 2003, 7:11pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388 "2003-08-01T19:11:44Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidt39](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@davidt39](https://forum.kirupa.com/u/davidt39)\
**Post date:** [August 1, 2003, 7:11pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/1 "2003-08-01T19:11:44Z")

</div>

Hi all,

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??

\Davidt39

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 1, 2003, 9:35pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/2 "2003-08-01T21:35:59Z")

</div>

umm… can you explain better or post an example?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 8:45am UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/3 "2003-08-02T08:45:24Z")

</div>

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…

\David

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 5:20pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/4 "2003-08-02T17:20:15Z")

</div>

hey, I wonder if her is you want to find:

\<html\>\<head\>\<script language=“JavaScript” type=“text/JavaScript”\>\<!–function MM\_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);}//–\>\</script\>\</head\>\<body bgcolor="#000000" onLoad=“MM\_openBrWindow(‘[http://www.google.com/index.html’,’’,'width=700,height=500](http://www.google.com/index.html','','width=700,height=500)’)”\>\</body\>\</html\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 5:22pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/5 "2003-08-02T17:22:32Z")

</div>

```auto

<html><head><script language="JavaScript" type="text/JavaScript"><!--function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);}//--></script></head><body bgcolor="#000000" onLoad="MM_openBrWindow('http://www.google.com/index.html','','width=700,height=500')"></body></html>

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 5:24pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/6 "2003-08-02T17:24:02Z")

</div>

```auto

<html ><head ><script language="JavaScript" type="text/JavaScript"><!--function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);}//--></script></head><body bgcolor="#000000" onLoad="MM_openBrWindow('http://www.google.com/index.html','','width=700,height=500')">< / body ></ html >

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 5:29pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/7 "2003-08-02T17:29:15Z")

</div>

Grrrrrrrrrrrrrrrr  
I can’t post code: her you go:

[http://www.elitehackers.com/cgi-bin/uub/ultimatebb.cgi?ubb=get\_topic;f=6;t=000915;p=&r=npwm](http://www.elitehackers.com/cgi-bin/uub/ultimatebb.cgi?ubb=get_topic;f=6;t=000915;p=&r=npwm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 5:33pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/8 "2003-08-02T17:33:44Z")

</div>

Hi Guys,

something like this…

\<–START HEADER–\>

\<script language=“JavaScript1.2”\>

// Drop-in content box

var ie=document.all  
var dom=document.getElementById  
var ns4=document.layers  
var calunits=document.layers? “” : “px”

var bouncelimit=32 //(must be divisible by 8)  
var direction=“up”

function initbox(){  
if (!dom&&!ie&&!ns4)  
return  
crossobj=(dom)?document.getElementById(“dropin”).style : ie? document.all.dropin : document.dropin  
scroll\_top=(ie)? truebody().scrollTop : window.pageYOffset  
crossobj.top=scroll\_top-250+calunits  
crossobj.visibility=(dom||ie)? “visible” : “show”  
dropstart=setInterval(“dropin()”,50)  
}

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  
}

window.onload=initbox

\</script\>

\<–END HEADER–\>

\<–START BODY–\>

\<div id=“dropin” style=“position:absolute;visibility:hidden;left:200px;top:100px;width:500px;height:300px;background-color:#F5F5F5”\>

\<div align=“right”\>\<a href="#" onClick=“dismissbox();return false”\>[Close Box] \</a\>\</div\>

SPECIFY YOUR CONTENT HERE. IT COULD BE TEXT, IMAGES, OR RICH HTML

\</div\>

\<–END BODY–\>

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 5:39pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/9 "2003-08-02T17:39:46Z")

</div>

Hi Guys,

I know a lot of people don’t like popup but hey there is a lot of thing we all don’t like but we still do them…🙂

I can’t post script here sorry guys…

something like this.

[http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm](http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 2, 2003, 9:01pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/10 "2003-08-02T21:01:13Z")

</div>

instead of using

````auto
 use 
```php
````

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2003, 11:45am UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/11 "2003-08-03T11:45:08Z")

</div>

DigitalPimp can you show me how to use php to do this.  
I am not at all home with programming. cheers

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 3, 2003, 7:50pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/12 "2003-08-03T19:50:08Z")

</div>

Sorry dude but I don’t know PHP. Plus, from what it sounds like PHP isn’t gonna help you out here.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2003, 8:35pm UTC](https://forum.kirupa.com/t/help-with-a-strange-popup-or-popover/27388/13 "2003-08-05T20:35:32Z")

</div>

this might help… i dunno…  
\*\*

\< font size=“2” face=“Verdana, Arial, Helvetica, sans-serif” onmousedown=“MM\_openBrWindow(‘URL ADDRESS’,‘booking’,‘width=700,height=700’)” \> \< a href="#" \>Link Name\< /a \>

\*\*

Leave the “#” it will tell where to anchor

note: take the gaps out before and after the **\< & \>**

Width & Height is the size of window to be opened …
