How to stop a custom function?
If i have a custom function like this:
- function logoswitch() {
- var contentwidth = $('#content_all').width();
- var content_alltop = $('#content_all').css('top');
- if ((contentwidth) < '1250' || (content_alltop) > '749'){
- $("#logo").hide();$("#logo_small").show();
- } else {
- $("#logo_small").hide();$("#logo").show();
- }
- }
I can call the function like this:
logoswitch ();
My question is how can I stop it or undo the call of the function later? To get the state like it's not called.
Is this possibble?
jbobbele