Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: I Need a Code

  1. #11
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,167
    Thanks
    44
    Thanked 3,240 Times in 3,201 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by mburt View Post
    I've seen it work in plenty of websites, and it works for FF and IE.
    Check out www.GameWinners.com
    They even have Ctrl+D enabled to activate.
    Which code?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. #12
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    808
    Thanks
    87
    Thanked 2 Times in 2 Posts

    Default

    Code:
    <SCRIPT LANGUAGE="javascript">
    if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0")
    {document.write("<SPAN STYLE='cursor:hand' onClick='window.external.AddFavorite(location.href, document.title);'><FONT COLOR=#CC0000 FACE='verdana,arial,helvetica,sans-serif' size=1><B><U>ADD US TO YOUR FAVORITES</U></B></FONT></SPAN>")}
    else
    {document.write("<FONT COLOR=#CC0000 FACE='verdana,arial,helvetica,sans-serif' size=1><B>PRESS CTRL-D TO BOOKMARK OUR SITE</B></FONT>")}
    
    </SCRIPT>

  3. #13
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,167
    Thanks
    44
    Thanked 3,240 Times in 3,201 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by chechu View Post
    Code:
    <SCRIPT LANGUAGE="javascript">
    if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0")
    {document.write("<SPAN STYLE='cursor:hand' onClick='window.external.AddFavorite(location.href, document.title);'><FONT COLOR=#CC0000 FACE='verdana,arial,helvetica,sans-serif' size=1><B><U>ADD US TO YOUR FAVORITES</U></B></FONT></SPAN>")}
    else
    {document.write("<FONT COLOR=#CC0000 FACE='verdana,arial,helvetica,sans-serif' size=1><B>PRESS CTRL-D TO BOOKMARK OUR SITE</B></FONT>")}
    
    </SCRIPT>
    I rest my case, window.external is for IE only and:

    Quote Originally Posted by chechu View Post
    Or just this ?
    Code:
    <a href=":%20Add%20to%20my%20favorites%20folder" onClick="window.external.AddFavorite(&quot;yoursite.com&quot;,&quot;nameofsite&quot;);return false">bookmark this site</a>
    was the code at issue originally. It has no fall back and nothing to prevent other browsers from throwing an error when they encounter it. The DD script will make a bookmark of sorts in FF and some other Gecko based browsers, as well as bookmark in IE. My real point though, was that the user may bookmark at any time and doesn't really need help.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #14
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    808
    Thanks
    87
    Thanked 2 Times in 2 Posts

    Default

    Of course the user can bookmark the page at any time, but this is a sales trigger, getting closer to the customer, familiarising. Interactivity boosts sales.

  5. #15
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,167
    Thanks
    44
    Thanked 3,240 Times in 3,201 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by chechu View Post
    Of course the user can bookmark the page at any time, but this is a sales trigger, getting closer to the customer, familiarising. Interactivity boosts sales.
    Sales are certainly not aided by code that doesn't work and especially not by code that throws errors. I also am not convinced that working code of this type would help sales. It might alienate as many, if not more, potential customers than it would facilitate. Many folks find it obnoxious when a site starts trying to manage things that they are perfectly capable of deciding upon and executing themselves if the want to. It can be seen as pushy, a sign that the seller and/or the site is not to be trusted.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •