Add Reflections to bbPress Images
-
Originally posted at http://forum.blandname.com/topic/11
Using http://cow.neondragon.net/stuff/reflection/ I was able to add reflection to the blandname bbPress theme.
Here’s how it works:
You’ll need two files to make this happen.
- the famed prototype.js – http://prototype.conio.net/dist/prototype-1.4.0.js
- reflection.js – http://cow.neondragon.net/stuff/reflection/reflection.zip
Put both files in either /my-templates or /bb-templates, CHMOD them to 755, and edit your header.php file accordingly.
In my case:
<script type="text/javascript" src="/my-templates/reflection.js"></script>
<script type="text/javascript" src="/my-templates/prototype.js"></script>
Was added before the last div tag in the header.php file.
In order to make the reflection work, make sure to add
class="reflect"
to any img tags you wish to have reflecting and looking all mac daddy cool.
- You must be logged in to reply to this topic.