Hi everyone I’m new here and wanted to say Hi to everyone.
… and maybe ask for some help I’m quite new to using Javascript Css and PHP for making dynamic pages but so far has it been working alright so far ?
But I’m currently stuck on a IE problem, this works excellent in Firefox but is so damn slow in IE.?
when changing the content in a div with innerHTML all content in the div becomes damn slow Mouseover effects and other things are shown long after the mouse has passed… the things is it perfectly in Firefox … anyone got an Idea on how to make this more speed it up so that IE users can use the site to:eek:
[CODE]var target=”;
var area_to_update=””;
var focus_data = new Array();
var stringed_data = new Array();
var nshow_data = new Array();
function layout_episode_info()
{
var recount=0;
focus_data=”;
select_data=”;
focus_data_count=focus_data_raw.split(“#numb#”);
stringed_data=focus_data_count[1].split(“:;;:”);
if(focus_data_count[0]>20){document.getElementById(area_to_update).innerHTML = “<TABLE id = ‘section_information’ ><TR><TD align=’center’><IMG SRC=’layout/default/symbol_loading.png’></TD></TR></TABLE>”;}
for(xn=1;xn<focus_data_count[0];xn++)
{
show_data=stringed_data[xn-1].split(“:;:”);
mouseovereffect=”onMouseover=”this.style.backgroundColor=’#d9e5ff'” onMouseout=”this.style.backgroundColor=’#f8f8f8′””;
if(show_data[4]==’0′){stars=”<IMG SRC=’layout/default/symbol_rating_blanc.png’><IMG SRC=’layout/default/symbol_rating_blanc.png’><IMG SRC=’layout/default/symbol_rating_blanc.png’><IMG SRC=’layout/default/symbol_rating_blanc.png’><IMG SRC=’layout/default/symbol_rating_blanc.png’>”;}
focus_data = focus_data + “<TABLE “+mouseovereffect+” id='”+show_data[0]+”‘><TR><TD id=’section_data_modfield_max’><IMG SRC=’layout/default/ab_maximize.png’><IMG SRC=’layout/default/symbol_release_temp_cold.png’></TD><TD id=’section_data_modfield_episode’>”+show_data[2]+”</TD><TD id=’section_data_modfield_episode_textfield’>”+show_data[3]+”</TD><TD id=’section_data_modfield_episode_rating’>”+stars+”</TD><TD id=’section_data_modfield_episode_releases’>None found!</TD><TD id=’section_data_modfield_episode_airing’>”+show_data[6]+”</TD></TR></TABLE>”;
}
document.getElementById(area_to_update).innerHTML = focus_data;
}
Thanks for your help Masj ?
I will try to assist people on this site as much as I’m capable ?