Richie
Not New Member
^ Yes, That's My Fugly Face!
Posts: 35
Richie said 2 great things
|
Post by Richie on Apr 6, 2010 15:17:35 GMT -8
Name: Optional Re-Direct To Modify Profile Location: Global HeaderDescription: This gives users the option to be redirected to the " modify profile" page when they click the icon in the menu bar. <script type="text/javascript"> /* Optional Re-Direct To Modify Profile By Son Of Exodia - Global Header */ /* May Only Be Reposted With This Header InTact */ /* Credit To Ross For The Idea & SubDevo For Getting It To Work Better */
var pro=document.links; var nv="action=viewprofile"; for(var p=0;p<pro.length;p++){if(pro.href.match(nv)){ pro .href="javascript:modifyprofile();";}} function modifyprofile(){document.location.href="?"+(confirm("Do You Want To Modify Your Profile?")?"action=modifyprofile&user="+pb_username:nv);} </script> Enjoy! ;D Credit To Ross for the original code which i used as a base: 101support.proboards.com/index.cgi?board=codeindex&action=display&thread=2327
|
|