Forum Moderators: open

Message Too Old, No Replies

Script Change

         

joe1182

1:52 am on Dec 29, 2004 (gmt 0)

10+ Year Member



Below is the script I am using for a bookmark. The only problem is in Mozilla Firefox and Netscape it adds the bookmark as a sidebar. Is there anyway to change this so that they open like a regular webpage not like a sidebar?

function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

MichaelBluejay

6:57 am on Dec 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You might get more responses if you titled your thread something helpful, rather than just "Script change". That title communicates nothing useful -- you have to open the thread before you have any idea what it's about.

orion_rus

8:14 am on Dec 30, 2004 (gmt 0)

10+ Year Member



I'm not sure but may be u need to change it

function bookmarksite(title, url){
if (window.sidebar)
window.sidebar.addPanel(title, url, "") else if (document.all)
window.external.AddFavorite(url, title);
}

joe1182

3:15 pm on Dec 30, 2004 (gmt 0)

10+ Year Member



Michael this was the second time I submitted this problem. The first time I titled it "bookmark script" "can anyone help me change this script" this was posted for some time and I never received and response. So then I reposted using a generic name in hopes of getting some response. Which I might mention did help because I did get some replies.

Orion,
Tried your suggestion but, it did not work. I will stick with what I have. It just isn't very useful in Firefox. When the bookmark is opened it opens as a sidebar instead of a regular web page. Thanks for the help. I welcome any other suggestions that might work.