Turnkey session 8: CSS
No edit summary
(Updated Edited template to July 12, 2025.)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<message>Write the content here to display this box</message>
<html>
<html>
<h4> Session 8 – Here we take a look on how define and set css styles in your application. you can have expressions that change the used style based on data in your model.</h4>
<h4> Session 8: Take a look at how to define and set CSS styles in your application. You can have expressions that change
  the used style based on data in your model.</h4>


<p>
<p class="video-warn">
<em>To make your experience more comfortable, we set the main tags mentioned in the video to the right bar menu of this mini player. Choose the interesting subtitle on the list and immediately get to the exact theme timeplace in the video. Now you can pick any topic to be instructed without watching the whole video.</em>
  <em>To make your experience smooth, we set the main tags mentioned in the video to the right bar menu of this mini-player. Choose an interesting subtitle on the list and immediately get to the exact theme navigation item place in the video. Now you can pick any topic to be instructed on without watching the whole video.</em>
<style type="text/css">
p {
opacity: 0.7;
text-align: justify;
width: 90%
}
</style>
</p>
</p>


<style>
<br>
#video12 {
 
  position: relative;
<div class="video">
  height: 500px;
  <iframe width="740" height="500" src="https://www.youtube.com/embed/idNoJqqhcoE?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe>
  width:560px;
  padding-bottom: 10px;
}
#video12 iframe {
  position: absolute;
  min-height: auto;
  min-width: auto;
}
#video12 div {
  position: absolute;
  top: 0;
  left:760px;
  width: 260px;
  height: 100%;
  padding-left: 10px;
  overflow-y: auto;
}
span {
    font-size: 18;
    display:block;
  padding: 2px 10px 2px 10px;
    padding-bottom: 0.5;
    padding-top: 0.5;
  opacity: 0.7;
}
span:hover {
  color: #0000FF;
  cursor: pointer;
}
span:focus {
  color: blue;
</style>
</br>
<div id="video12">
<iframe width="740" height="500" src="https://www.youtube.com/embed/hd2tMSInhCQ?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>


<script>
var IMG = document.querySelectorAll('#video12 span'),
    IFRAME = document.querySelector('#video12 iframe');
for (var i = 0; i < IMG.length; i++) {
  IMG[i].onclick = function() {
    IFRAME.src = 'http://www.youtube.com/embed/' + this.dataset.video + '?rel=0&autoplay=1';
    if(this.dataset.end) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&end=' + this.dataset.end);
    if(this.dataset.start) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&start=' + this.dataset.start);
    this.style.backgroundColor='rgba(0,0,0,.2)';
  }
}
</script>
</html>
</html>
[[Category:UI]]
[[Category:MDriven Turnkey]]
[[Category:MDriven Turnkey Sessions]]
[[Category:CSS]]
[[Category:Content Override]]
{{Edited|July|12|2025}}

Latest revision as of 06:05, 20 January 2025

This page was created by Alexandra on 2017-01-22. Last edited by Edgar on 2025-01-20.


Session 8: Take a look at how to define and set CSS styles in your application. You can have expressions that change the used style based on data in your model.

To make your experience smooth, we set the main tags mentioned in the video to the right bar menu of this mini-player. Choose an interesting subtitle on the list and immediately get to the exact theme navigation item place in the video. Now you can pick any topic to be instructed on without watching the whole video.


MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments