Richie
Daywalker
[AWD:06] ::[1:13] [2:0] [3:0] [M:50]
^ That's Me ^
Posts: 17
|
Post by Richie on Jul 13, 2010 15:48:05 GMT -6
Description: This gives users the option to be redirected to the " modify profile" page when they click the icon in the menu bar. Cross Browser?: Yes Preview: wimg.co.uk/0jU.pngPlacement: Global Headers<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[p].href.match(nv)){ pro[p].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?action=display&board=codeindex&thread=2327#18175
|
|
|
Post by iPokemon.php on Jul 13, 2010 19:36:43 GMT -6
Accepted
|
|