PDA

View Full Version : Pop-Up/Over Delay and Float-In



meliho
10-24-2005, 02:46 AM
Hello Everyone,

We had some thoughts and ideas we wanted to pass along and see if anyone had some solutions to this.

We found two pop-up scripts at Dynamic Drive that we like. One of them is is the DHTML Window located at
http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow.htm

the other is from Brian Gosselin PopUp Box II and the aesthetics are great on this one located at
http://www.dynamicdrive.com/dynamicindex11/abox2.htm

What we are looking for is a pop-up window that will appear delayed after someone comes to the page and floats downward. We have looked for these scripts and played around with many of them, but all in all none of them have worked well.

The two above work well and are easy to use. Now we need to add the other functionalities to them, unless someone has a suggestion of one that works and is already out there?

Actually if someone could come up with a version that fades into the screen on a delay, you would certainly have something new.

Open to suggestions and feedback.

Thanks.

jasculs
11-08-2005, 06:16 AM
How would I time delay the following drop in box so it show's up after a specific time.

http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow.htm

Thanks
Jason

jscheuer1
11-08-2005, 10:49 AM
Replace this part of step2:


<script>
//Use below code to load DHTML Window as page loads
if (ns6) window.onload=new Function('loadwindow("http://www.google.com",600,400)')
else
loadwindow("http://www.google.com",600,400)
</script>

with:


<script type="text/javascript">
//Use below code to load DHTML Window as page loads
if (ns6) window.onload=function(){
setTimeout("loadwindow('http://www.google.com',600,400)", 2000)
}
else
setTimeout("loadwindow('http://www.google.com',600,400)", 2000)
</script>

2000 is the number of milliseconds delay. In this case, 2000 or 2 seconds.