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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Addthis button hover functionality


Go to End


3 Posts   2018 Views

Avatar
ramshackle

Community Member, 22 Posts

31 May 2010 at 8:12pm

Hi there,

Running a site in 2.3.7 and trying to put the 'addthis' button (www.addthis.com) on to the page template - can see the button fine and the hover works fine in IE8 (floatingwindow appears on hover with the options) but hover doesnt work in firefox and chrome latest versions (floating window doesnt appear). I'm guessing it's a javascript issue but I'm no developer.

Similar issue with the 'sharethis' button (www.sharethis.com)- button graphic doesnt even appear in firefox/chrome & all works fine in IE8.

Cheers for any advice

Avatar
bummzack

Community Member, 904 Posts

31 May 2010 at 11:01pm

Try to remove the <?xml version="1.0" encoding="UTF-8"?> header from your template(s). Most likely these scripts use the "document.write" method which doesn't work with an XML document.

Avatar
ramshackle

Community Member, 22 Posts

3 June 2010 at 3:00pm

Thanks Banal,

That worked, cheers!

Would removing that line have any other effect?

Thanks