Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<a
onClick="window.open('https://www.facebook.com/sharer.php?u=<?= Url::home(true) . substr(Yii::$app->request->url, 1); ?>','sharer','toolbar=0,status=0,width=700,height=400');"
href="javascript: void(0)" target="_blank"><img src="/images/icons/designer/facebook.svg" alt="facebook"></a>
<a
onClick="window.open('https://telegram.me/share/url?url=<?= Url::home(true) . substr(Yii::$app->request->url, 1); ?>','sharer','toolbar=0,status=0,width=700,height=400');"
href="javascript: void(0)" target="_blank"><img src="/images/icons/designer/telegram.svg" alt="telegram"></a>
<a
onClick="window.open('https://vk.com/share.php?url=<?= Url::home(true) . substr(Yii::$app->request->url, 1); ?>','sharer','toolbar=0,status=0,width=700,height=400');"
href="javascript: void(0)" target="_blank"><img src="/images/icons/designer/vk.svg" alt="vk"></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment