Forum Moderators: open

Message Too Old, No Replies

Opening results in new window - form is in an iframe

Any help would be appreciated

         

macz_g

8:42 pm on Jan 14, 2008 (gmt 0)

10+ Year Member



I have to embed a form in an iframe on a landing page. It is a travel widget.

I'd like some help in opening the results in a new window? The button submit code is below.

<INPUT class=GoButton name=SearchWiz type=submit VALUE="SEARCH" onclick="function(){
var img = new Image();
img.src = "tracking.gif";
} "/>

Any help would be appreciated.

gergoe

1:58 pm on Jan 15, 2008 (gmt 0)

10+ Year Member



If you want to have the form being submitted to a new window, then check out this recent thread [webmasterworld.com], it is about the same thing (and a bit more). But if you satisfied with a simple new window (without customizing it), you just need to assign the "_blank" value to the form's "target" attribute, and there you go. The mentioned thread goes further than this, it opens a new (customized) window, then submits the form into this new window (note the phrasing).