Bookmark this page - how to?
I've been reading that offering a reminder to bookmark can boost repeat shopping, but I'm having a hard time getting this code to work with smarty
I've found a fairly clean code that looks like this:
<script>
function bookmark(title,url){
if(window.sidebar)
window.sidebar.addPanel(title,url,■");
else if(window.opera && window.print){
var elem = document.createElement(▓a');
elem.setAttribute(▓href▓,url);
elem.setAttribute(▓title▓,title);
elem.setAttribute(▓rel▓,▓sidebar▓);
elem.click();
}
else if(window.external)
window.external.AddFavorite(url,title);}
</script>
And to call it on a page you use this:
<a href=■javascript:bookmark(▓Henrie Media Inc.▓,▓http://www.henriemedia/▓);■>Bookmark this page</a>
But x-cart is giving a bunch of problems, for one its taking me to a 404-not found page (which may or may not be my SEO module interfering.)
Has anyone successfully implemented this on their site?
|