WebSphere Portal Server - Open pop-up from the menu

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > March 2007 > Open pop-up from the menu





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Open pop-up from the menu

2007-03-23, 7:28 am

I know how I can add a page, label or url to my portal structure.
What I don't know is how to add a url that opens in a pop-up window *without* the current portal page changing.
I've tried to add the url: "javascript:window.open(...)" but this opens a second browser window before opening the pop-up window.

Any ideas?


2007-03-23, 7:28 am

Well, my own solution so far is to add a page with a FileServer- or JSPServer- portlet, and add this javascript to the displayed page's window.onload event:
- window.open(...)
- history.go(-1)

But it bothers me that the user sees the jump to an empty page and back again.
bochs

2007-03-23, 1:23 pm

I did this once by adding a standard JavaScript openWindow function in my theme. Then for the url, I just called the function passing the url to open the new window similar to what you tried. However it seems that you don't get the extra window if you cal
l the function on the page opposed to putting it all in the url.

Brian
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com