Beta Version - Still a work in progress. Use at own risk.
Find and replace text node instances of Gyrotonic/Gyrokinesis in a web page and replace with the correct brand styles required by Gyrotonic Sales Group.
-
Download the script below and save it to your website
-
Reference the script in the or of your website after jQuery is already loaded
<script src="/js/jquery.gyroTrademark.js"></script>
-
By default the script doesn't use inline CSS to style the text instances. So, you'll need to add the CSS below to your stylesheets already serving your website.
-
Call our javascript plugin after both the plugin script and jQuery are loaded. It's safe to put it just before your closing
</body>
tag:
<script>
(function($){
$(document).ready(function() {
$("body").gyroTrademark();
});
})(jQuery);
</script>
-
If you *want to use inline styles over CSS just change where you call your plugin to:
$("body").gyroTrademark({inlineStyles: true});