R
RussianNeo
Hi everybody!
I've got some problems with JavaScript in IE7... I'll try to describe
the situation...
I'm writing a toolbar for IE7. After IE loaded the page, the toolbar
changes the code of the page. It adds some JavaScript code.
The problem is: IE ignores all events and JS is not running... (it
happens only on RSS pages... on other pages it works correctly...)
Can anyone help me?
The code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN"><HTML
dir="ltr"><HEAD><TITLE></TITLE><META http-equiv="Content-Type"
content="text-html; charset=utf-8" /><LINK href="res://ieframe.dll/
FeedUI.css" type="text/css" rel="stylesheet" /></LINK><//LINK><STYLE
type="text/css" media="print"> .__feedview__sidebar {DISPLAY:
none}.__feedview__mainbody {MARGIN-RIGHT: 0px}</STYLE></
HEAD><BODY><DIV class="__feedview__mainbody">
...........................................
// Here is text with different styles... converted from xml...
..........................................
<SPAN class="mtb_tb_injection"
oncontextmenu="javascript:mtb_tb_SwitchDrop(this,'0',Array('0'));return
mtb_tb_stopEvents();" id="mycomp_highlight_0"
onmouseover="javascript:mtb_tb_imgOnOff(this,'_on','0',true,false);"
title="Call +3726203269 using mtb in Estonia"
onclick="javascript:doRunCMD('call','0');return mtb_tb_stopEvents();"
onmouseout="javascript:mtb_tb_imgOnOff(this,'_off','0',true,false)"
durex="663" context="620 32 69"><SPAN class="mtb_tb_nop"> </
SPAN><SPAN class="mtb_tb_imgL" id="mtb_tb_img_l0"
onmouseover="javascript:mtb_tb_imgOnOff(this,'_on','0',false,false);"
title="" onclick="javascript:mtb_tb_SwitchDrop(this,'0',new
Array('0'));return false;"
onmouseout="javascript:mtb_tb_imgOnOff(this,'_off','0',false,false);"> </
SPAN><SPAN class="mtb_tb_imgI"
id="mtb_tb_img_i0"> </SPAN><SPAN
class="mtb_tb_injectionIn" id="mtb_tb_text0"><SPAN
class="mtb_tb_innerText" id="mtb_tb_innerText0">620 32 69 </SPAN>
............................................
<IFRAME id="_acciframe_" src="about:blank" width="0" height="0"></
IFRAME></BODY><META content="EVONNWFSKU" name="mtb_FRAMEID" /><LINK
id="mtb_tb_style" href="C:\DOCUME~1\DOMREG~1.SOF\LOCALS~1\Temp
\__mtbIEToolbar_Cache\a3ea873c4509f9ac6e22d9efdc044f55\session
\menu.graph.modern.css" rel="stylesheet" /><SCRIPT id="mtb_tb_script"
defer type="text/javascript">
.......................
// JS functions contain inly "alert()" function... for debugging...
.......................
</SCRIPT></HTML>
I've got some problems with JavaScript in IE7... I'll try to describe
the situation...
I'm writing a toolbar for IE7. After IE loaded the page, the toolbar
changes the code of the page. It adds some JavaScript code.
The problem is: IE ignores all events and JS is not running... (it
happens only on RSS pages... on other pages it works correctly...)
Can anyone help me?
The code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN"><HTML
dir="ltr"><HEAD><TITLE></TITLE><META http-equiv="Content-Type"
content="text-html; charset=utf-8" /><LINK href="res://ieframe.dll/
FeedUI.css" type="text/css" rel="stylesheet" /></LINK><//LINK><STYLE
type="text/css" media="print"> .__feedview__sidebar {DISPLAY:
none}.__feedview__mainbody {MARGIN-RIGHT: 0px}</STYLE></
HEAD><BODY><DIV class="__feedview__mainbody">
...........................................
// Here is text with different styles... converted from xml...
..........................................
<SPAN class="mtb_tb_injection"
oncontextmenu="javascript:mtb_tb_SwitchDrop(this,'0',Array('0'));return
mtb_tb_stopEvents();" id="mycomp_highlight_0"
onmouseover="javascript:mtb_tb_imgOnOff(this,'_on','0',true,false);"
title="Call +3726203269 using mtb in Estonia"
onclick="javascript:doRunCMD('call','0');return mtb_tb_stopEvents();"
onmouseout="javascript:mtb_tb_imgOnOff(this,'_off','0',true,false)"
durex="663" context="620 32 69"><SPAN class="mtb_tb_nop"> </
SPAN><SPAN class="mtb_tb_imgL" id="mtb_tb_img_l0"
onmouseover="javascript:mtb_tb_imgOnOff(this,'_on','0',false,false);"
title="" onclick="javascript:mtb_tb_SwitchDrop(this,'0',new
Array('0'));return false;"
onmouseout="javascript:mtb_tb_imgOnOff(this,'_off','0',false,false);"> </
SPAN><SPAN class="mtb_tb_imgI"
id="mtb_tb_img_i0"> </SPAN><SPAN
class="mtb_tb_injectionIn" id="mtb_tb_text0"><SPAN
class="mtb_tb_innerText" id="mtb_tb_innerText0">620 32 69 </SPAN>
............................................
<IFRAME id="_acciframe_" src="about:blank" width="0" height="0"></
IFRAME></BODY><META content="EVONNWFSKU" name="mtb_FRAMEID" /><LINK
id="mtb_tb_style" href="C:\DOCUME~1\DOMREG~1.SOF\LOCALS~1\Temp
\__mtbIEToolbar_Cache\a3ea873c4509f9ac6e22d9efdc044f55\session
\menu.graph.modern.css" rel="stylesheet" /><SCRIPT id="mtb_tb_script"
defer type="text/javascript">
.......................
// JS functions contain inly "alert()" function... for debugging...
.......................
</SCRIPT></HTML>