fiogf49gjkf0d Steve,
Take a look at two options: showModalDialog (http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodaldialog.asp) and window.open (http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp), both in JavaScript. I don't know much about the ticket activity view, but you'll need to consider what opens that view. You'll probably need to change the alias that makes the link to the view an HTML alias that includes a <script> tag that calls a function that opens the window.
If you go the showModalDialog route, and you need to submit the form, you'll find that it will pop open a new window when the form submits, unless you do the following:
1) in the <form> tag, add a parameter "target", so you get something like this:
<form name="mainform" action="<#SYS name=swcpath>/action?name=action_name" method="POST" target="window_name" 2) in the body statement, if there is no "onload" function, add one that calls javascript inline or a function. Then you have to in that function add this line:
window.name = "window_name" This name must match the name specified in the first step 3) Right before the closing tag, add this:
< base target="_self">
That shoud solve the problem of the window popping up when the form submits.
I personally like the showModalDialog - although it lives up to it's name and is modal. But that does keep the window from getting lost. The javascript window.open allows the window to get hidden.
HTH,
Jeff
|