Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPost New TopicPost Reply Favoured: 0
TOPIC: Self close
#50169
Self close 3 Months, 1 Week ago  
Hell all,

I want that the popup will close automaticly after 3 seconds.
In the php file i have to add something in the window.onload=function(){, but i dont'know what.
Does somebody knows the solution?

Seb.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Sebbe (Visitor)

Logged Logged  
 
Reply Quote  
#50173
Re:Self close 3 Months, 1 Week ago  
Solved it:

Add in php file in the window.onload=function(){
p.clickClose();

In mooMessageBox.js
look for clickClose: function(){
add after duration: the seconds (like 3000 for 3 seconds).

Maybe not teh best solution, but it works for me!

Seb.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Sebbe (Visitor)

Logged Logged  
 
Reply Quote  
Go to topPost New TopicPost Reply