- Open Dialog for Operators when click on Chip #91
- HOME: Show last 5 Events #99 - Creating HOME page with the Services Offering (Disciplines...) #96 - CCardDiscipline #104
This commit is contained in:
@@ -22,4 +22,14 @@ export default class CFacebookFrame extends Vue {
|
||||
public geturlfbpageEncoded() {
|
||||
return encodeURIComponent(this.urlfbpage)
|
||||
}
|
||||
|
||||
get mywidth() {
|
||||
let myw = 340
|
||||
if (tools.getwidth(this) < 400)
|
||||
return myw
|
||||
if ((tools.getwidth(this) > 400) && (tools.getwidth(this) < 1100))
|
||||
return Math.round((tools.getwidth(this) / 3) - 30)
|
||||
else
|
||||
return myw
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<!--</blockquote>-->
|
||||
<!--</div>-->
|
||||
|
||||
<iframe :src="`https://www.facebook.com/plugins/page.php?href=`+geturlfbpageEncoded()+`&tabs=timeline&width=340&height=500&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId=164292303671962`"
|
||||
<iframe :src="`https://www.facebook.com/plugins/page.php?href=`+geturlfbpageEncoded()+`&tabs=timeline&width=`+mywidth+`&height=500&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId=164292303671962`"
|
||||
width="340" height="500" style="border:none;overflow:hidden" scrolling="no" frameborder="0"
|
||||
allowTransparency="true" allow="encrypted-media"></iframe>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user