Hello
Can anyone recommend a javascript or similar for bookmarking a page on a website that is multi-browser compatible?
So there would be a simple graphic saying "bookmark this page" and when clicked the viewer can add to their fav's.
Thanks
Joanne
Hello
Can anyone recommend a javascript or similar for bookmarking a page on a website that is multi-browser compatible?
So there would be a simple graphic saying "bookmark this page" and when clicked the viewer can add to their fav's.
Thanks
Joanne
Joanne
www.poppy-design.co.uk - Bespoke Web, Ecommerce & Graphic Design
www.funkycanvas.co.uk - Contemporary Canvas Art
check out my site i have a bookmark link at the top if you click it there is instructions how to get the link at the bottom of the pop up.
www dot caltechelectrical dot co dot uk
Hello Caltech
Thanks for that - that looks good and may well work for my client
Joanne
Joanne
www.poppy-design.co.uk - Bespoke Web, Ecommerce & Graphic Design
www.funkycanvas.co.uk - Contemporary Canvas Art
function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
<a href="javascript:bookmarksite('this site', 'http://www.thissite.com')">Add this site to your favourites</a>
My opinion is that customers are busy and wouldn't necessarily think to bookmark a site so being presented with a button to click might just grab the attention of someone who wouldn't have thought to do it other wise.
It's so little extra effort to provide the option and if it means that you get people coming back to your site then great.
We are having to be creative at the moment to pull sales in as customers just aren't parting with their hard earned cash so every little helps![]()
What the client wants (what the client pays for!) the client gets!
Personally I do not have feelings either way on the bookmark button though I would not say "it was very 90's" at all!
It's just a little button that makes it easier for some people that are not aware of the "add to favourites" option in the browser tool bar - believe me there are people out there.
The site also uses a "addthis" bookmark widget button thing that covers all the main social networking sites etc.
Joanne
Joanne
www.poppy-design.co.uk - Bespoke Web, Ecommerce & Graphic Design
www.funkycanvas.co.uk - Contemporary Canvas Art
Joanne
www.poppy-design.co.uk - Bespoke Web, Ecommerce & Graphic Design
www.funkycanvas.co.uk - Contemporary Canvas Art
[quote=dave_n;46926]function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
[quote]
Does that code go in the head brackets or the body?
Doet it need a <javascipt> prefix?
I tried adding to the body but it did not work.
Thanks
Joanne
Joanne
www.poppy-design.co.uk - Bespoke Web, Ecommerce & Graphic Design
www.funkycanvas.co.uk - Contemporary Canvas Art
stick it in the head section and make sure you put in opening and closing script tags
one other idea to throw in...I've used addthis.com which has been around for some time. It's a useful little gadget for easily adding bookmark & social network share buttons to web pages.
You can easily configure it to only show a "bookmark" icon if you wanted to.
Sue (21-05-2008)
|
|