|
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.
|
|
Turdin (Visitor)
|
Logged
|
|
|
|
|
Re:Close button problem 6 Months, 3 Weeks ago
|
|
|
doesn't work....
|
|
Jan38 (Visitor)
|
Logged
|
|
|
|
|
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.''});
|
|
|
pl (Visitor)
|
Logged
|
|
|
|
|
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)
|
|
Pedro (Visitor)
|
Logged
|
|
|
|
|
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+
|
|
D0dg3 (Visitor)
|
Logged
|
|
|
|
|