Ready to get started?Download WordPress


Add bookmark (1 post)

  1. jettablog
    Posted 5 years ago #

    I tried to add link that add to bookmark inside a post.
    I wrote a javascript function in the head of the post
    <script type="text/javascript"><!--
    function addBookmark(title, url) {
    if (window.sidebar) { // firefox
    window.sidebar.addPanel(title, url,"");
    } else if( document.all ) { //MSIE
    window.external.AddFavorite( url, title);
    } else {
    alert("Sorry, your browser doesn't support this");
    // --></script>

    and I tried to add the link to call the function and it didn't work.

    Somebody have any idea how I suppose to do it?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.