Skip to content

Conversation

@lucylinugs258
Copy link

No description provided.

<li class="active">Current</li>
</ol>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" align="center" valign="center">
<iframe width="676.5" height="380" src="https://www.youtube.com/embed/VfoMjD98CD4 " frameborder="0" allowfullscreen></iframe>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bootstrap也有支援影片響應歐,可以參考這裡
.responsive-embed

var i=0;
setInterval("sequentialImg()",2000);
function sequentialImg(){
document.getElementById("my_div").innerHTML = "<img src='"+jsImg[i]+"' width=350 height=350 >";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

固定寬高就沒辦法響應囉,可以加上img-responsive類別看看歐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants