N
Nat
Help, I have following code:
-----------------------------------------------------
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(); myWin.document.write(\"" +helpString+
"\")'></a></span>");
}
-----------------------------------------------------
I want to add some parameters in to the window.open() or in the
document.write(), så I can control the window size, bg. color and name
-
how do I write that into the code above??
(If I fx. write: window.open('','Something','width=200 height'),
depending on where I put it in, it either doesn't open a new window,
or it reseizes the image).
Thanks
-----------------------------------------------------
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(); myWin.document.write(\"" +helpString+
"\")'></a></span>");
}
-----------------------------------------------------
I want to add some parameters in to the window.open() or in the
document.write(), så I can control the window size, bg. color and name
-
how do I write that into the code above??
(If I fx. write: window.open('','Something','width=200 height'),
depending on where I put it in, it either doesn't open a new window,
or it reseizes the image).
Thanks