You must use a JQuery in your template for this.
<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-html -->
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function()
{
var aa=$("#mycredit").val();
if (aa == null) {
window.location.href = "http://www.example.com/";
};
$("#mycredit").attr("href","
http://www.example.com/");
});
//]]>
</script>
<!-- end snippet -->
And after adding above code, add the below code in your footer where you want to write your credit link...
<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-html -->
<div id='#mycredit'>
Designed By <a href='http://www.example.com/' id='#mycredit'>Example Company</a>
</div>
<!-- end snippet -->
Now replace the URL from above to your on in both codes .
Yes, You can but you have to use a `JQuery` in your template for this.
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function()
{
var aa=$("#mycredit").val();
if (aa == null) {
window.location.href = "http://www.example.com/";
};
$("#mycredit").attr("href","
http://www.example.com/");
});
//]]>
</script>
And after adding above code, add the below code in your footer where you want to write your credit link...
<div id='#mycredit'>
Designed By <a href='http://www.example.com/' id='#mycredit'>Example Company</a>
</div>
Replace the URL from above to your on in both codes. Now for safty, Encrypt the above JQuery with your Blogger Template other JQuery using [**Javascript Obfuscator**][1]
[1]: http://javascriptobfuscator.com/