It appears you have not yet registered with our community. To register please click here...

DNforum.com - Domain Sales, Domain Forum, Domain Appraisals
 
Register Now!
Register Now for FREE!
Our records show you have not yet registered to our forums. To sign up for your FREE account INSTANTLY fill out the form below!

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:  
Birthday:       I agree to forum rules 

Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Scripts
Reply
 
LinkBack Thread Tools Display Modes
Old 05-31-2005, 12:00 PM   #1 (permalink)
you heard me..
 
tres's Avatar
 
Last Online: 09-16-2008 05:30 PM
iTrader: (9)
Join Date: Oct 2003
Posts: 377
DNF$: 4,570
Location: AcmeDomains.com
Country:


A bookmark link that works in firefox

This script will create a link that will add the current page to a visitors favorites / bookmark menu in both Firefox and IE.


Code:
<script language="JavaScript1.2" type="text/javascript">
function addBookmark(title,url) {
    if (window.sidebar) {
        window.sidebar.addPanel(title, url,"");
    } else if( document.all ) {
        window.external.AddFavorite( url, title);
    } else if( window.opera && window.print ) {
        return true;
    }
}
</script>

<a href="javascript:void(addBookmark('Window Title', window.location.href));">Bookmark Us</a>

Last edited by tres; 05-31-2005 at 02:41 PM.
tres is offline   Reply With Quote
Sponsored Links
Old 06-13-2005, 12:42 AM   #2 (permalink)
Administrator
 
MediaHound's Avatar
 
Name: Jarred
Last Online: Yesterday 08:49 PM
iTrader: (82)
Join Date: Feb 2004
Posts: 4,704
DNF$: 8,110
Location: Florida
Country:


Re: A bookmark link that works in firefox

thats neat, tried it with Mozilla and it works
MediaHound is offline   Reply With Quote
Old 04-11-2006, 10:53 AM   #3 (permalink)
Gold Lifetime Member
 
Last Online: 04-11-2006 11:40 AM
iTrader: (0)
Join Date: Apr 2006
Posts: 1
DNF$: 102
Location: Sweden


Re: A bookmark link that works in firefox

it works but in firefox it bookmarks it with "Load this bookmark in the sidebar" options selected.

is there somethink to change in the code to avoid this?
bugy_boy13 is offline   Reply With Quote
Old 07-24-2006, 10:51 PM   #4 (permalink)
Platinum Lifetime Member
 
bobby9101's Avatar
 
Last Online: 10-05-2008 06:19 PM
iTrader: (29)
Join Date: Jun 2005
Posts: 620
DNF$: 248


Re: A bookmark link that works in firefox

old thread i know but i have same question as above
bobby9101 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:44 AM.
Copyright @2001-2008 DNForum.com

Learn Domains
Promote Domains
Research Domains
Buy Domains
Resell Domains
Park Domains
Sell Domains
Build Domains
Host Domains
Trademark Domains
Domain Domains
manage Domains
Appraise Domains