You are viewing a post by xavierkym. View all 51 posts in [code]if (!attachOnLoadHandler(function(){onLoad();})) window.onload = function(){onLoad();}; function onLoad() { if(pageViewerID != pageOwnerID) {CPBUTTONS.init();} } if (typeof CPBUTTONS =.
This is better than innerHTML because you don't have to change the links. For example the authcode is always different everytime.
Just save in JS File.
Anyway this can also be used for Changing other things for example..
Changing the Marital Status
<">If what's in your profile is Single. The change this
this.tagName.innerHTML.replace(/[b]Single[/b]/, 'Available');
Hard to explain in details.. Just sharing some basic code. Hehe.
Last edited by xavierkym (2008-02-03 13:08:55)