Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Aug 24, 2005 19:37:39 GMT
Global HeaderThis redirects the "profile" link in the menu bar to the modify profile page. <script type="text/javascript"> <!-- var pro=document.getElementsByTagName('td')[5].getElementsByTagName('a'); for(p=0;p<pro.length;p++) if(pro.href.match(/action=viewprofile/)) { pro .href = '/index.cgi?action=modifyprofile&user='+ pb_username; } //--> </script>
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Oct 20, 2005 0:14:51 GMT
|
|
Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Oct 20, 2005 0:30:34 GMT
You sure the other one wasn't a figment of your imagination
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Oct 20, 2005 0:39:52 GMT
lol, funny. yes i'm sure it wasn't a figment.
|
|
|
Post by pbcnx on Jun 26, 2006 6:46:00 GMT
The code doesn't work for me...
IE shows an error that says: document.cookie.split(...).1 is null or not an object... and when i click the profile button, it still goes to the view profile page..
|
|
Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jun 26, 2006 11:32:04 GMT
I've just modified it
|
|