My question is regarding a default SharePoint imglib script. The script is located in following folder: 14\TEMPLATE\LAYOUTS\1033\imglib.js
The script has a function called: GenerateFooterContent(f, g).
Basically i want to override this method, and do some other stuff instead of the current. Anyone has any idea how can i achieve that?
I've copied the whole function to my custom javascript file and i added it to the masterpage. But how can i say now that instead of default function my custom function should be used by the script?
On this Link there is similar problem, but no solution is provided.
So can anyone give me a hint how to solve the problem?
UPDATE:
function to modify: function GenerateNFooterContent(f, g) because it takes parameteres i have to call the above calling function
function ViewFooterScript() In this function i'll call the NEWGenerateNFooterContent
So here is the script which should override it, is it correct:
window.ViewFooterScript = function () {
this.ViewFooterScript();
};
Althought it doesnt work.