Created
September 12, 2012 13:40
-
-
Save walterdavis/3706675 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<action-encoding>UTF-8</action-encoding> | |
<folder-action name="Favicon"> | |
<action-version version="0.1"> | |
Favicon | |
Copyright 2012 Walter Lee Davis | |
</action-version> | |
<action-file name="favicon" title="ICO file" keepwithhtml> | |
<value type=".ico" /> | |
</action-file> | |
<action-javascript> | |
function fwBeforeEndHead(){ | |
if(fwParameters['favicon'].fwHasFile){ | |
var theHead = fwDocument.fwTags.fwFind("head"); | |
var link = theHead.fwAdd('link', false); | |
link['rel'] = fwQuote("shortcut icon"); | |
link['type'] = fwQuote("image/x-icon"); | |
link['href'] = fwQuote(fwParameters['favicon'].toString()); | |
theHead.fwAddRawOpt(); | |
} | |
} | |
</action-javascript> | |
</folder-action> | |
<page-action name="Favicon"> | |
<action-version version="0.1"> | |
Favicon | |
Copyright 2012 Walter Lee Davis | |
</action-version> | |
<action-file name="favicon" title="ICO file" keepwithhtml> | |
<value type=".ico" /> | |
</action-file> | |
<action-javascript> | |
function fwBeforeEndHead(){ | |
if(fwParameters['favicon'].fwHasFile){ | |
var theHead = fwDocument.fwTags.fwFind("head"); | |
var link = theHead.fwAdd('link', false); | |
link['rel'] = fwQuote("shortcut icon"); | |
link['type'] = fwQuote("image/x-icon"); | |
link['href'] = fwQuote(fwParameters['favicon'].toString()); | |
theHead.fwAddRawOpt(); | |
} | |
} | |
</action-javascript> | |
</page-action> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment