Add Periscope Embed in Menu
-
Hi all,
Trying to add this Periscope script embed to my site as a menu item:
<script>window.twttr=function(t,e,r){var n,i=t.getElementsByTagName(e)[0],w=window.twttr||{};return t.getElementById(r)?w:(n=t.createElement(e),n.id=r,n.src="https://platform.twitter.com/widgets.js",i.parentNode.insertBefore(n,i),w._e=[],w.ready=function(t){w._e.push(t)},w)}(document,"script","twitter-wjs")</script><a href="https://www.periscope.tv/twitterdev" class="periscope-on-air" data-size="small">@twitterdev</a>I’m not a whiz with jQuery/javascript. I’ve seen some articles on adding an OnClick event to a menu but in this case I just want the On Air button to show in main menu and reflect current status.
Any ideas? Thanks in advance.
The topic ‘Add Periscope Embed in Menu’ is closed to new replies.