-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi @iOiurson,
I make a pres with reveal.js framework.
At the end of the pres i put an <iframe> to embeded a dashboard.
To make sure the <iframe> take the full size of the slide i put several code :
- Css style for fullscreen state
/*********************************************
* OTHER STATES
*********************************************/
.fullscreen .state-background {
width: 100%;
height: 100%;
}
.fullscreen .reveal .slides {
margin: 0px;
width: 100%;
height: 100%;
max-width: 100%;
left: 0px;
right: 0px;
top:0px;
bottom: 0px;
}
.fullscreen .reveal .slides > section {
position: absolute;
width: 100%;
height: 100%;
min-height: 100%;
text-align: left;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
margin:0px;
padding:0px;
padding-top: 0px;
}
.fullscreen .reveal .slides > section > section {
position: absolute;
width: 100%;
height: 100%;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
min-height: 100%;
margin: 0px;
text-align: left;
padding:0px;
padding-top: 0px;
}- js event at the end of the pres
Reveal.addEventListener('fullscreen',function(event){
Reveal.configure({
width: '100%',
height: '100%'
});
});It work "correctly" (it does not take the full page width...) but when i change slide all the other slides have the size changed because of the cofigure event.

I try to add Reveal.configure.currentSlide but it doesn't work.
So is it possible to set the width and height only for this slide and conserve the initial configuration for the other slides ?
Or is their a way to put <iframe> inside the background and make it always interactive?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels