Hi, I've got this code (which have beeb giving me lots of trouble...).
It's a .NET webapplikation project, written in C# - and now with some
Javescript written in to it:
--------------------
protected override void Render(HtmlTextWriter w)
{
if (helpString!=null)
{
w.Write("<span class='tooltipiconouter'><img title =
'"+this.helpString+"' class='tooltipIconInner' align='center' src =
'../Lib/images/questionmark.gif' a href='#' onclick = 'myWin =
window.open(\"\", \"\", \"width=300, height=200, directories=no\");
myWin.document.write(\"" +helpString+"\");'></a></span>");
}
}
--------------------
Now it would seem as if class='tooltipIconInner' have some affect on my
myWin.document.write(\"" +helpString+"\");
But it doesn't, why? Do I have to write class='tooltipIconInner' in to
the code some where diffrent or what?
The HTML that is generated look like this:
--------------------
<td><span id="_ctl0_EditOrganization1_EXTLABEL1"
class="brod">Text</span><span class='tooltipiconouter'><img title =
'TextTextTextText Text Text Text Text Text Text Text
TextTextTextText'class='tooltipIconInner' align='center' src =
'../Lib/images/questionmark.gif' a href='#' onclick = 'myWin =
window.open("", "", "width=300, height=200, directories=no");
myWin.document.write("TextTextTextText Text Text Text Text Text Text
Text TextTextTextText");'></a></span></td>
--------------------
Nat
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!