| 1 |
/* $Id: README.txt,v 1.6 2008/02/20 23:02:56 sun Exp $ */
|
| 2 |
|
| 3 |
-- SUMMARY --
|
| 4 |
|
| 5 |
sIFR is a web technology that uses Flash and javascript to render html text
|
| 6 |
using font files provided by the web server. It is totally standards compliant
|
| 7 |
and provides great advantages over the text-inside-a-graphic design "tricks" of
|
| 8 |
the past. This module provides a very easy, user-friendly interface for
|
| 9 |
implementing sIFR quickly on any Drupal site without requiring any adjustments
|
| 10 |
to the site theme.
|
| 11 |
|
| 12 |
For a full description visit the project page:
|
| 13 |
http://drupal.org/project/sifr
|
| 14 |
Bug reports, feature suggestions and latest developments:
|
| 15 |
http://drupal.org/project/issues/sifr
|
| 16 |
|
| 17 |
|
| 18 |
-- REQUIREMENTS --
|
| 19 |
|
| 20 |
None.
|
| 21 |
|
| 22 |
|
| 23 |
-- INSTALLATION --
|
| 24 |
|
| 25 |
* Copy sifr module to your modules directory and enable it on the admin
|
| 26 |
modules page.
|
| 27 |
|
| 28 |
* Create a sub-folder "sifr" in the module folder of sifr, i.e. modules/sifr/sifr.
|
| 29 |
|
| 30 |
* Download sifr from http://novemberborn.net/sifr
|
| 31 |
|
| 32 |
* Copy the following files of that archive into modules/sifr/sifr:
|
| 33 |
|
| 34 |
- sifr.js
|
| 35 |
- sifr-addons.js
|
| 36 |
- sIFR-print.css
|
| 37 |
- sIFR-screen.css
|
| 38 |
|
| 39 |
|
| 40 |
-- CONFIGURATION --
|
| 41 |
|
| 42 |
* Upload your .swf font files at admin/settings/sifr/manage
|
| 43 |
|
| 44 |
* Create replacement rules to apply for each font file at
|
| 45 |
admin/settings/sifr/addrule
|
| 46 |
|
| 47 |
|
| 48 |
-- TROUBLESHOOTING --
|
| 49 |
|
| 50 |
* Always choose CSS selectors as specific as possible. Instead of just
|
| 51 |
|
| 52 |
'li a'
|
| 53 |
use
|
| 54 |
'#header ul.primary-links a' (or similar)
|
| 55 |
|
| 56 |
for your rules.
|
| 57 |
|
| 58 |
* Rule weight is important. A text element in your website is replaced only
|
| 59 |
once. If you want to replace certain elements that are already covered by
|
| 60 |
another rule, the rule replacing those certain elements has to come first.
|
| 61 |
|
| 62 |
* If you experience weird font sizings and other presentation 'bugs' try
|
| 63 |
altering your stylesheets and sifr settings for
|
| 64 |
|
| 65 |
font-size, padding, margin, line-height
|
| 66 |
|
| 67 |
* If text elements are prepended with sifr fonts but not replaced, check if your
|
| 68 |
stylesheets were properly loaded (by observing HTML Header) and if you are
|
| 69 |
overwriting 'visibility' somewhere in your theme.
|
| 70 |
|
| 71 |
* Further help and support for sIFR JavaScript may be found at
|
| 72 |
- http://novemberborn.net/sifr
|
| 73 |
- http://www.mikeindustries.com/sifr
|
| 74 |
- http://wiki.novemberborn.net/sifr/
|
| 75 |
- http://forum.textdrive.com/viewforum.php?id=20
|
| 76 |
|
| 77 |
|
| 78 |
-- NOTES --
|
| 79 |
|
| 80 |
* Please read the (very easy) sIFR documentation included in the download
|
| 81 |
package about creating your own custom sIFR fonts (requires Macromedia/Adobe
|
| 82 |
Flash).
|
| 83 |
|
| 84 |
* Remember to check copyright / font licenses in front of publishing a font in
|
| 85 |
the web.
|
| 86 |
|
| 87 |
|
| 88 |
-- FAQ --
|
| 89 |
|
| 90 |
Q: Why do sIFR links open in a new window instead of the current (_self)?
|
| 91 |
|
| 92 |
A: This seems to be a bug in the sIFR Action Script. If you still experience
|
| 93 |
this bug and you are using the latest sIFR version available on
|
| 94 |
http://www.mikeindustries.com/sifr/, you need to
|
| 95 |
- alter the file dont_customize_me.as as described here
|
| 96 |
- and re-create your sIFR fonts.
|
| 97 |
|
| 98 |
In line 26 change:
|
| 99 |
<code>
|
| 100 |
function launchURL (index) {
|
| 101 |
launchURL_anchor = eval("sifr_url_"+index);
|
| 102 |
launchURL_target = eval("sifr_url_"+index+"_target");
|
| 103 |
getURL(launchURL_anchor,launchURL_target);
|
| 104 |
}
|
| 105 |
</code>
|
| 106 |
|
| 107 |
To:
|
| 108 |
<code>
|
| 109 |
function launchURL (index) {
|
| 110 |
launchURL_anchor = eval("sifr_url_"+index);
|
| 111 |
launchURL_target = eval("sifr_url_"+index+"_target");
|
| 112 |
if ( launchURL_target != undefined ) {
|
| 113 |
getURL(launchURL_anchor,launchURL_target);
|
| 114 |
}
|
| 115 |
else {
|
| 116 |
getURL(launchURL_anchor);
|
| 117 |
}
|
| 118 |
}
|
| 119 |
</code>
|
| 120 |
|
| 121 |
|
| 122 |
-- CONTACT --
|
| 123 |
|
| 124 |
Current maintainers:
|
| 125 |
* Daniel F. Kudwien (sun) - dev@unleashedmind.com
|
| 126 |
|
| 127 |
Previous maintainers:
|
| 128 |
* Jeff Robbins (jjeff) - www.jjeff.com
|
| 129 |
|
| 130 |
This project has been sponsored by:
|
| 131 |
* UNLEASHED MIND
|
| 132 |
Specialized in consulting and planning of Drupal powered sites, UNLEASHED
|
| 133 |
MIND offers installation, development, theming, customization, and hosting
|
| 134 |
to get you started. Visit http://www.unleashedmind.com for more information.
|
| 135 |
|
| 136 |
* Bryght
|
| 137 |
Visit http://www.bryght.com for more information.
|
| 138 |
|