June 6, 2006 at 3:12 pm
Hello,
I'm tyring to do 2 things:
1. Have a hyperlinked field open up into a new browser. I'm currently using the "Jump to URL" property to map to one of my fields (=Fields!BoardURL.Value). I'm not sure where to put the "_blank" code to get it open up into a new window.
2. I have some additional javascript code that checks whether or not a specific browser application is open or not. I'm not sure where to put it.
Below is the code I'm trying to add:
function makeNewWindow(url)
{//only use this logic if the url is going to siebel if (url.search("callcenter_enu") == -1) { window.open(url, "TemplateWindow", ''); }
else { var newWindow = window.top.opener;
if (!newWindow || newWindow.closed) {
window.open(url, "SiebelCallCenter", '');
} else
{// window is already open, so close the parent window
// wait for a few secs, and open another window
var pw=window.top.opener.top;
pw.opener=window.self;
pw.close();
pause(2000);
window.open(url, "SiebelCallCenter", '');
thanks in advance!
Jenise
June 7, 2006 at 3:42 pm
Hello,
I use JavaScript to open links in a new window by doing something like the following...
= "javascript:void(window.open('http://www.urlgoeshere.com','_blank'))"
As far as the function your using, you'll probably want to put it wherever your using it. So, if your using it in a 'Jump to URL' action, then you'll probably want to place it there also.
Hope that helps,
- Dan
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply