4.Oct.2007 at 6:43 am | Sunny
Breast Cancer Awareness Pink Ribbon Script
October is “Breast Cancer Awareness Month”, I might be a few days late, but I thought I will share the Java for the pink ribbon that is pinned to the right end of my site. The variables you might have to change are the left margin (currently set at 750px) to ensure it fits your site width and the “nofollow” tag, which I included as optional tag just in case you are not sure of the site you are linking to. I have included the GIF for the script from my Photobucket account, feel free to download it and use it as needed, if you need the PSD file let me know.
<script type="text/javascript">document.write('<div style="position:absolute;top:0px;left:750px;height:75px;width:50px"> <img src="http://i71.photobucket.com/albums/i136/headsetop/ribbonpin.gif" mce_src="http://i71.photobucket.com/albums/i136/headsetop/ribbonpin.gif" alt="breast cancer awareness month pink ribbon"
width="50" height="75" border="0" usemap="#aware"></div>' + '<map name="aware"> <area shape="poly" coords="0,0,0,75,50,75" href="http://www.nbcam.org/" mce_href="http://www.nbcam.org/" title="breast cancer awareness month" target="_blank" rel="nofollow"></map>')</script>
You are free to use this script as needed for any floating banner by simply changing the image, it’s properties and the URI.





1. Edmund | October 5, 2007 #
Hi, (me stupid!)
Where should I put this in my wordpress files? Header.php, index.php? or ?
Thanks,
Ed