vForums Support > Programming & Coding :: Database of Codes/Hacks/Mods :: > YouTube In Profile

YouTube In Profile - Posted By Dreg[Bot] (dregondrahl) on 4th Jan 08 at 10:15pm
Another Concept Code, Open Source, was fun XD

Preview

Global Header

Code:
 
  1. <style type="text/css">
  2. <!--
  3. .vf_you_tube{
  4. margin-left: 5px;
  5. }
  6. -->
  7. </style>
  8. <script type="text/Javascript" src="http://dregondrahl.com/vF/vf_you_tube.js"></script>
 




Global Footer

Code:
 
  1. <script type="text/Javascript">
  2. <!--
  3. var get_form = document.profile_form;
  4. if(location.href.match(/modify_profile/)){
  5. VF_YouTube.init();
  6. } else if(location.href.match(/view_profile/)){
  7. VF_YouTube.do_tube('180px','180px');
  8. }
  9. //-->
  10. </script>
 





Nothing fancy, just ads a Section to the Modify profile page to add Urls and such. CSS for margins and anything else. Oh! and admin decides width and height, cuz it might be abused {Tongue Out}

VF_YouTube.do_tube('180px','180px');

first width, then height {Smile}

Re: YouTube In Profile - Posted By Michael (wrighty) on 4th Jan 08 at 10:29pm
*sighs*

preview? {Tongue Out}

Re: YouTube In Profile - Posted By Dreg[Bot] (dregondrahl) on 4th Jan 08 at 11:01pm
MOOOO! {Cool}

Re: YouTube In Profile - Posted By ajay (ajay) on 20th Feb 08 at 10:24pm
Thanks For the code great job {Wink}