hello,
i want to use the tellafriend button from http://tellafriend.socialtwist.com/
this is the code i have to paste into my page.
<script type="text/javascript" src="http://cdn.socialtwist.com/2009041515377/script.js"></script>
<a class="st-taf" href="http://tellafriend.socialtwist.com:80" onclick="return false;" style="border:0;padding:0;margin:0;">
<img alt="SocialTwist Tell-a-Friend" style="border:0;padding:0;margin:0;" src="http://images.socialtwist.com/2009041515377/button.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '2009041515377', window.location, document.title)" onclick="cw(this, {id:'2009041515377', link: window.location, title: document.title });" />
</a>
when i create a simple php file in my root directory and paste the code into it, then is works realy fine. but when i paste this code into my ss template file, then the button is shown, but there is no hover action oder popup on clicking..
could is be that the tellafreind JS and the JS that is used by silverstripe does not play hand in hand? (sorry for my english^^)..
or could it be, that the .SS file makes the code worse?
can someone help?
(your can just paste this code into a local "sfjhsklfjdsklfjdsf.html" file to see what is does ;) )
i tried to use a iframe, and it works! but the popup is just in this small area from the iframe..
greetz!