Forum

Iframe without a border *SOLVED*

09 September 2015 09:39 #3695
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
~Will
Blend4Web Videos
https://www.youtube.com/channel/UCp6x8JP7oCiiTjbJorPPMsQ/videos
09 September 2015 09:58 #3697
<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 #3712
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/
Development Lead | Twitter
09 September 2015 18:03 #3723
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?
~Will
Blend4Web Videos
https://www.youtube.com/channel/UCp6x8JP7oCiiTjbJorPPMsQ/videos
09 September 2015 18:51 #3726
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 #3731
Wow, very nice!
~Will
Blend4Web Videos
https://www.youtube.com/channel/UCp6x8JP7oCiiTjbJorPPMsQ/videos
 
Please register or log in to leave a reply.