Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member kade119's Avatar
    Join Date
    Feb 2007
    Location
    USA
    Posts
    532
    Member #
    14888
    Liked
    1 times
    is it based in javascript only to do this?

  2.  

  3. #2
    Junior Member Dr. Jewels's Avatar
    Join Date
    Sep 2007
    Location
    Columbus Ohio
    Posts
    3
    Member #
    15786
    Hello!
    Please, read the following, I believe it will answer your question.
    How to create a Favorites icon


    If you have ever visited sites such as Yahoo and added them as a favorite, you would have noticed that the icon is very different to other bookmarks in your list. This is a very simple feature to implement.
    Special Note: Some hosting services don't support Favorites icons. I discovered this when we moved from one server to another. If this should occur to you, contact your web host and ask them to enable .ico support. If they don't/won't/can't; there is a workaround you can use below. Creating your own Favorites icon.


    Method 1:
    • Create a new image 16x16 pixels in your favorite graphics program.
    • Drop the number of colors on the palette to 16
    • Create your graphic (okay, I know-16x16 pixels doesn't give you much room to be creative!)
    • Save it as a gif.
    Then, use an image viewer such as Irfan View (freeware) that has the capability of converting image files to the .ico format.
    After opening the gif file in Irfan View, save it as favicon.ico in the root directory of your web and publish to your server. Then test it out by adding your site to your Favorites. It should work regardless of the page you are on. Done!
    Method 2
    Use a dedicated icon editor program. If you need an icon editor, you can download a great freeware program called IconEdit 32 here.
    IconEdit32 allows you to create, import, edit, and save 16X16, 32X32, and 48X48 icons in 2, 16, or 256 colors.
    • Open IconEdit32
    • Go to "File", select "New"
    • Got to "Images", select 16x16, 16 color
    • Create your icon
    • Save it to the root directory of your web as favicon.ico
    Then publish the file to your server.. that's all there is to it. Test it out by going to your site and adding it to your Bookmarks/Favorites. The file size is very small, so it won't annoy your visitors.
    In the unlikely event that your hosting service doesn't support .ico files; you can use this workaround - just put a copy of the favicon on a different server - perhaps the free space that you usually get with a standard ISP account. Then, add the following tag between the <head> and </head> files of your pages:
    <link rel="shortcut icon" HREF="http://www.domain.com/favicon.ico">
    ... with domain.com point to the alternate location of the Favorites icon file. Creating a bookmarking script

    Now you have your very own Favorites icon, you'll also want to encourage people to add you to their bookmarks. Even though adding a site to a bookmarks/favorites list is a very simple task, people need to be prompted at times - and the best way to get them to add you is to make it as *easy* as possible for them to do so by creating "bookmark me now" type links place strategically throughout your content.
    Here is a simple cross-broser compatible script you can use:
    Bookmarking script
    <script LANGUAGE="JavaScript">
    // Free for Redistribution. Copyright (c) Michael Bloch & TAMINGTHEBEAST.NET
    // Please do not remove these comments. This script can be use within tables.
    // Suitable for most browsers. Copy and paste into appropriate area between
    // the <body> and </body> tags in your page source HTML.
    // further details including how to create a custom favorites icon to
    // make this bookmarking script even more effective is available at:
    // http://www.qualityxpressgraphix.com
    // Visit Quality Xpress Graphix Located in Columbus, Ohio for other great marketing tools and articles!
    if ((navigator.appName == "Microsoft Internet Explorer")
    && (parseInt(navigator.appVersion) >= 4))
    {
    document.write('<A HREF="javascript:window.external.AddFavorite(windo w.location, document.title);"');
    document.write('<small>Bookmark this page!</small><br></a>');}
    else {
    var msg = "<b>Bookmark this page!</b>";
    if(navigator.appName == "Netscape") msg += " <b> - press(Ctrl-D) on your keyboard.</b>";
    document.write(msg);
    }
    </script>

    I hope this informatin is valuable to you. Have a good one!
    Dr. Jewels


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:25 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com