Forum Moderators: open
I've made an jsp page that list 100 faq's when clicking on one of the questions one should open the answer in an new popup 400x500. and if one click at another question and the pop up is open. it should open i the same pop up window. in the pop up window there is an link to another page outside the site. when clicking on this the popup should close and an new window should open.
this functionality works well in IE but in firefox the new window opends in the popup. and the popup dont close. tried to use selfe.close() on the external link but then firefox crashes.
any help would be apriciated.
The link in the 100 faq questions page:
<a href="javascript:openWindow('<url:url isHelp="true" baseurl="travel/useful/medicine/singlefaq" appendargs="true" />documentid=<output:showvalue field="documentid" />',400,500,'popup')" /><output:showvalue field="title" /></a>
the link to the external page in the popup:
<a href="<%=displayValue%>" onclick="javascript:window.close();" target="_blank"/>Les mer »</a>
thanx