1 site, unlimited servers No source distribution Non-commercial use only Can modify source Read full license
1 site, unlimited servers No source distribution Commercial use allowed Can modify source Read full license
1 site, unlimited servers No source distribution Commercial use allowed Can modify source Read full license
Starting from FREE
Adding SocialNetwork Tabs to your Website: jDrawer plugin allows to you add tabs in the left or the right side of the web pages
Unzip jDrawer.zip.
Copy jDrawer folder and jDrawerTest.html into document root folder (into the root or in a subfolder), for example: C:/wamp/www/ or
C:/wamp/www/mysubfolder/
Open your browser and enter the url to access to test.html for example: http://localhost/jDrawerTest.html or http://localhost/mysubfolder/jDrawerTest.html
Making jDrawerTest.html:
Version 2.0:
Include this code into your head tag:
<script type="text/javascript" src="jDrawer/jDrawerInit.js"></script>
Call jDrawer function to insert the social tabs : Include this code before close body tag:
$(document).ready(function()
{
$.jDrawer(
{
align : "top",/* drawer alignment: left,right,top,bottom*/
twitter : true,/* show twitter tab*/
facebook : false,/*show facebook tab*/
youtube : false,/*show youtube tab*/
twitter_screen_name : "alexanderwebdev",/*Twitter screen name*/
twitter_count : 5,/*Maximum of Tweets to show in tab*/
height:300
});
$.jDrawer(
{
align : "left",
twitter : false,
facebook : false,
youtube : true,
youtube_user_name : "acruzcontreraswebdev",
height:600
});
});
Version 1.x:
Include this code into your head tag:
<link href="jDrawer/jDrawer.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jDrawer/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="jDrawer/jDrawer.js"></script>
Include divs to render tabs:
<div class="drawerleft"></div>
<div class="drawerright"></div>
Call jDrawer function from the object where social tabs will be inserted (In this example are two divs: div.drawerleft and div.drawerright): Include this code before close body tag:
$(document).ready(function()
{
$(".drawerright").jDrawer(
{
align : "right",/* drawer alignment: left,right*/
twitter : true,/* show twitter tab*/
facebook : true,/*show facebook tab*/
youtube : false,/*show youtube tab*/
twitter_screen_name : "alexanderwebdev",/*Twitter screen name*/
twitter_count : 5,/*Maximum of Tweets to show in tab*/
facebook_profile_id : "alexander.webdeveloper",/*facebook profile id or profile alias*/
height:300
});
$(".drawerleft").jDrawer(
{
align : "left",
twitter : false,
facebook : false,
youtube : true,
youtube_user_name : "acruzcontreraswebdev",
height:600
});
});
Demo works straight out of the box, so I assume that code quality is good. Seems like a very handy addition to any website.- Ken Lyle, 6 months ago
Starting from FREE
Questions & Comments
5 months ago
5 months ago
Leave a comment
Log-in now or register for a free account.