hi there,
can anyone help, i am using the following for adding a bookmark to IE and firefox but its not working in CHROME and i don't get my error msg saying "not supported" either..
Anybody know of a good script to support ALL browsers or at least to come back and tell me its not supported, I have access to Jquery - maybe there is some way to detect the browser
I am currently using this and it works for ie and firefox but not chrome
if (window.sidebar) { // Mozilla Firefox
window.sidebar.addPanel(name, url, "");
}
else if (window.external) { // IE
window.external.AddFavorite(url, name);
}
else if (window.opera && window.print) {
window.external.AddFavorite(url, name);
}
else {
alert('not supported');
}