WordPress.org

Ready to get started?Download WordPress

Forums

KN Social Slide
Facebook slide width (2 posts)

  1. ohmydayzitsdeano
    Member
    Posted 1 year ago #

    I am in the process of developing a website and have installed & activated this plugin, its great however the Facebook Social Plugin box is too wide for the slide, and help?

    http://wordpress.org/extend/plugins/kn-social-slide/

  2. aserranog
    Member
    Posted 1 year ago #

    For change that width I have changed the next files:

    ┬Ěstyle.css
    #facebook_div {width: 296px;height: 353px;overflow: hidden;}
    #facebook_left{z-index: 10005;border:2px solid #3c95d9;background-color: #fff;width:296px;height: 353px;position: fixed;left: -300px;}

    ┬Ěsocial_slide.php
    <?php if ($facebook=="on"){ ?>jQuery("#facebook_<?php echo $facebook_position; ?>").hover(function(){ jQuery(this).stop(true,false).animate({<?php echo $facebook_position; ?>: 0}, 500); },function(){ jQuery("#facebook_<?php echo $facebook_position; ?>").stop(true,false).animate({<?php echo $facebook_position; ?>: -300}, 500); });<?php } ?>

    For the problem about jQuery conglict, in the file social_slide.php I have deleted the next line
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/cjquery.min.js"></script>

    Tested in Firefox and IE8&9

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.