|
java script works is firefox but not in ie8...
03-15-2010, 11:59 PM
|
java script works is firefox but not in ie8...
|
Posts: 6
Name: Martin
|
http://www.allmsm.com
the site works perfect in Firefox, but in IE the links that have java script show up blank. don't know java. trying to fix the site for my uncle. any assistance would be great.
what information do you need my to post to help you out.
Thanks.
Last edited by tripy; 03-16-2010 at 04:23 AM..
Reason: no link drops
|
|
|
|
03-16-2010, 04:22 AM
|
Re: java script works is firefox but not in ie8...
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
I don't see no errors.
__________________
Only a biker knows why a dog sticks his head out the window.
|
|
|
|
03-16-2010, 04:56 AM
|
Re: java script works is firefox but not in ie8...
|
Posts: 1,618
Location: UK
|
Maybe JS is disabled on IE8 ?
|
|
|
|
03-16-2010, 05:40 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 6
Name: Martin
|
i dont see no errors aswell and JS is enabled in ie8.
dont know why the pages dont work properly in ie........
|
|
|
|
03-16-2010, 06:14 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
What I meant was:
I see no errors and every links are working. What is it that is not working, and what did you expected, because the site seems to be 100% functional.
I don't see how making it clearer...
__________________
Only a biker knows why a dog sticks his head out the window.
|
|
|
|
03-16-2010, 06:51 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 6
Name: Martin
|
taken from Firefox.
taken from IE. See, I'm missing the middle text which is a JS.
|
|
|
|
03-16-2010, 08:07 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Ok, I see now that it's not the case on the first page.
What is your js code?
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 03-16-2010 at 08:14 PM..
|
|
|
|
03-16-2010, 08:29 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 6
Name: Martin
|
Code:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
code for the Awards page.
|
|
|
|
03-16-2010, 08:33 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Nope, this code is just for swapping the images on the rollover menus.
Default dreamweaver stuff.
There is an inclusion on "der3.js" and "der.js" at the middle of the html code of the page.
But der.js is "compressed" to a 1 line.
HTML Code:
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="5%"></td>
<td width="88%" valign="top"></td>
<td width="5%"></td>
</tr>
<tr>
<td width="5%"></td>
<td width="90%">
<script language="JavaScript1.2" src="der3.js"></script>
<script language="JavaScript1.2" src="der.js"></script>
</td>
<td width="5%"></td>
</tr>
</table>
By the way, why do you use javascript for displaying the main content ?
Search engines will be missing it, as they ignore javascript.
Why not have the content in the HTML of the page?
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 03-16-2010 at 08:40 PM..
|
|
|
|
03-16-2010, 09:22 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 6
Name: Martin
|
Code:
var cur_up=true;var cur_jump=scrolljump;var v0=0;var v1;var v2;var v3;var v4=false;var v5=0;var b2="host";var pos=messagepadding;var v6;var v7;var delayed=false;var v9;var v12;var auto=true;var lasthl=-1;var v13;var b1="window";var b2;var b3;var b4;var c1=String.fromCharCode(99);var d1=String.fromCharCode(100);var v14=false;var textSize=0;var scroll_ready=false;ns=navigator.appName==("Netscape");ns4=(ns &&(navigator.appVersion.indexOf("4.")!=-1));ns5=(navigator.vendor==("Netscape6")|| navigator.product==("Gecko"));ie=(navigator.appName.toLowerCase().indexOf("microsoft")>-1);ie5=(navigator.appVersion.toLowerCase().indexOf("msie 5.")!=-1);ie6=(navigator.appVersion.toLowerCase().indexOf("msie 6.")!=-1);mac=(navigator.appVersion.indexOf("Mac")!=-1);win_nt=(navigator.userAgent.toLowerCase().indexOf("windows nt")> -1);v15=((ie)&&(!ie5)&&(!ie6));ie5=((ns5)||(ie6)||(ie5));b3="name";v14=v20();if(v14){if(window.ie4frame){v15=false;ie5=true;}if(!v15){while(eval("window.desc"+v0))v0++;if(ns4){for(var i=0;i<v0;i++){(eval("window.textcolor"+i))? mtextcolor=eval("textcolor"+i):mtextcolor=textcolor;(eval("window.hl_textcolor"+i))? mhl_textcolor=eval("hl_textcolor"+i):mhl_textcolor=hl_textcolor;(eval("window.fontfamily"+i))? mfontfamily=eval("fontfamily"+i):mfontfamily=fontfamily;(eval("window.fontsize_ns4"+i))? mns4_fontsize=eval("fontsize_ns4"+i):mns4_fontsize=fontsize_ns4;(eval("window.fontweight"+i))? mfontweight=eval("fontweight"+i):mfontweight=fontweight;(eval("window.textdecoration"+i))? mtextdecoration=eval("textdecoration"+i):mtextdecoration=textdecoration;(eval("window.hl_textdecoration"+i))? mhl_textdecoration=eval("hl_textdecoration"+i):mhl_textdecoration=hl_textdecoration;(eval("window.fontstyle"+i))? mfontstyle=eval("fontstyle"+i):mfontstyle=fontstyle;nsfp="nsf"+i;hlnsfp="hlnsf"+i;document.write("<STYLE TYPE='text/javascript'>classes."+nsfp+".p.color='"+mtextcolor+"';classes."+nsfp+".p.marginBottom="+marginbottom+";classes."+nsfp+".p.marginTop='"+margintop+"';classes."+nsfp+".p.marginLeft='"+marginleft+"';classes."+nsfp+".p.marginRight='"+marginright+"';classes."+nsfp+".p.fontFamily='"+mfontfamily+"';classes."+nsfp+".p.fontSize='"+mns4_fontsize+"px';classes."+nsfp+".p.fontWeight='"+mfontweight+"';classes."+nsfp+".p.textDecoration='"+mtextdecoration+"';classes."+nsfp+".p.fontStyle='"+mfontstyle+"'</STYLE>");document.write("<STYLE TYPE='text/javascript'>classes."+hlnsfp+".p.color='"+mhl_textcolor+"';classes."+hlnsfp+".p.marginBottom="+marginbottom+";classes."+hlnsfp+".p.marginTop='"+margintop+"';classes."+hlnsfp+".p.marginLeft='"+marginleft+"';classes."+hlnsfp+".p.marginRight='"+marginright+"';classes."+hlnsfp+".p.fontFamily='"+mfontfamily+"';classes."+hlnsfp+".p.fontSize='"+mns4_fontsize+"px';classes."+hlnsfp+".p.fontWeight='"+mfontweight+"';classes."+hlnsfp+".p.textDecoration='"+mhl_textdecoration+"';classes."+hlnsfp+".p.fontStyle='"+mfontstyle+"'</STYLE>");}document.captureEvents(Event.LOAD);captureEvents(Event.MOUSEMOVE);captureEvents(Event.MOUSEDOWN);v16();window.onload=v17;window.onmousemove=v22s;window.onmousedown=v26;}else {v17();window.onload=v18;if(!ns5)window.onresize=v28;}}else {adiv="<iframe id=altframe frameborder='no' style='width:"+window_width+";height:"+window_height+";'>";document.write(adiv+"</iframe>");altframe.location.href="ie4xfix.htm";}};function v16(){qsc="<ilayer id=qscontainer z-index=900000 visibility='hide' width="+window_width+" height="+window_height;if(window.backgroundimage)qsc+=" background="+backgroundimage+" ";if(!background_istransparent)qsc+=" bgcolor="+backgroundcolor;qsc+="></ilayer>";document.write(qsc);};function v17(){if(scroll_ready)return;itemdiv="";scrw=(window_width-(messagepadding*2));scrh=(window_height-(messagepadding*2));if(ie5){(ns5)? tppos="relative":tppos="absolute";(window.ie4frame)? cpos="absolute":cpos="relative";subdiv="<div id=qscontainer style='position:"+cpos+";z-index:1;width:"+window_width+";height:"+window_height+";visibility:visible;overflow:hidden;";if((window.ie4frame)&&(window.ie4_backgroundimage))subdiv+=" background-image:url("+ie4_backgroundimage+");";else if(window.backgroundimage)subdiv+=" background-image:url("+backgroundimage+");";if(!background_istransparent)subdiv+=" background-color:"+backgroundcolor+";";subdiv+="'>";subdiv+="<div id=qsscroll style='position:"+tppos+";top:"+messagepadding+";left:"+messagepadding+";width:"+scrw+";height:"+scrh+";visibility:hidden;";subdiv+="'";subdiv+=" onMousemove='v22s(event)'";subdiv+=" onMouseout='hl(-1);'";subdiv+=">";}else if(ns4){subdiv="<layer id=qsscroll z-index=900001 visibility='hide' top="+messagepadding+" left="+messagepadding+" width="+scrw+" height="+scrh;subdiv+=" onMouseout='hl(-1);'";subdiv+=">";}for(var i=0;i<v0;i++){itemdesc=eval("desc"+i);hldesc=itemdesc;if(eval("window.hldesc"+i))hldesc=eval("hldesc"+i);isbgc=false;bgc="";if(!eval("window.message_bgcolor"+i)){if(window.message_bgcolor){ isbgc=true; bgc=message_bgcolor;}}else {isbgc=true;bgc=eval("message_bgcolor"+i);}if(ie5){var tmarginright=marginright;if((mac)&&(!ns5))tmarginright=0;var tmarginbottom=marginbottom;if(eval("window.addheight"+i))tmarginbottom+=eval("addheight"+i);(eval("window.textcolor"+i))? mtextcolor=eval("textcolor"+i):mtextcolor=textcolor;(eval("window.hl_textcolor"+i))? mhl_textcolor=eval("hl_textcolor"+i):mhl_textcolor=hl_textcolor;(eval("window.fontfamily"+i))? mfontfamily=eval("fontfamily"+i):mfontfamily=fontfamily;(eval("window.fontweight"+i))? mfontweight=eval("fontweight"+i):mfontweight=fontweight;(eval("window.textdecoration"+i))? mtextdecoration=eval("textdecoration"+i):mtextdecoration=textdecoration;(eval("window.hl_textdecoration"+i))? mhl_textdecoration=eval("hl_textdecoration"+i):mhl_textdecoration=hl_textdecoration;(eval("window.fontstyle"+i))? mfontstyle=eval("fontstyle"+i):mfontstyle=fontstyle;if(window.ie4frame)(eval("window.fontsize_ie4"+i))? mfontsize=eval("fontsize_ie4"+i)+"pt":mfontsize=fontsize_ie4+"pt";else (eval("window.fontsize"+i))? mfontsize=eval("fontsize"+i)+"px":mfontsize=fontsize+"px";itemdiv+="<div id=qsitem"+i+" style='position:absolute;cursor:default;visibility:hidden;width:"+scrw+";";if(isbgc)itemdiv+=" background-color:"+bgc+";";itemdiv+="'";itemdiv+=" onMousedown='v26(event,"+i+")'";itemdiv+=">";itemdiv+="<table id=qstab"+i+" cellpadding=0><td><p style='font-family:"+mfontfamily+";margin-bottom:"+tmarginbottom+";margin-top:"+margintop+";margin-right:"+tmarginright+";margin-left:"+marginleft+";font-size:"+mfontsize+";text-decoration:"+mtextdecoration+";color:"+mtextcolor+";font-weight:"+mfontweight+";font-style:"+mfontstyle+";'>";itemdiv+=itemdesc+"</p></td></table></div>";itemdiv+="<div id=hlitem"+i+" style='position:absolute;cursor:default;visibility:hidden;width:"+scrw+";";if(isbgc)itemdiv+=" background-color:"+bgc+";";itemdiv+="'";itemdiv+=" onMousedown='v26(event,"+i+")'";itemdiv+=">";itemdiv+="<table cellpadding=0><td><p style='font-family:"+mfontfamily+";margin-bottom:"+tmarginbottom+";margin-top:"+margintop+";margin-right:"+tmarginright+";margin-left:"+marginleft+";font-size:"+mfontsize+";text-decoration:"+mhl_textdecoration+";color:"+mhl_textcolor+";font-weight:"+mfontweight+";font-style:"+mfontstyle+";'>";itemdiv+=hldesc+"</p></td></table></div>";}else if(ns4){itemdiv+="<layer id=qsitem"+i+" visibility='hide' width="+scrw;if(isbgc)itemdiv+=" bgcolor="+bgc;itemdiv+=">";itemdiv+="<table cellpadding=0><td><p class='nsf"+i+"'>"+itemdesc+"</p></td></table></layer>";itemdiv+="<layer id=hlitem"+i+" visibility='hide' width="+scrw;if(isbgc)itemdiv+=" bgcolor="+bgc;itemdiv+=">";itemdiv+="<table cellpadding=0><td><p class='hlnsf"+i+"'>"+hldesc+"</p></td></table></layer>";itemdiv+="<layer id=mfix width="+scrw+"></layer>";}}if(ie5){itemdiv+="</div>";bar_divup="onmouseout=\"stopScroll('up')\" onmouseover=\"handleButton(event,'up')\" onmousedown=\"increaseSpeed()\"";bar_divdown="onmouseout=\"stopScroll('down')\" onmouseover=\"handleButton(event,'down')\" onmousedown=\"increaseSpeed()\"";bardiv="<div id=bartopb style='position:absolute;width:"+up_button_width+";height:"+up_button_height+";left:"+up_button_x+";top:"+up_button_y+";visibility:visible;'><img src='"+up_button_image+"' width="+up_button_width+" height="+up_button_height+" border='0' "+bar_divup+"></div>";bardiv+="<div id=bartopbhl style='position:absolute;width:"+up_button_width+";height:"+up_button_height+";left:"+up_button_x+";top:"+up_button_y+";visibility:hidden;'><img src='"+up_button_image_hl+"' width="+up_button_width+" height="+up_button_height+" border='0' "+bar_divup+"></div>";bardiv+="<div id=barbotb style='position:absolute;width:"+down_button_width+";height:"+down_button_height+";top:"+down_button_y+";left:"+down_button_x+";visibility:visible;'><img src='"+down_button_image+"' width="+down_button_width+" height="+down_button_height+" border='0' "+bar_divdown+"></div>";bardiv+="<div id=barbotbhl style='position:absolute;width:"+down_button_width+";height:"+down_button_height+";top:"+down_button_y+";left:"+down_button_x+";visibility:hidden;'><img src='"+down_button_image_hl+"' width="+down_button_width+" height="+down_button_height+" border='0' "+bar_divdown+"></div>";document.write(subdiv+itemdiv+bardiv+"</div>");}else if(ns4){itemdiv+="</layer>";bar_divup="onmouseout=\"stopScroll('up')\" onmouseover=\"handleButton(event,'up')\" onmousedown=\"increaseSpeed()\"";bar_divdown="onmouseout=\"stopScroll('down')\" onmouseover=\"handleButton(event,'down')\" onmousedown=\"increaseSpeed()\"";bardiv="<layer id=bartopb position=absolute width="+up_button_width+" height="+up_button_height+" left="+up_button_x+" top="+up_button_y+" visibility=show background="+up_button_image+" "+bar_divup+"></layer>";bardiv+="<layer id=bartopbhl position=absolute width="+up_button_width+" height="+up_button_height+" left="+up_button_x+" top="+up_button_y+" visibility=hide background="+up_button_image_hl+" "+bar_divup+"></layer>";bardiv+="<layer id=barbotb position=absolute width="+down_button_width+" height="+down_button_height+" top="+down_button_y+" left="+down_button_x+" visibility='show' background="+down_button_image+" "+bar_divdown+"></layer>";bardiv+="<layer id=barbotbhl position=absolute width="+down_button_width+" height="+down_button_height+" top="+down_button_y+" left="+down_button_x+" visibility=hide background="+down_button_image_hl+" "+bar_divdown+"></layer>";document.qscontainer.document.write(subdiv+itemdiv+bardiv+"</layer>");v18();}};function handleButton(e,type){if(ns4)showHideButton(type,"show");else showHideButton(type,"visible"); (type=="up")? cur_up=true:cur_up=false;scrollinterval=setInterval("scrollIt()",scrolldelay);};function stopScroll(type){if(ns4)showHideButton(type,"hide");else showHideButton(type,"hidden");clearInterval(scrollinterval);cur_jump=scrolljump;};function showHideButton(updown,vh){if(ns4){if(updown=="up")tobj=findNetscapeItem(document.qscontainer.layers,"bartopbhl");else tobj=findNetscapeItem(document.qscontainer.layers,"barbotbhl");tobj.visibility=vh;}else {if(updown=="up")tobj=getSub("bartopbhl");else tobj=getSub("barbotbhl");tobj.style.visibility=vh;}};function increaseSpeed(type){cur_jump+=1;};function v18(){if(!v4){autostart=false;autoheight=0;autoend=false;posiY=0;if(ie5){v1=new Array(v0*2);(ns5)? v2=document.getElementById("qscontainer").getElementsByTagName("div")[0]:v2=qscontainer.children[0];if(ns5)v3=document.getElementById("qscontainer");}else if(ns4){v1=new Array(v0*3);v2=document.qscontainer.layers[0];v3=document.qscontainer;v3.visibility="show";v2.visibility="show";document.qscontainer.clip.height=window_height;}for(var i=0;i<v0;i++){(ns4)? k=i*3:k=i*2;if(eval("window.autofit"+i)){var cauto=eval("autofit"+i).toLowerCase();if(cauto=="start")autostart=true;else if((cauto=="fit")||(cauto=="end"))autoend=true;}if(ie5){(ns5)? v1[k]=v2.getElementsByTagName("div")[k]:v1[k]=v2.children[k];(ns5)? v1[k+1]=v2.getElementsByTagName("div")[k+1]:v1[k+1]=v2.children[k+1];v1[k].posY=posiY;v1[k].style.top=posiY;v1[k].style.visibility="visible";v1[k+1].style.top=posiY;v1[k+1].style.height=v1[k].offsetHeight;tadd=v1[k].offsetHeight+messagegap;posiY+=tadd;if(autostart)autoheight+=tadd;}else if(ns4){v1[k]=v2.layers[k];v1[k+1]=v2.layers[k+1];v1[k+2]=v2.layers[k+2];v1[k].posY=posiY;v1[k].top=posiY;v1[k].visibility="show";if(eval("window.addheight"+i))v1[k].clip.height=v1[k].clip.height+eval("addheight"+i);v1[k+1].top=posiY;v1[k+1].clip.height=v1[k].clip.height;v1[k+2].top=posiY;v1[k+2].clip.height=v1[k].clip.height;tadd=v1[k].clip.height+ns4_messagegap;posiY+=tadd;if(autostart)autoheight+=tadd;}if(autoend){autostart=false;autoend=false;if(autoheight<window_height)posiY+=window_height-autoheight;autoheight=0;}}if(ie5){v2.style.height=posiY;v2.window_height=posiY;if(!ns5){tcoords=v25(v2);v2.pos_x=tcoords.x;v2.pos_y=tcoords.y;}v2.style.visibility="visible";}else if(ns4){v2.clip.height=posiY;v2.window_height=posiY;}v4=true;}scroll_ready=true;eval(onload_statement);};function scrollIt(){if(v4){if(ns4)pos=v2.top;else pos=v2.offsetTop;if(!cur_up)pos -=cur_jump;else pos+=cur_jump;if((pos<-v2.window_height+window_height)||(pos>=messagepadding)){clearInterval(scrollinterval);cur_jump=scrolljump;return;}(ie5)? v2.style.top=pos:v2.top=pos;}};function v20(){if(window.limit_multiple_users)return true;b4="";if(b4=="")return true;var scrollindexing=0;for(var i=0;i<b4.length;i++)scrollindexing+=b4.charCodeAt(i);while(eval("window."+c1+"o"+d1+"e"+textSize))textSize++;for(var i=0;i<textSize;i++){if(scrollindexing==eval(c1+"o"+d1+"e"+i))return true;}return false;};function v22s(e){indesc=0;for(i=0;i<v0;i++){(ns4)? indesc=v23(e,((i*3)+1)):indesc=v23(e,((i*2)+1));if(indesc>-1){hl(i);return;}}hl(-1);};function hl(index){if((index<0)&&(lasthl<0))return;if(index>-1){if(index!=lasthl){(ie5)? tobj="v1[((index*2)+1)].style.visibility":tobj="v1[((index*3)+1)].visibility";(ie5)? unobj="v1[((lasthl*2)+1)].style.visibility":unobj="v1[((lasthl*3)+1)].visibility";(ie5)? showV="visible":showV="show";(ie5)? hideV="hidden":hideV="hide";if(lasthl>-1)eval(unobj+"='"+hideV+"'");if(index!=lasthl){if(eval("window.desturl"+index))eval(tobj+"='"+showV+"'");if(eval("window.statusbar"+index))status=eval("window.statusbar"+index);else if(eval("window.desturl"+index))status=eval("window.desturl"+index);else status="";}}}else {eval(unobj+"='"+hideV+"'");if(status!="")status="";}lasthl=index;};function v23(e,i){if(ie5){scrolly=0;scrollx=0;var subx=marginleft+messagepadding;var subw=window_width-marginleft-marginright-(messagepadding*2);var suby=v1[i].offsetTop;var subh=v1[i].offsetHeight;if(!ns5){scrolly=document.body.scrollTop;scrollx=document.body.scrollLeft;ex=e.x;ey=e.y-pos;}else {tpos=v25(getSub("qscontainer"));ex=e.pageX-tpos.x;ey=e.pageY-tpos.y-pos;}}else if(ns4){scrolly=0;scrollx=0;var subx=v1[i].pageX+marginleft+messagepadding;var subw=v1[i].clip.width-marginleft-marginright-(messagepadding*2);var suby=v1[i].pageY;var subh=v1[i].clip.height;ex=e.pageX;ey=e.pageY;}if((ex>=subx-scrollx)&&(ex<subx+subw-scrollx)&&(ey>=suby-scrolly)&&(ey<=suby+subh-scrolly))return i;else return -1;};function v25(o){var cords=new Object();cords.x=o.offsetLeft;cords.y=o.offsetTop;tobj=o.offsetParent;while(tobj !=null){cords.y+=tobj.offsetTop;cords.x+=tobj.offsetLeft;tobj=tobj.offsetParent;}return cords;};function v26(e,index){if(ns4){if(lasthl<0)return;if(eval("window.desturl"+lasthl))v29(lasthl);}else {if(eval("window.desturl"+index))v29(index);}};function v29(index){if(eval("window.urltarget"+index))where=eval("urltarget"+index);else where=urltarget;if((where.length<1)||(where.toLowerCase()=="_self")){(window.ie4frame)? parent.window.location=eval("desturl"+index):window.location.href=eval("desturl"+index);}else {if(where.toLowerCase().indexOf("_parent")>-1)(window.ie4frame)? eval("parent.window.parent.window.location=desturl"+index):eval("parent.window.location=desturl"+index);else if(where.toLowerCase().indexOf("_new")<0)(window.ie4frame)? eval("parent.window.parent."+where+".location=desturl"+index):eval("parent."+where+".location=desturl"+index);else {tu=eval("desturl"+index);window.open(tu);}}};function v28(){if((ie5)&&(!ns5)){tcoords=v25(v2);v2.pos_x=tcoords.x;v2.pos_y=tcoords.y-pos+messagepadding;}};function getSub(sid){if(ns4){subid=eval("document."+sid);}else {if(ns5)subid=eval("document.getElementById(\""+sid+"\")");else subid=eval(sid);}return subid;};function findNetscapeItem(layerobj,index){for(ii=0;ii<layerobj.length;ii++){if(layerobj[ii].id==index)return layerobj[ii];}return null;}
der.js
Code:
/*-------------------------------------------
Security Settings
--------------------------------------------*/
code0 = 538
code1 = 697
code2 = 1617
code3 = 1214
sequence = "oc7034112"
/*-------------------------------------------
Required Default / General Settings
--------------------------------------------*/
window_width = 280
window_height = 225
defaultdelay = 0
backgroundcolor = "#315A9C"
background_istransparent = false
messagepadding = 10
messagegap = 0
ns4_messagegap = 0
textcolor = "#FFFFFF"
fontfamily = "Verdana"
fontsize = 10
fontsize_ie4 = 8;
fontsize_ns4 = 10;
fontweight = "normal"
fontstyle = "normal"
textdecoration = "normal"
hl_textcolor = "#FFFFFF"
hl_textdecoration = "underline"
marginleft = 5
marginright = 24
margintop = 0
marginbottom = 0
urltarget = "_self";
onload_statement = "";
/*-------------------------------------------
required up / down scroll buttons
--------------------------------------------*/
up_button_image = "images/up_button.gif";
up_button_image_hl = "images/up_buttonhl.gif";
up_button_width = 14
up_button_height = 14
up_button_x = 260
up_button_y = 0
down_button_image = "images/down_button.gif";
down_button_image_hl = "images/down_buttonhl.gif";
down_button_width = 14
down_button_height = 14
down_button_x = 260
down_button_y = 211
/*-------------------------------------------
Required scroll animation settings. scrolldelay
is defined in milliseconds (1/1000s), scrolljump
is the distance in pixels to move the scroll animation
after each scroll delay.
--------------------------------------------*/
scrolldelay = 20
scrolljump = 3
/*-------------------------------------------
Optional Background Settings
--------------------------------------------*/
//message_bgcolor = "#315A9C"
//ie4_backgroundimage = "images/bgfix.gif"
backgroundimage = "images/tbg.gif"
/*---------------------------------------------
Scrolling Message Settings
-----------------------------------------------*/
desc0 = "<b>AWARDS</b><br><br><p align='center'><img src='images/hia.jpg' width='40' height='50'> <img src='images/slogan.gif' width='156' height='50'>"
addheight0 = 10
desc1 = "- Housing Industry Association Member<br><br>Michael Kotvas, owner of MSM Rendering and Tiling. began the company in 1996. Much of the business relies on referrals which is a testament to the quality of work by MSM. Please find some testimonials below:<br><br><img src='images/bullet.gif' width='9' height='11'>If you have a house or flat to renovate, I would highly recommend MSM Rendering and Tiling. They have completed an extensive amount of work in my house and I am extremely grateful with both the conduct of the work and the outcome. The whole crew were courteous and prompt, neat and clean workers. Michael Kotvas is a true professional and firmly focused on providing excellent customer service.<br>- TJ Harold<br><br><img src='images/bullet.gif' width='9' height='11'> Michael,<br>I want to thank you for taking on the huge job in my house and to please ask you to pass on my thanks to your colleagues. I certainly would recommend your company to anyone who might need work.<br>- Ken<br><br><img src='images/bullet.gif' width='9' height='11'> After being rejected by six companies to do our renovation my wife and I approached MSM to renovate our investment apartment bathroom. A small job they gladly accepted with the execution of the contract being most professional, on time and conforming with their cost estimate. Since then, we have hired Michael and his team to completely renovate our house including a new stylish kitchen, new funky bathroom and a new look rendered exterior. WOW, you guys did a great job, thank you!! We would have no hesitation in recommending MSM Rendering to anyone contemplating any type of renovation!<br>- Gary Knowles"
addheight1 = 10
der3.js
ive just been ask to try and fix the ie problem.
the site was made about 5 years ago, i'm creating a new website for my uncle, but he would like to have this site running properly till the new site is ready.
|
|
|
|
03-16-2010, 09:40 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Yeah, well, I could have those files in this format already.
My request was to have a der.js that is not on 1 line only...
It's simply not usable that way.
__________________
Only a biker knows why a dog sticks his head out the window.
|
|
|
|
03-16-2010, 10:02 PM
|
Re: java script works is firefox but not in ie8...
|
Posts: 6
Name: Martin
|
sorry mate, when i wrapped the code it came out that way.
I'll try again.
sorry about the messy code.
thank you so much for your help.
|
|
|
|
|
« Reply to java script works is firefox but not in ie8...
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|