Home


Pecobians.com
Excellence is our Patent - Try Pirating!
icon in the nav bar
Groupie
Groupie

Joined:14 Feb 2005
Posts:214
Location:P.3.C.
                
Status: Offline
hey guyz ..
how can i get a custom icon in the nav bar ...
jus like the small pec logo that showz up in firefox for this site ...
Site Admin
Site Admin

Joined:30 Jan 2005
Posts:320
Location:Meta Parking
                
Status: Offline
Make an icon file (16*16 pixels) & name it favicon.ico
Drop it in your root directory & the browsers will automatically detect it.

You can also add this code to the header if you want.
Code:
<link rel="shortcut icon"
          href="favicon.ico">


PS
This site may help in creating the icon file.
Groupie
Groupie

Joined:14 Feb 2005
Posts:214
Location:P.3.C.
                
Status: Offline
cool ... !! it works ..
thanks a lot LP ..
The Acid Tongue
The Acid Tongue

Joined:03 Feb 2005
Posts:1080
Location:2199 A.D. - The Time Machine Broke Down
                
Status: Offline
Does it work for CDs ?

I mean if i burn a cd with favicon.ico in the root directory (of the cd, ofcourse!) Does it show up instead of the normal CD-ROM icon?
Moderator
Moderator

Joined:11 Feb 2005
Posts:1086
Location:Gurgaon
                
Status: Offline
For CDs, I think u can use the autorun.inf for that..
just add the lines
"[autorun]
icon=xyz.ico"
to the file..This should work i think
All times are GMT + 5.5 Hours  
Page 1 of 1