Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

tellafriend.socialtwist.com PROBLEM :(


Reply


2 Posts   1705 Views

Avatar
SalvaStripe

Community Member, 89 Posts

15 April 2009 at 8:08pm

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!

Avatar
SalvaStripe

Community Member, 89 Posts

16 April 2009 at 1:07am

I updated my complete project from ss2.2.3 to ss2.3.1 and now the hover effect works fine. ;)

------> closed <------