Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
photo_title="""
<div id="tlkio"
data-channel="openwebrx"
style="background-color: white; position:absolute; padding-top: 10px; opacity: 0.95;">
</div>
<script async src="http://tlk.io/embed.js" type="text/javascript"></script>
<script>
tlk_original_height=0;
function resize_tlk()
{
e("tlkio").style.left="-15px";
e("tlkio").style.width=document.body.clientWidth.toString()+"px";
e("tlkio").style.top="-10px";
new_height=e("webrx-top-photo-clip").clientHeight-50;
if(new_height<100) new_height=tlk_original_height;
e("tlkio").style.height=new_height.toString()+"px";
e("tlkio").style.paddingBottom="15px";
if(tlk_original_height==0) tlk_original_height=e("webrx-top-photo-clip").clientHeight-50;
}
window.addEventListener("resize",resize_tlk);
window.addEventListener("load",resize_tlk);
</script>
"""
photo_desc=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.