Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
Welcome, Guest
Please Login or Register.    Lost Password?
Fix for Javascript Error in Internet Explorer (1 viewing) (1) Guest
Go to bottomPost New TopicPost Reply Favoured: 0
TOPIC: Fix for Javascript Error in Internet Explorer
#37138
Fix for Javascript Error in Internet Explorer 1 Year, 5 Months ago  
I discovered a Javascript error that was preventing the popup from appearing in Internet Explorer and was preventing me from changing the text of the close button.

In mod_moopopup.php, line 83, the 'btnTitle' key was present twice. The second instance was overriding the first, meaning that the close button text was always 'close'. The first instance was not wrapping the $buttonTitle variable with escaped quote marks, which as causing the error in IE.

I removed the second 'btnTitle' key and replaced the first one as below. Now everything is working correctly:

btnTitle:''.$buttonTitle.''
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
southermark (Visitor)

Logged Logged  
 
Reply Quote  
#56017
Re:Fix for Javascript Error in Internet Explorer 4 Months, 1 Week ago  
FOOOOLISHNESS.. it didntfix theproblem.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
tmf (Visitor)

Logged Logged  
 
Reply Quote  
#58998
Re:Fix for Javascript Error in Internet Explorer 1 Week, 6 Days ago  
PLEASE PASTE YOU CODE mod_moopopup.php i have igual problem.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
diego (Visitor)

Logged Logged  
 
Reply Quote  
Go to topPost New TopicPost Reply