PDA

View Full Version : Inernal pop-up modification



Wisdom
12-25-2010, 01:11 PM
Hi, I have created a search box that opens in an internal pop-up, but when I inserted the key-words and pressed enter, the results of the search open in the same pop-up, check this out (no spam intended): http://kozmynstestforum.new-forum.net/-h8.htm

I would like that when you press enter, the internal pop-up (the thick box) will close, and the results of the search will open in the active tab. (or in a new tab)

Here's the javascript that is used by the thickbox: http://kozmyn.bravehost.com/sarciisgood.js

Can anybody help me ? Thank you for your time.

jscheuer1
12-25-2010, 04:28 PM
On the kozmynstestforum.new-forum.net/h7-sarciisgood page, where you have:


<form action="/search.forum" method="get">

Make that (for open in the current tab):


<form target="_top" action="/search.forum" method="get">

for open in a new tab (subject to the user's settings):


<form target="_blank" action="/search.forum" method="get">

Wisdom
12-25-2010, 08:04 PM
That solved it :D

Thank you very much !