Page 1 of 1

HTML wiith iframe element stop redirecting

Posted: Tue Mar 31, 2015 1:34 pm
by Mariusz

Hi,
When I add HTML element to a page containing iframe - I am automatically redirected to this iframe content.
Can I stop that and prevent page to refresh with a new content somehow?

Thanks

M


HTML wiith iframe element stop redirecting

Posted: Tue Mar 31, 2015 4:19 pm
by Illya Stepanov

Hi -

Could you please show us code that you are using inside html component?


HTML wiith iframe element stop redirecting

Posted: Tue Mar 31, 2015 7:29 pm
by Mariusz

Hi Illya,
Sure, here comes the code I insert into HTML module:

http://paste.ofcode.org/KwCXdyvM7xd5j...


HTML wiith iframe element stop redirecting

Posted: Wed Apr 01, 2015 5:44 am
by Mariusz

I shared this app with you (14kts).


HTML wiith iframe element stop redirecting

Posted: Thu Apr 02, 2015 1:21 am
by Yurii Orishchuk

Hello,

Please specify steps to reproduce this problem in your app.

Also please describe what you expect and what is wrong.

Thanks.


HTML wiith iframe element stop redirecting

Posted: Thu Apr 02, 2015 5:29 am
by Mariusz

Hi,
When you enter the page with this iframe, it reloads the page and takes over the fullscreen.

I just need to hold buttons/swithes at the top of the page and display the iframe beneath them.

Kind regards.
M


HTML wiith iframe element stop redirecting

Posted: Fri Apr 03, 2015 1:18 am
by Yurii Orishchuk

Hello,

Please try following HTML code instead of yours:

precode

<iframe src="http:&#47;&#47;kts&#46;hfc&#46;pl/program-28-05-2015/" frameborder="0" height="300px" width="100%"></iframe>

/code/pre

Also please set dimmensions for your HTML component as "auto" and "auto".

Regards.