Click to See Complete Forum and Search --> : A question about favicons


aommaster
12-03-2003, 01:12 AM
www.dragonslair.co.nr

Have a look at the homepage. There is supposed to be a favicon on the page. WHY ISN'T IT COMING UP!!:). I have tried everything but nothing seems to work. Perhaps someone could look at the source of the page and tell me what was wrong.

jochem
12-03-2003, 03:29 AM
1. Make sure you place your 16x16 pix "Favicon.ico" in every single folder that contains HTML files.
2. Place this code in the <head> of each HTML page: <link rel="shortcut icon" href="favicon.ico">
3. The icon will only show after you have added the site to your favorites.

Cheers, Jochem :cool:

aommaster
12-03-2003, 07:10 AM
I have tried to add the page to the favourites but i doesnt work :)

Well, I only have one directory. The only other directory i have is an images directory that is blank (god knows why i havent deleted it yet!!!) so i think the first point is ruled out.

For the second point, do i really HAVE to put the code on every single page, what if i wanted it to work for the hompage only?

pyro
12-03-2003, 07:30 AM
1 and 2 could be written like this, to make it easier:

1. Place your 16x16 pix "favicon.ico" in your root directory
2. Place this code in the <head> of each HTML page you want the icon to appear on: <link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon">

aommaster
12-03-2003, 07:43 AM
ok
ill try it
then ill reply, but i dont think it will be up until tomorrow, so u guys can chill out a litle bit :cool: :D

aommaster
12-04-2003, 01:35 AM
I don't seem to be very good at html. I'll give you the information about the icon and the website, then, can u generte for me the code i need to use?

Ok

The webiste address is :http://dragonslair.europe.webmatrixhosting.net

The icon name is favicon.ico and is placed in the root directory

The address of the favicon is:http://dragonslair.europe.webmatrixhosting.net/favicon.ico

so, can u please generate the code for me??:)

aommaster
12-04-2003, 01:51 AM
I tried what u said and it worked.

Now, another problem has arisen.

The favicon is only visible when you access the site directly which is dragonslair.europe.webmatrixhosting.net

If the site is accessed with dragonslair.co.nr it doesnt work, how should i solve it???

pyro
12-04-2003, 07:37 AM
Upload the favicon and insert the <link> tag on the pages at the other domain...

aommaster
12-04-2003, 09:42 AM
I dont think that will work :rolleyes: because the domain is a mask which redirects you to the actual site :D

pyro
12-04-2003, 09:51 AM
I couldn't see where you inserted this code on your pages:

<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon">

Paul Jr
12-04-2003, 12:11 PM
I also visited the page and was not able to pick out where the link was.


But, I saw this, and I was wondering what it was. I have seen this exact thing on another site.


<!--[if !mso]>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
.shape { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>

<body bgcolor="#000000" text="#FFFFFF">

<p align="center"><!--[if gte vml 1]><v:shapetype id="_x0000_t136"
coordsize="21600,21600" o:spt="136" adj="10800" path="m@7,l@8,m@5,21600l@6,21600e">
<v:formulas>
<v:f eqn="sum #0 0 10800"/>
<v:f eqn="prod #0 2 1"/>
<v:f eqn="sum 21600 0 @1"/>
<v:f eqn="sum 0 0 @2"/>
<v:f eqn="sum 21600 0 @3"/>
<v:f eqn="if @0 @3 0"/>
<v:f eqn="if @0 21600 @1"/>
<v:f eqn="if @0 0 @2"/>
<v:f eqn="if @0 @4 21600"/>
<v:f eqn="mid @5 @6"/>
<v:f eqn="mid @8 @5"/>
<v:f eqn="mid @7 @8"/>
<v:f eqn="mid @6 @7"/>
<v:f eqn="sum @6 0 @5"/>
</v:formulas>
<v:path textpathok="t" o:connecttype="custom" o:connectlocs="@9,0;@10,10800;@11,21600;@12,10800"
o:connectangles="270,180,90,0"/>
<v:textpath on="t" fitshape="t"/>
<v:handles>
<v:h position="#0,bottomRight" xrange="6629,14971"/>
</v:handles>
<o:lock v:ext="edit" text="t" shapetype="t"/>
</v:shapetype><v:shape id="_x0000_s1025" type="#_x0000_t136" style='width:191.25pt;
height:45pt' fillcolor="yellow" stroked="f">
<v:fill color2="#f93" angle="-135" focusposition=".5,.5" focussize="" focus="100%"
type="gradientRadial">
<o:fill v:ext="view" type="gradientCenter"/>
</v:fill>
<v:shadow on="t" color="silver" opacity="52429f"/>
<v:textpath style='font-family:"Impact";v-text-kern:t' trim="t" fitpath="t"
string="Dragon's Lair"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=258 height=63
src="Index_files/image001.gif" alt="Dragon's Lair" v:shapes="_x0000_s1025"><![endif]></p>


The only other site I have seen this at is www.gorillapc.net

Robert Wellock
12-04-2003, 12:44 PM
Looks live Vector Markup Language.

aommaster
12-05-2003, 12:07 AM
Ok. I think i need to give a detailed explanantion. Well, i have signed up for this domain masking service. Where you get a domain and when people open that doamin, they are redirected to my actual site as it is nearly impossible to remember :D

So that is why the favicon wont show up. Now i need a way for it to show up

I didnt need to insert the favicon code as i had the access to the actual root directory

It looks like the domain but it isn't as i have anbled them to hide the real site name

As for the code you showed me on the site, I have ABSOLUTELY no idea what it is for. By the way, i am totally rubish at html and javascript so don't ask me questions about it :D

I hope this gives u guys some information. ;)

jochem
12-05-2003, 12:15 AM
Get yourself a decent domain name! The free webspace that comes with your email account is not to be used for anything more serious than showing your holiday pix to some friends. Registration and hosting of a real domain won't cost you a lot and it saves you the hassle.

Cheers, Jochem :cool:

aommaster
12-05-2003, 12:18 AM
Actually, it didnt come with my email :) . I signed up for it. hmmm.... There must be a way to do it. I just cant find one :D . ITs ok anyway,it not really that important. I just do it so that i know how to

aommaster
12-05-2003, 12:30 AM
hmmm..... I seem to have found something. Look:

1.When i turn the cloaking off i.e. when it shows u the ACTUAL url, the favicon appears.

2. Then i turn the cloaking back on again, it doesn't have any effect on it, you will still see the actual url but the favicon does not appear.

Refreshing does not work. You will have to clear the CACHE, the COOKIES AND the HISTORY ot make it work again

I wonder what could be causing this:confused:

pyro
12-05-2003, 06:58 AM
Try inserting the <link> code that was given above.

aommaster
12-06-2003, 10:24 AM
but, as i said before, its just domain masking. Its not realyl important anyways, just to know