Wizzoid
Registered Member
- Dec 16, 2008
- 94
- 11
Hi guys, please check the error below:
The line in the script it's refering to:
In firefox the script is working fine, in IE i get the error. I'm seriously losing out on money because of this.
Any help would be appreciated.
The line in the script it's refering to:
Code:
var ul = document.createElement('ul');
ul.style.textAlign = 'center';
ul.style.margin = '0 0 10px 0';
ul.style.padding = '0';
ul.style.listStyleType = 'none';
for(var i = 0;i<blocker_surveryLinks.length;i++){
var li = document.createElement('li');
var a = document.createElement('a');
a.style.display = 'block';
a.style.fontSize = '14px';
a.style.lineHeight = '22px';
a.style.color = 'Blue';
a.style.fontFamily = 'arial';
a.style.textDecoration = 'underline';
a.target = '_blank';
a.href = blocker_surveryLinks[i].url;
a.innerHTML = blocker_surveryLinks[i].text;
a.onclick = function(){
window.setTimeout(unblockContent, 300000);
}
li.appendChild(a)
ul.appendChild(li);
}
In firefox the script is working fine, in IE i get the error. I'm seriously losing out on money because of this.
Any help would be appreciated.
Last edited: