Forum

Iframe without a border *SOLVED*

09 September 2015 09:39
Is there an easy way to make an iframe with no border and no settings menu to make a seamless website integration?
*SOLVED*
Working example with source files:
http://williamwelker.com/b4w/iframe
Video: https://www.youtube.com/watch?v=EpldwjUaS_s
09 September 2015 09:58
<iframe runat="server" src="you page's url" width="750" height="30" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
09 September 2015 11:45
If you want to get rid of the settings button then you don't use the standard webplayer. Use a custom web app instead. These tutorials might be useful too:
https://www.blend4web.com/en/article/23/
https://www.blend4web.com/en/article/59/
The Founder | Twitter
09 September 2015 18:03
Okay, great! I am making progress. Is there a setting to do an html export with transparent sky so the background color will actually be the background of the file with the iframe?
09 September 2015 18:51
For now, it is not possible to create transparent background with html export and you have to use json in order to enable alpha. You can find an example here. In the next release we'll add the URL parameter to the webplayer so that you will be able to switch alpha on/off in html.
Blend4Web developer
09 September 2015 23:42
Wow, very nice!
 
Please register or log in to leave a reply.