This topic is locked

Iframe works only in firefox

6/16/2009 6:56:22 AM
PHPRunner General questions
B
bfr author

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>&nbsp;</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}&nbsp;</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.

J
Jane 6/16/2009

Hi,
this workaround should work.

Could you publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error?

B
bfr author 6/18/2009

Hi,

this workaround should work.

Could you publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error?


If i publish it in demo account, my modified tuotteet_search.php wont go there, right?