WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Inviter (1 post)

  1. gulliver
    Member
    Posted 1 year ago #

    I've been trialing the Facebook Inviter plugin which adds a widget.

    It clashes with my css, and rather than code a workaround I'm wondering if I can't simply remove the plugin and instead just hardcode the output it generated and simply modify if for my css?

    <script src="http://connect.facebook.net/en_US/all.js"></script>
    	<script>
    	FB.init({
    	appId:'[id removed]',
    	cookie:true,
    	status:true,
    	frictionlessRequests:true,
    	xfbml:true
    	});
    	function FacebookInviteFriends()
    	{
    	FB.ui({
    	method: 'apprequests',
    	title: 'Tell your friends about [removed].',
    	message: '[message removed]'
    	});
    	}
    	</script>
    	<div id="fib-container" style="text-align:center;">
    	<span class="fbfriendsinviter">
    
    	    <a class="fiblinkimage" href="#" onclick="FacebookInviteFriends();" title="message removed"><img src="[removed]" alt="" style="width:auto;"></a>
    	</span>
    	</div>
    	<script type='text/javascript'>
    	if (top.location!= self.location)
    	{
    	top.location = self.location
    	}
    	</script>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.