By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,892 Members | 1,156 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,892 IT Pros & Developers. It's quick & easy.

Styling a window.open with javascript in C# .NET

P: n/a
Nat


Hi, 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??

Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Nat


Never mind, I figured it out :-)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.