The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
When saving favorites in the IE browser, some sites display a small icon next to the saved link.
How does one enable their own site to show an icon when saved in someone's browser?
For example, this site, Snitz, has a little "SF" logo next to the saved link on my computer.<
How does one enable their own site to show an icon when saved in someone's browser?
For example, this site, Snitz, has a little "SF" logo next to the saved link on my computer.<
Postet den
That is a favicon.
You can make your own favicon here:
http://tools.dynamicdrive.com/favicon/
You should use a perfectly square picture.
It also tells you how to add it to your site.
One thing to note is that the file MUST be called favicon.ico. Otherwise it will not show up. It also should go in your root directory.<
You can make your own favicon here:
http://tools.dynamicdrive.com/favicon/
You should use a perfectly square picture.
It also tells you how to add it to your site.
One thing to note is that the file MUST be called favicon.ico. Otherwise it will not show up. It also should go in your root directory.<
Sist redigert av
Postet den
Thanks!<
Postet den
Simply uploading a file called favicon.ico is not enough, you'll also need to add the following line to the head of your page:
<link href="/favicon.ico" rel="icon" type="image/ico" />
<
Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
<link href="/favicon.ico" rel="icon" type="image/ico" />
<
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Postet den
Shaggy, I have already created one and added it to my website; however I cannot seem to figure out how to get it added to my Forum page. I am using the access ver. of Snitz not SQL. I can't seem to figure out which one of the files needs to be edited. If I try to edit the login.asp file I get a compile error. Any help would be appreciated.<
Postet den
You want to add that to your header.asp file. Somewhere between the <head></head> tags.<
Postet den
JJenson, there are well over 10 head open and closing tags. If I place the code between the first set of head tags I get the compile error again. Any ideas??
Justin<
Justin<
Postet den
Then you have a problem, as in inc_header.asp there are only two sets of <head> tags - the first set is for an error message, and the second set is for the actual pages. You are going to want to include it in the second set.<
Postet den
AnonJr, good to see you again, has been a while.
If I go to the second set of head tags I see the following...
"<head>" & vbNewline & _
"<title>" & GetNewTitle(strScriptName) & "</title>" & vbNewline
+++++++++++++++
'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
Response.Write "<meta name=""copyright"" content=""This Forum code is Copyright (C) 2000-06 Michael Anderson, Pierre Gorissen, Huw Reddick and Richard Kinser, Non-Forum Related code is Copyright (C) " & strCopyright & """>" & vbNewline
'## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
Response.Write "<script language=""JavaScript"" type=""text/javascript"">" & vbNewLine & _
"<!-- hide from JavaScript-challenged browsers" & vbNewLine & _
Just a snippet. If I place the code where the +++++ signs are this is when I get the error message. What am I missing?
Justin
<
If I go to the second set of head tags I see the following...
"<head>" & vbNewline & _
"<title>" & GetNewTitle(strScriptName) & "</title>" & vbNewline
+++++++++++++++
'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
Response.Write "<meta name=""copyright"" content=""This Forum code is Copyright (C) 2000-06 Michael Anderson, Pierre Gorissen, Huw Reddick and Richard Kinser, Non-Forum Related code is Copyright (C) " & strCopyright & """>" & vbNewline
'## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
Response.Write "<script language=""JavaScript"" type=""text/javascript"">" & vbNewLine & _
"<!-- hide from JavaScript-challenged browsers" & vbNewLine & _
Just a snippet. If I place the code where the +++++ signs are this is when I get the error message. What am I missing?
Justin
<
Postet den
"Been busy" doesn't even begin to cover it...
Look at how the rest is formatted - You'll want to add it like thus:
Making sure that the href actually points to the location of your favicon, etc. as noted above.<
Look at how the rest is formatted - You'll want to add it like thus:
Code:
Response.Write "<html>" & vbNewline & vbNewline & _
"<head>" & vbNewline & _
"<title>" & GetNewTitle(strScriptName) & "</title>" & vbNewline
Response.Write "<link href=""favicon.ico"" rel=""icon"" type=""image/ico"" />"
'## START - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENT
Response.Write "<meta name=""copyright"" content=""This Forum code is Copyright (C) 2000-09 Michael Anderson, Pierre Gorissen, Huw Reddick and Richard Kinser, Non-Forum Related code is Copyright (C) " & strCopyright & """>" & vbNewline
'## END - REMOVAL, MODIFICATION OR CIRCUMVENTING THIS CODE WILL VIOLATE THE SNITZ FORUMS 2000 LICENSE AGREEMENTMaking sure that the href actually points to the location of your favicon, etc. as noted above.<
Postet den
I hear ya, but I guess on the bright side that is a great thing considering things now days. :)
Worked perfectly, I was missing the Response.Write
Thanks for your help and great to see you,
Justin<
Worked perfectly, I was missing the Response.Write
Thanks for your help and great to see you,
Justin<
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...