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 9 Months 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 9 Months 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  
#57775
Re:Self close 1 Month, 4 Weeks ago  
Can you please clarify step by step on how you change the 2 files to self close.
I get the idea but when I past in what is in the forum, The popup will not work.

thank you
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Marcus (Visitor)

Logged Logged  
 
Reply Quote  
Go to topPost New TopicPost Reply