Hi!
I have combined the advanced search and list pages with iframe.. however, in IE and firefox the the search still opens in new tab/windows, while in
firefox it open in the iframe as it should.. and i noticed that in firefox it also SOMETIMES opens in new tab.. maybe some variable is cleared sometimes and sometimes not or something like that? This is my code:
in tuotteet_search.php:
$contents_block["begin"].="action=\"tuotteet_list.php\" \"target=\"freimi\"\" ";
and in tuotteet_search.htm:
<DIV id=required_block> </DIV>{BEGIN search_button}<SPAN class=buttonborder><INPUT class=button type=button value="{mlang_message SEARCH}" {$searchbutton_attrs}></SPAN>{END search_butto$
{BEGIN reset_button}<SPAN class=buttonborder><INPUT class=button type=button value="{mlang_message RESET}" {$resetbutton_attrs}></SPAN>{END reset_button} </DIV>
<IFRAME border=0 name="freimi" src="tuotteet_list.php" width="100%" height=1300></IFRAME>
</TD></TR></TBODY></TABLE>{END contents_block}{END body}{$footer}
The iframe however works when the page is first opened, only the search opens in new window when the button is pressed.
Am i doing something wrong?
Note that i have removed some stuff i dont need from both search and list pages via the visual editor.