Sunday, December 18, 2011

Youtube Subscribe Button Code

Insert the following code into your page to create a subscribe button. Change the Youtube URL to your channels URL. Insert into the HTML body tag of your page.

Example:


http://farm8.staticflickr.com/7018/6590287393_6266ed9f94_m.jpg


Red indicates necessary changes, Yellow represents optional changes. All other code MUST stay intact.

<!-- Code Designed by Aleric H. Get it here: AlericCodes.blogspot.com -->
<script language="javascript" type="text/javascript">
// <![CDATA[
               function popNow(target) {     popWin = window.open(target, "Subscribe","width=530,height=330,status=yes");
     popWin.moveTo(100,80); }
// ]]>
</script>
<a href="javascript:%20popNow('http://www.youtube.com/subscription_center?&amp;add_user=USERNAME')"><img alt="http://farm8.staticflickr.com/7018/6590287393_6266ed9f94_m.jpg" class="alignleft" height="31" name="subscribe.jpg" src="http://applewizdom.com/wp-content/uploads/2011/12/subscribe.jpg" width="94" /></a>
<!-- Code Designed by Aleric H. Get it here: AlericCodes.blogspot.com -->

If you liked the code, consider a small donation, thanks! (See Sidebar)

No comments:

Post a Comment