Help with a strange popup or popover!

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

umm… can you explain better or post an example?

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

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’)”></body></html>


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




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



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

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

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…:slight_smile:

I can’t post script here sorry guys…

something like this.

http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

instead of using

 use 
```php

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

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

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 …