Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
Welcome, Guest
Please Login or Register.    Lost Password?
Close button problem (1 viewing) (1) Guest
Go to bottomPost New TopicPost Reply Favoured: 0
TOPIC: Close button problem
#49716
Close button problem 9 Months, 2 Weeks ago  
Hey admins, why don't u solve the problem with the close button, because when change the text to something different than "close", everyone get a bug, it's simple to fix, see:

Change the line in file mod_moopopup.php:

var p = new mooSimpleBox({ width:'.$width.', height:'.$height.', btnTitle:'.$buttonTitle.',closeBtn:'myBtn', btnTitle: 'close',boxClass:'myBox', id:'myID', fadeSpeed:'.$fadeSpeed.', opacity:'0.9', addContentID:'mooPopUpDiv', boxTitle:''.$boxTitle.'', isDrag:''.$isDrag.''});

For:

var p = new mooSimpleBox({ width:'.$width.', height:'.$height.', btnTitle:close,closeBtn:'myBtn', btnTitle: ''.$buttonTitle.'',boxClass:'myBox', id:'myID', fadeSpeed:'.$fadeSpeed.', opacity:'0.9', addContentID:'mooPopUpDiv', boxTitle:''.$boxTitle.'', isDrag:''.$isDrag.''});


It's just because the btnTitle:'.$buttonTitle.', must be btnTitle:close and btnTitle: 'close' must be btnTitle: ''.$buttonTitle.''.

I hope that helps.

Andrew, www.animespace.com.br

PS: Sorry for the bad english.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Turdin (Visitor)

Logged Logged  
 
Reply Quote  
#53419
Re:Close button problem 6 Months, 3 Weeks ago  
doesn't work....
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Jan38 (Visitor)

Logged Logged  
 
Reply Quote  
#55184
Re:Close button problem 5 Months, 1 Week ago  
Code:

var p = new mooSimpleBox({ width:'.$width.', height:'.$height.', btnTitle:'close',closeBtn:'myBtn', btnTitle: "'.$buttonTitle.'",boxClass:'myBox', id:'myID', fadeSpeed:'.$fadeSpeed.', opacity:'0.9', addContentID:'mooPopUpDiv', boxTitle:''.$boxTitle.'', isDrag:''.$isDrag.''});
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
pl (Visitor)

Logged Logged  
 
Reply Quote  
#55192
Re:Close button problem 5 Months, 1 Week ago Karma: 148  
thanks for sharing
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
ronysyz (User)
Terus Berjuang.....
Support Team
Posts: 8426
graph
User Offline Click here to see the profile of this user
Gender: Male GlobalTor.com Location: Indonesia
Logged Logged  
 
 
Reply Quote  
#55685
Re:Close button problem 4 Months, 3 Weeks ago  
var p = new mooSimpleBox({ width:'.$width.', height:'.$height.', btnTitle:'close',closeBtn:'myBtn', btnTitle: "'.$buttonTitle.'",boxClass:'myBox', id:'myID', fadeSpeed:'.$fadeSpeed.', opacity:'0.9', addContentID:'mooPopUpDiv', boxTitle:''.$boxTitle.'', isDrag:''.$isDrag.''});

I've copy and paste this sintax into php file (mod_moopopup line 83) and then the url donīt run. It was stooped (Edit with Notepad ++). I think that it's not good solution to this problem.

Best regards
(and excuse my english)
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
Pedro (Visitor)

Logged Logged  
 
Reply Quote  
#55896
Re:Close button problem 4 Months, 2 Weeks ago  
The line correct is:

Code:

var p = new mooSimpleBox({ width:'.$width.', height:'.$height.', btnTitle:"'.$buttonTitle.'",closeBtn:'myBtn', boxClass:'myBox', id:'myID', fadeSpeed:'.$fadeSpeed.', opacity:'0.9', addContentID:'mooPopUpDiv', boxTitle:''.$boxTitle.'', isDrag:''.$isDrag.''});



intel+
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
D0dg3 (Visitor)

Logged Logged  
 
Reply Quote  
Go to topPost New TopicPost Reply