This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-07-14 09:22:10

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Favicon help

I have been scavenging all over the place, but no luck. How do I set up a favicon on a local HTML document? I've tried all sorts of combos of the LINK element, but nothing happened yet. And yes, I'm using a .ICO, but it's in the same directory as the document (but I'm using rel="shortcut icon").


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#2 2012-07-15 05:17:18

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Favicon help

Hardmath123 wrote:

I have been scavenging all over the place, but no luck. How do I set up a favicon on a local HTML document? I've tried all sorts of combos of the LINK element, but nothing happened yet. And yes, I'm using a .ICO, but it's in the same directory as the document (but I'm using rel="shortcut icon").

I think it has to be running on a server.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#3 2012-07-15 05:43:27

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Favicon help

nathanprocks wrote:

Hardmath123 wrote:

I have been scavenging all over the place, but no luck. How do I set up a favicon on a local HTML document? I've tried all sorts of combos of the LINK element, but nothing happened yet. And yes, I'm using a .ICO, but it's in the same directory as the document (but I'm using rel="shortcut icon").

I think it has to be running on a server.

What if the favicon is hosted but the HTML isn't?


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4 2012-07-15 06:53:41

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Favicon help

Hardmath123 wrote:

nathanprocks wrote:

Hardmath123 wrote:

I have been scavenging all over the place, but no luck. How do I set up a favicon on a local HTML document? I've tried all sorts of combos of the LINK element, but nothing happened yet. And yes, I'm using a .ICO, but it's in the same directory as the document (but I'm using rel="shortcut icon").

I think it has to be running on a server.

What if the favicon is hosted but the HTML isn't?

I don't think that would work either.

Scratch Forums wrote:

The following errors need to be corrected before the message can be posted:
At least 60 seconds have to pass between posts. Please wait a little while and try posting again.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#5 2012-07-15 13:37:26

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: Favicon help

Code:

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

should work even unhosted

Last edited by nickbrickmaster (2012-07-15 13:37:48)


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#6 2012-07-15 16:03:35

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Favicon help

Wikipedia suggests that the type attribute should possibly be "image/vnd.microsoft.icon"; but probably isn't necessary.  smile  I think you can use PNGs instead/as well, which should work in most browsers...


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

Board footer