Jump to content

iframe full screen


Recommended Posts

hi there,

 

I want to integrate a html side via iframe for the start page in fullscreen mode. I put the following code in the home text editor:

 

<p><iframe name="lookbook1" src="../slideshow/lookbook1.html"></iframe></p>

 

After saving it, the line is changend to:

 

<p><iframe name="lookbook1" src="../slideshow/lookbook1.html" width="320" height="240"></iframe></p>

 

So, the iframe is not full screen but very small. from where are the width and heugt values? how can I avoid them?

 

best

felix

Edited by flixbo (see edit history)
Link to comment
Share on other sites

Specifying an iframe without giving a width and height will do that. You must specify a width and height. you should be able to get away with width="100%" but since you cannot know in advance the user's screen height, you will need some javascript to arrive to the final iframe dimensions. This sof thread shows a way to manage the iframes dimensions; adapt to your needs.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...