|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
1. Background
Finally, I made an animated favicon on my site. 2. Problems It is an animated rotating globe, but
Favicon - Wikipedia, the free encyclopedia "Introduction and standardization The original means of defining a favicon, introduced in Internet Explorer 5, was by placing a file called favicon.ico in the root directory of a web server.[2] This would then automatically be used in Internet Explorer's favorites (bookmarks) display. Later, however, a more flexible system was created using HTML to indicate the location of an icon for any given page. This is achieved by adding a link element to the <head> section of the document as detailed below. In this way any appropriately sized (16×16 pixels or larger) image can be used and, although many still use the ICO format, other browsers (though notably not Microsoft's Internet Explorer) now also support the PNG and animated GIF image formats". 4. HTML markup HTML Code:
<link rel="icon" type="image/gif" href="styling/remote_a.gif">
5. Isn't there better standard / solution that
|
|
||||
|
Well, you could always configure the browser to feed off Google's massive favicon database.
Use this URL: http://www.google.com/s2/favicons?domain=somdomain.tld This will retrieve the favicon for basically every domain in Google's database. Want to set up your site so it automatically precedes links with the favicon for the domain? Try the following: Code:
<a href="http://www.webproworld.com"><img src="http://www.google.com/s2/favicons?domain=www.webproworld.com" /> Web Pro World</a> However, animated GIF files are going to be difficult. Don't forget, GIF is a closed format, and many browser makers don't want to pay to license a technology for use in a free product. Rendering GIF files on page is often done by calling a library in the rendering engine or the underlying operating system. However, this may not be possible for icons displayed in the browser's own GUI. The same thing goes for enabling alteration of the browser's GUI elements through Javascript or CSS. The favicon is not generally thought of as a design or style element, it is usually considered an associated media file. Having it defined in CSS is probably not appropriate. A more appropriate method may be the use of a header tag (not a head tag, a server response header) which can be defined site-wide or just for specific directories.
__________________
The best way to learn anything, is to question everything. Last edited by wige; 02-20-2009 at 01:25 PM. |
|
||||
|
Kgun, not all browsers support animated favicons.
You'll need to specify the animated and non-animated images and let the browser decide which to display. It's simple enough to do using two lines of code: HTML Code:
<link rel="shortcut icon" href="/favicon.ico"> <link rel="shortcut icon" href="/favicon.gif" type="image.gif"> In a dynamically generated page, you could use a browser detect script to write the correct tag as the page is being written to the browser. It does not matter whether or not the page is in the root of the web or a subfolder. As long as the tag is pointing to the correct location of the .ico or .gif image, it should work. .02 |
|
||||
|
if you name your favicon favicon.ico and place it in the root of your public directory most browsers 6.0 and up will pick them up:
FF Opera Safari Chrome Funny enough IE 7 latest doesn't show them anymore When you break way from the ico format and start playing with png or gif animations it doesn't work in all browsers.. if you name it favicon place it in the root AND add the HTML link I believe you get full coverage... I haven't played with the .gif and .png but could be worth a try .. see if it's the name favicon that most of them pick up on?
__________________
Ron Boyd website consulting (design, optimization, marketing) :: Follow Me: @orionsweb |
|
|||
|
Just to note: I use FireFox v2 and v3 for the Mac as well as Safari for the Mac. I clicked on your link and when the page loaded there was, for a brief two seconds what appeared to be a coffee cup surrounded on both sides by two curved arrows, static image and then a table of statistics came up and replaced it. I got that on both FF and Safari. I don't know anything about Favicons so I can't help you there but I just thought I would let you know what I saw when the page loaded. Good luck.
|
|
|||
|
I believe you have give FULL URL and not just relative path to the directory that has the icon image.
Viewing the source of your page, try changing: Code:
<link rel="icon" type="image/gif" ref="styling/remote_a.gif"> Code:
<link rel="icon" type="image/gif" ref="http://multifinanceit.com/styling/remote_a.gif"> Last edited by chillax; 02-21-2009 at 02:22 AM. Reason: Spelling mistakes :P |
|
||||
|
First of all, thank you very much for excellent feedback.
Quote:
Thank you Dubbya, much appreciated. One question. I also noted the rel="shortcut icon" attribute in some web articles. What is the main point with that attribute on the favicon? |
|
||||
|
Quote:
Microsoft and web standards. They don't always set them, even if Microsoft invented the favicon according to the Wikipedia article in my first post. Quote:
First Markup (yesterday) with this png icon: HTML Code:
<link rel="icon" type="image/png" href="favicon.png">
Second Markup (today) with this Windows Icon ICO (above png file saved as ICO - Windows Icon in IfranView): HTML Code:
<link rel="icon" type="image/ico" href="favicon.ico">
Very interesting observation: The browsers (at least Opera) has a memory (even after reloading the browser):
Will the new ICO (black background) file take effect on all pages after a while or do I have to set something in the Opera browser back to default, delete the png file http://www.oopschool.com/favicon.png or similar?
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started Last edited by kgun; 02-21-2009 at 11:16 AM. |
|
||||
|
Quote:
Worse in my personal opinion, the site is not adapted to the mobile revolution (that is now discussed in GSMA Mobile World Congress | 16-19 February 2009 | Barcelona, Spain - Homepage - much of interest happening there e.g. like mobile banking). |
|
|||
|
Hi Kgun
Further to what graphyx pointed out; the first time I loaded your page (Mac, Safari) the table took 20-30 seconds to load, although subsequently it loads almost instantly. It would be worth letting your first-time visitors know what they are waiting for, so they know it's worth the wait: I was expecting some kind of welcome animation! |
|
||||
|
The static version functions on my laptop with IE 7.
|
|
||||
|
By design, until you've cleared your cache, reloads draw from the cache, rather than from the site server, so as to give the speed increase you observe.
__________________
The Penn State Ticket Man http://www.pennstateticketman.com http://www.happyvalleytickets.com http://www.hounddogtours.com |
|
||||
|
Quote:
Quote:
Never the less I see your point. IMO opinion it is better to improve the site. Again time is a limiting factor and the technological evolution works for it.
__________________
Mini Network:: Financial information at your fingertips Learn object oriented programming where it started Last edited by kgun; 02-23-2009 at 11:45 AM. |
|
||||
|
Great, I see you've got your favicons working ok.
For anyone else coming upon this thread, here's a link to an online favicon generator. All you need to provide is the image file you'd like to convert to an icon file, and then download the files they produce (placed in a zip file that you download). There's a good amount of supporting info so you understand everything, as well as a favicon validator in case you run in to trouble. FavIcon from Pics -- how to create a favicon.ico for your website |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Favicon Tag? | frost | IT Discussion Forum | 9 | 11-19-2008 04:12 PM |
| Favicon | Curve Appeal | Graphics & Design Discussion Forum | 3 | 06-14-2007 07:54 PM |
| Anarchy or pure competition online | kgun | Domain Discussion Forum | 0 | 06-06-2007 06:36 AM |
| Favicon | souvik das | Graphics & Design Discussion Forum | 3 | 10-06-2005 01:50 PM |
| WPW favicon.ico | wednesday | WebProWorld: Guidelines/Announcements/Suggestions | 3 | 03-03-2005 04:03 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |